Skip to content

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.

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