Skip to content

Conversation

@virajbhartiya
Copy link

Enforces the MPT rule that embedded nodes must RLP-encode to fewer than 32 bytes. We now check embedded subnodes in check_branch_node and check_extension_node and error if their RLP size is ≥ 32. This hardens trie validation without affecting valid tries.

Closes #1376.

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.

feat: check_branch_node and check_extension_node should check that embedded nodes have valid size

1 participant