Expand description
Runs the reth bench command, calling first newPayload for each block, then calling
forkchoiceUpdated.
Supports configurable waiting behavior:
--wait-time: Fixed sleep interval between blocks.--wait-for-persistence: Waits for every Nth block to be persisted using thereth_subscribePersistedBlocksubscription, 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 benchmark new-payload-fcucommand