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

fix(trie): move to sibling on invalid tree mask #12193

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

rkrasiuk
Copy link
Member

Description

Ref #12129

Closes #11471, #11955

Moves trie walker to a sibling node if the next retrieved trie node is not a child of the last node on the stack.

While this does not fix the main issue of invalid trie masks, it allows root computation to continue without panicking.

@rkrasiuk rkrasiuk added the C-bug An unexpected or incorrect behavior label Oct 30, 2024
@github-actions github-actions bot added the A-op-reth Related to Optimism and op-reth label Oct 30, 2024
@rkrasiuk rkrasiuk added A-trie Related to Merkle Patricia Trie implementation and removed A-op-reth Related to Optimism and op-reth labels Oct 30, 2024
@mattsse mattsse added this pull request to the merge queue Oct 31, 2024
@mattsse mattsse removed this pull request from the merge queue due to a manual request Oct 31, 2024
@mattsse mattsse added this pull request to the merge queue Oct 31, 2024
@mattsse mattsse removed this pull request from the merge queue due to a manual request Oct 31, 2024
@mattsse mattsse added this pull request to the merge queue Oct 31, 2024
Merged via the queue into main with commit 76c5aef Oct 31, 2024
40 checks passed
@mattsse mattsse deleted the rkrasiuk/fix-walker-on-invalid-tree-mask branch October 31, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-trie Related to Merkle Patricia Trie implementation C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OP-Reth: Base node crashes, v1.0.8, --engine.experimental
3 participants