-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
chore: move proof types and root functions from primitives/proofs
into reth-trie-common
#8724
Conversation
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 should think about the dep graph a bit more before we rush this and introduce generics due to dependencies.
atm we have two kinds of primitive types:
- lower level types that are shared by OP and Eth, for example Account
- types that are different: Transaction/Receipt
perhaps a more reasonable approach is:
isolate 1. first (I'm fine if we temporarily moving these to the primitives-traits as well)
primitives-traits will then eventually become the new primitives
@@ -0,0 +1,117 @@ | |||
//! Common root computation functions. |
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.
this makese sense
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.
progress 🫡
#8674
reth-trie-types
toreth-trie-common
primitives/proofs
toreth-trie-common
(this is the reason for the crate renaming)AccountProof
andStorageProof
intoreth-trie-common
by usingreth-primitives-traits::Account
.