Skip to content
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

Move HashedPostState into trie-common crate #14219

Closed
wants to merge 1 commit into from

Conversation

VeerChaurasia
Copy link
Contributor

Resolves #14208

@VeerChaurasia VeerChaurasia marked this pull request as draft February 4, 2025 19:24
@VeerChaurasia VeerChaurasia deleted the Move-state.rs branch February 4, 2025 20:21
Comment on lines +15 to +20
pub struct HashedPostState {
/// Mapping of hashed address to account info, `None` if destroyed.
pub accounts: B256HashMap<Option<Account>>,
/// Mapping of hashed address to hashed storage.
pub storages: B256HashMap<HashedStorage>,
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we want to move the entire file

perhaps state.rs -> hashedstate.rs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm working on it and will soon raise a PR for it.

@mattsse
Copy link
Collaborator

mattsse commented Feb 5, 2025

oh someone else also started on this #14230

perhaps you're interested in a different good first issue instead?

please ping if you don't find anything

@VeerChaurasia
Copy link
Contributor Author

yeah got it assigned!!Thankss

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.

Move HashedPostState into trie-common crate
2 participants