Skip to content

reth-bench: import/export block ranges + big blocks #20614

@mediocregopher

Description

@mediocregopher

Describe the feature

  • reth-bench should be modified so that it can export a range of payloads to a file, and then to use an exported range for new-payload-fcu calls.

  • reth-bench should be modified so that when exporting a range of blocks, it instead merges blocks into Big Blocks, ie it exports 1 block for every N real blocks, with the 1 block being composed of the txs of the N real blocks.

  • reth-bench-compare should be modified so that it can also use an exported range for its reth-bench calls.

Additional context

Prior work:

An existing branch exists which modifies reth-bench to force reorgs: https://github.com/paradigmxyz/reth/tree/mediocregopher/reth-bench-reorgs

It accomplishes this by building new blocks from the txs of existing blocks. Something like this could be done to accomplish building the Big Blocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions