-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
HashE (node E) from the "Patricia Merkle Trie" example is embeddable #6860
Labels
bug 🐛
Something isn't working
Status: Stale
This issue is stale because it has been open 30 days with no activity.
Comments
Thanks for reporting @weipin, @jmcook1186 could you have a look? |
This issue is stale because it has been open 45 days with no activity. |
github-actions
bot
added
the
Status: Stale
This issue is stale because it has been open 30 days with no activity.
label
Aug 15, 2022
lgaroche
added a commit
to lgaroche/ethereum-org-website
that referenced
this issue
Jan 2, 2024
lgaroche
added a commit
to lgaroche/ethereum-org-website
that referenced
this issue
Jan 2, 2024
lgaroche
added a commit
to lgaroche/ethereum-org-website
that referenced
this issue
Jan 15, 2024
lgaroche
added a commit
to lgaroche/ethereum-org-website
that referenced
this issue
Jan 15, 2024
wackerow
added a commit
that referenced
this issue
Apr 23, 2024
Correct example trie structure [Fixes #6860]
This was referenced Apr 24, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug 🐛
Something isn't working
Status: Stale
This issue is stale because it has been open 30 days with no activity.
HashE (node E) from the "Patricia Merkle Trie" example is embeddable
The current trie example lists "hashE" as a standalone extension node.
The node has a length of 31 in bytes in RLP encoding, making it actually "embeddable."
In other words, "hashE" shouldn't exist as a standalone node but be embedded in "hashD".
To Reproduce
Steps to reproduce the behavior:
Uses pyrlp to calculate the node length in bytes:
Uses py-trie to example the internal data of hashD:
Note:
b'5'
in the output above represents 0x35Expected behavior
I am new to this concept. Hope this issue makes sense and I wasn't missing anything.
May I @jmcook1186 :)
The text was updated successfully, but these errors were encountered: