Skip to main content

Module replay_payloads

Module replay_payloads 

Source
Expand description

Command for replaying pre-generated payloads from disk.

This command reads ExecutionPayloadEnvelopeV4 files from a directory and replays them in sequence using newPayload followed by forkchoiceUpdated.

Supports configurable waiting behavior:

  • --wait-time: Fixed sleep interval between blocks.
  • --wait-for-persistence: Waits for every Nth block to be persisted using the reth_subscribePersistedBlock subscription, where N matches the engine’s persistence threshold. This ensures the benchmark doesn’t outpace persistence.

Both options can be used together or independently.

Structs§

Command
reth bench replay-payloads command
GasRampPayload 🔒
A gas ramp payload loaded from disk.
LoadedPayload 🔒
A loaded payload ready for execution.