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

feat: add hybrid state management #3840

Merged
merged 1 commit into from
Apr 20, 2023
Merged

Conversation

Wodann
Copy link
Member

@Wodann Wodann commented Apr 11, 2023

  • change target branch to rethnet/main

@Wodann Wodann requested review from alcuadrado and fvictorio April 11, 2023 16:21
@Wodann Wodann self-assigned this Apr 11, 2023
@changeset-bot
Copy link

changeset-bot bot commented Apr 11, 2023

⚠️ No Changeset found

Latest commit: 0ffd269

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Apr 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 20, 2023 9:46pm
hardhat-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 20, 2023 9:46pm

hashbrown = { version = "0.13", default-features = false, features = ["ahash", "serde"] }
hasher = { git = "https://github.com/Wodann/hasher", rev = "89d3fc9", version = "0.1.4", default-features = false, features = ["hash-keccak"] }
Copy link
Member

Choose a reason for hiding this comment

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

Why the forks here?

Copy link
Member Author

Choose a reason for hiding this comment

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

To be able to clone the trie

Hybrid state management uses a Merkle-Patricia trie for the latest state
and layers for history.
@Wodann Wodann force-pushed the rethnet/hybrid-state branch from a930b58 to 0ffd269 Compare April 20, 2023 21:44
@Wodann Wodann marked this pull request as ready for review April 20, 2023 21:44
@Wodann Wodann merged commit b459e84 into rethnet/main Apr 20, 2023
@Wodann Wodann deleted the rethnet/hybrid-state branch April 20, 2023 21:46
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Optimise Rethnet to match EthereumJS runtime performance
2 participants