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

[wip] shared statedb triedb backends #578

Draft
wants to merge 23 commits into
base: coreth-001
Choose a base branch
from

Conversation

darioush
Copy link
Collaborator

@darioush darioush commented Jun 14, 2024

Summary of decisions

  • Uses runtime / global variables (gethtypes.MultiCoinEnabled) to enable RLP encoding of IsMultiCoin
  • Uses upstream *state.StateDB to implement coreth's version.
  • Uses upstream *trie.Database with coreth backends for hashdb / pathdb (this is because we have modifications compared to upstream)
  • Uses upstream packages for trie, and most of core/state
  • Supports the blockHash based snapshot that we use in coreth & subnet-evm
  • Keeps the state key normalization as the client's responsibility (we can also make this have a runtime switch if we like)
  • Shares some types with upstream

@darioush darioush changed the base branch from master to coreth-001 June 14, 2024 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog 🗄️
Development

Successfully merging this pull request may close these issues.

1 participant