Tracking: StateCommitment
abstraction
#11830
Labels
A-sdk
Related to reth's use as a library
A-trie
Related to Merkle Patricia Trie implementation
C-enhancement
New feature or request
C-tracking-issue
An issue that collects information about a broad development initiative
M-prevent-stale
Prevents old inactive issues/PRs from being closed due to inactivity
Describe the feature
Overview
This issue will be used to plan the implementation of the
StateCommitment
implementation. TheStateCommitment
will be used to provide an abstraction over the types associated with the state commitment. This will allow reth to be used with different state representations configured by the user. Initial POC implemented here.Plan
We will implement the
StateCommitment
via the following units of work:StateCommitment
trait, integrate withNodeTypes
and provide MPT implementation. - feat: introduce StateCommitment type #11842StateCommitment
types within providers. - Introduce StateCommitment in StateProviders #12602HashedPostStateProvider
and refactor methods onHashedPostState
andPrefixSetLoader
to be generic over theKeyHasher
- IntroduceHashedPostStateProvider
#12607HashedStorageProvider
- IntroduceHashedStorageProvider
#12894KeyHasherProvider
- IntroduceKeyHasherProvider
#12895Refactor codebase to leverage
StateCommitment
types for all operations:StateRootProviderExt
and Integrate withStateCommitment
#12896Additional context
#11786
Tasks
HashedPostStateProvider
#12607HashedStorageProvider
#12894KeyHasherProvider
#12895StateRootProviderExt
and Integrate withStateCommitment
#12896The text was updated successfully, but these errors were encountered: