reth icon indicating copy to clipboard operation
reth copied to clipboard

Support engine_newPayloadV4 in benchmarker

Open mattsse opened this issue 6 months ago • 0 comments
trafficstars

Describe the feature

This currently always uses v3 https://github.com/paradigmxyz/reth/blob/4d77608be166905111079adde8e3add93fde0623/bin/reth-bench/src/bench/send_payload.rs#L107-L119

we also want v4 support,

this means we need to send engine_newPayloadV4 conditionally if the header has a request hash:

https://github.com/paradigmxyz/reth/blob/4d77608be166905111079adde8e3add93fde0623/crates/rpc/rpc-api/src/engine.rs#L65-L74

TODO

  • if header has request_hash add that as an additional argument to https://github.com/paradigmxyz/reth/blob/4d77608be166905111079adde8e3add93fde0623/bin/reth-bench/src/bench/send_payload.rs#L108-L108 and send engine_newPayloadV4

Additional context

No response

mattsse avatar Apr 24 '25 12:04 mattsse