Skip to content

feat: transition from &mut State<DB> -> StateDB#20113

Closed
0xForerunner wants to merge 6 commits intoparadigmxyz:mainfrom
worldcoin:state-db
Closed

feat: transition from &mut State<DB> -> StateDB#20113
0xForerunner wants to merge 6 commits intoparadigmxyz:mainfrom
worldcoin:state-db

Conversation

@0xForerunner
Copy link
Contributor

This PR moves reth traits from using the concrete State<DB> to relying on a new StateDB trait. This allows trait implementations to be much more flexible, and allows for greater code reuse.

In particular, we're implementing Flashblock based block access lists, and we need a DB wrapper around State that can construct the access lists. This will allow us to build something like BalBuilderDB<&mut State>, and then impl StateDB for this type.

This PR is marked as a draft because it depends on these upstream PRs.

@github-actions github-actions bot added the S-stale This issue/PR is stale and will close with no further activity label Dec 26, 2025
@github-actions github-actions bot closed this Jan 2, 2026
@github-project-automation github-project-automation bot moved this from Backlog to Done in Reth Tracker Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-stale This issue/PR is stale and will close with no further activity

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant