-
Notifications
You must be signed in to change notification settings - Fork 283
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
feat: Migrate to TrieAccount
of alloy-trie
#1750
Conversation
@@ -9,8 +9,7 @@ | |||
|
|||
extern crate alloc; | |||
|
|||
mod account; | |||
pub use account::Account; | |||
pub use alloy_trie::TrieAccount as Account; |
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.
Re-exported TrieAccount
as Account
in alloy-consensus for the compatibility
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.
can we also re-export TrieAccount and mark this rename as deprecated?
TrieAccount
from alloy-trieTrieAccount
of alloy-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.
awesome, one nit
then we also want the conversion for genesis account seperately
@@ -9,8 +9,7 @@ | |||
|
|||
extern crate alloc; | |||
|
|||
mod account; | |||
pub use account::Account; | |||
pub use alloy_trie::TrieAccount as Account; |
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.
can we also re-export TrieAccount and mark this rename as deprecated?
@mattsse I just saw your comment. Thank you for handling the genesis account conversion! |
thank you! I quickly pushed this over the line because we needed a new release on reth |
Motivation
Account
has been migrated toTrieAccount
of alloy-trie in alloy-rs/trie#65Solution
PR Checklist