Skip to content

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

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

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant