-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Refracting Needed for the Nested Nested Nested Nested Garbage Collection in NeoVM 🐌 #2528
Comments
10 gas consumed and 2 minutes cost on the test node.
|
Some nodes can do it quicker, like in 1 second:
|
I think that the best way to solve this is limit the nested nested arrays, structs and maps |
@shargon, don't give up that easy! Especially since nesting tracking is an overhead of its own. |
A |
Yes. |
Time to reconsidering neo-project/neo-vm#202 neo-project/neo-vm#230 neo-project/neo-vm#232 and #1100 |
As a complement for https://github.com/neo-project/neo/issues/2521, another DoS way is provided here:
The PR neo-project/neo-vm#416 created by @shargon 👍 quickly found the keeeeey to the problem showed in https://github.com/neo-project/neo/issues/2521 and solved the critical issue. However, it is afraid that there are still several cases that can make GC run slowly.
POC
Source Code: https://github.com/lazynode/Tanya/pull/4/files
The text was updated successfully, but these errors were encountered: