Skip to content

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

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

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

Conversation

@0xForerunner
Copy link
Contributor

This PR moves reth traits from using the concrete State 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 should not yet be merged since it depends on these upstream PRs.

alloy-rs/evm#238 (open)
bluealloy/revm#3205 (merged)

@emmajam
Copy link
Collaborator

emmajam commented Feb 26, 2026

Hey! We're doing some spring cleaning on our PR backlog 🧹 Closing old PRs to keep things tidy. If this is still relevant, please feel free to re-open — we appreciate your contribution!

@emmajam emmajam closed this Feb 26, 2026
@github-project-automation github-project-automation bot moved this from Backlog to Done in Reth Tracker Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants