Skip to content

[Feature] Relax trait bound EVM::DB = &'db mut State<DB> for BlockExecutor impls #233

@0xForerunner

Description

@0xForerunner

Describe the feature you would like

We would like to reuse this code in our custom block builder but we need to pass in a wrapped version of State<DB>. Currently this is not possible. The easiest solution I see is to create a new trait StateDB which encapsulates some of the required functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions