Skip to content

Perf: ensure no double execution of canonical blocks #272

@mempirate

Description

@mempirate

Description

In the current reth node implementation, we (probably) execute blocks twice. Once when op-reth processes regular OP blocks, but also in the unsealed block driver, where we execute frags in memory. We should theoretically defer executing canonical blocks in op-reth and only do it when the new block hash does not match the unsealed block hash. If they do, we should just commit cached state straight to the database instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions