Skip to content
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

Merged
merged 18 commits into from
Apr 11, 2022
Merged

Conversation

shargon
Copy link
Member

@shargon shargon commented Mar 4, 2022

Alternative to #695
Close neo-project/neo#2666

superboyiii
superboyiii previously approved these changes Mar 8, 2022
Copy link
Member

@superboyiii superboyiii left a 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":[]}]}}

@superboyiii superboyiii requested a review from erikzhang March 8, 2022 08:48
@erikzhang
Copy link
Member

Please check neo-project/neo#2671

@shargon
Copy link
Member Author

shargon commented Mar 17, 2022

Waiting for release neo-project/neo#2671

superboyiii
superboyiii previously approved these changes Mar 29, 2022
@superboyiii
Copy link
Member

@erikzhang Merge?

@erikzhang
Copy link
Member

Update config.json too?

erikzhang
erikzhang previously approved these changes Apr 8, 2022
@Jim8y
Copy link
Contributor

Jim8y commented Apr 8, 2022

Are we going to merge this without fixing neo-modules/src/RpcServer/RpcServer.Wallet.cs and neo-modules/src/RpcServer/RpcServer.Wallet.cs?

@erikzhang erikzhang dismissed their stale review April 8, 2022 02:46

RpcServer.Wallet.cs should be fixed.

@superboyiii
Copy link
Member

superboyiii commented Apr 8, 2022

@erikzhang @Liaojinghui Could you have a review?

Jim8y
Jim8y previously approved these changes Apr 8, 2022
@superboyiii superboyiii merged commit 62a14eb into neo-project:develop Apr 11, 2022
@shargon shargon deleted the fix-result-stack branch April 11, 2022 08:32
erikzhang pushed a commit that referenced this pull request Apr 21, 2022
* 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)
roman-khimov added a commit to nspcc-dev/neo-go that referenced this pull request May 4, 2022
See neo-project/neo-modules#696. Unmarshaller is left unchanged to be
compatible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants