-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit result stack #696
Limit result stack #696
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test: PASS
Successfully synced to the latest block and haven't been stuck.
invoke applicationlog for tx:0x40e171249642639be3e54dd6acfe5948b1d3f240f505e7a3403cdc9bd3e1068a
and get the expected response:
{"jsonrpc":"2.0","id":1,"result":{"txid":"0x40e171249642639be3e54dd6acfe5948b1d3f240f505e7a3403cdc9bd3e1068a","executions":[{"trigger":"Application","vmstate":"HALT","exception":null,"gasconsumed":"13053","stack":"error: max stack size reached","notifications":[]}]}}
Please check neo-project/neo#2671 |
Waiting for release neo-project/neo#2671 |
@erikzhang Merge? |
These also need update @shargon
https://github.com/neo-project/neo-gui-2.x/blob/b816efbadc9bc731bf5ccd4cb545303bd39aabfa/neo-gui/UI/InvokeContractDialog.cs#L188 neo-modules/src/RpcServer/RpcServer.Wallet.cs Line 382 in e99d099
|
Update |
@shargon Could you update these as well as config.json |
Are we going to merge this without fixing neo-modules/src/RpcServer/RpcServer.Wallet.cs and neo-modules/src/RpcServer/RpcServer.Wallet.cs? |
@erikzhang @Liaojinghui Could you have a review? |
* add invoked contract (#657) * add in file copyright (#679) * witness rule support (#676) * Prevent SSRF (#692) * limit free gas (#697) * add log when exception happens under debug mode (#690) * dbft: tune MaxBlock* parameters (#688) * Fix StateAPI.MakeFindStatesParams (#699) * update Console to ConsoleHelper (#682) * refac log (#700) * Make RpcServer.ProcessAsync public to enable better neo express integration (#701) * Limit result stack (#696) * fix MaxBlockSystemFee (#703) * code optimise (#704) * Add oracle global timeout (#698)
See neo-project/neo-modules#696. Unmarshaller is left unchanged to be compatible.
Alternative to #695
Close neo-project/neo#2666