-
Notifications
You must be signed in to change notification settings - Fork 39
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
WEB3-293: feat: Add risc0-ethereum-trie
#391
base: main
Are you sure you want to change the base?
Conversation
risc0-ethereum-trie
risc0-ethereum-trie
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've started to look through this. No substantial comments so far. Did you work on this with @hashcashier? In either case, it'd be great to have Rami's review. I'm definitely lacking some understanding of the Ethereum Trie that would be required to really find issues here.
crates/trie/rustfmt.toml
Outdated
# Nightly | ||
max_width = 100 | ||
comment_width = 100 | ||
imports_granularity = "Crate" | ||
wrap_comments = true | ||
format_code_in_doc_comments = true | ||
doc_comment_code_block_width = 100 | ||
format_macro_matchers = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've generally turned off nightly features for rust fmt in other crates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is a shame, I think those settings improve readability.
I removed the nightly options, but kept the non-nightly ones because I think they add a lot to readability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very neat overhaul
This reverts commit 81bc5ab.
Co-authored-by: Victor Snyder-Graf <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving based on Rami's review
This PR introduces the new
risc0-ethereum-trie
crate consolidating all functionality related to sparse Merkle-Patricia Tries (MPT).Merge #390 first