Skip to content

cache ethereum state in build job #13

Description

@jacobkaufmann

currently each payload build task retrieves the state for the given parent block hash (below).

https://github.com/jacobkaufmann/dark-builder/blob/170b23d9ead00eeaa24113affac0ca681014254a/src/builder.rs#L164

we should cache this state when the job is constructed instead.

state_by_block_hash returns a StateProviderBox which is not the most straightforward to work with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions