-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
bug(trie): invalid trie masks #12129
Comments
I saw the recent fix come in and was wondering if this also has the potential to write a bunch of dangling storage tries that never get used? I noticed there's the command |
We have tests that show the issue here #12080 |
This issue is stale because it has been open for 21 days with no activity. |
Description
Currently, we commit intermediate trie nodes with invalid trie masks (issue to be amended with the cause after investigation cc @fgimenez). This causes trie walker to have invalid stack when it calls
self.consume_node
and pushes a subnode to the stack which does not share a common prefix with the previous last node on the stack.reth/crates/trie/trie/src/walker.rs
Lines 135 to 148 in 8605d04
Once the subnode is done processing, it comes back to a previous one and returns a node key that is out of order causing has builder to panic.
Addition Info
Issue reports: #11471, #11955
The text was updated successfully, but these errors were encountered: