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

Parse embedded short nodes #345

Merged

Conversation

frisitano
Copy link
Contributor

@frisitano frisitano commented Jun 29, 2024

This PR modifies the logic for inserting short node variants into the trie builder. The updated logic also parses branch nodes as in some instances (when a short node is less than 32 bytes) short nodes are embedded directly into the branch node.

closes: #344

@github-actions github-actions bot added the crate: mpt_trie Anything related to the mpt_trie crate. label Jun 29, 2024
Copy link
Collaborator

@Nashtare Nashtare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Nashtare Nashtare merged commit 7a4a9bb into 0xPolygonZero:develop Jul 2, 2024
13 checks passed
@Nashtare Nashtare added this to the Type 1 - Q3 2024 milestone Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: mpt_trie Anything related to the mpt_trie crate.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

rpc short node variants
2 participants