reth
reth copied to clipboard
Support engine_newPayloadV4 in benchmarker
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_hashadd 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