replace Payloadloadbuilder::on_missing_payload with a type that tells the service how to behave #8647
Labels
A-block-building
Related to block building
C-enhancement
New feature or request
C-perf
A change motivated by improving speed, memory usage or disk footprint
Describe the feature
reth/crates/optimism/payload/src/builder.rs
Lines 87 to 90 in 40d8ac0
is a hook that is invoked when the CL requests the payload and the payload is still unavailable.
The reason this exists is want to give the payload builder a chance to react here and prevent building an empty payload.
however this currently can result redundant work for OP payload building because this effectively rebuilds the block in place instead of awaiting the wip payload.
this can easily replaced with an enum with following variants:
for OP we want to use the
AwaitInprogress
variantAdditional context
No response
The text was updated successfully, but these errors were encountered: