miner: send full request when resolving full payload (#30615)
Fixes an issue missed in #30576 where we send empty requests for a full payload being resolved, causing hash mismatch later on when we get the payload back via `NewPayload`.
This commit is contained in:
parent
978ca5fc5e
commit
1da34a37ec
@ -145,7 +145,7 @@ func (payload *Payload) Resolve() *engine.ExecutionPayloadEnvelope {
|
|||||||
close(payload.stop)
|
close(payload.stop)
|
||||||
}
|
}
|
||||||
if payload.full != nil {
|
if payload.full != nil {
|
||||||
envelope := engine.BlockToExecutableData(payload.full, payload.fullFees, payload.sidecars, payload.emptyRequests)
|
envelope := engine.BlockToExecutableData(payload.full, payload.fullFees, payload.sidecars, payload.requests)
|
||||||
if payload.fullWitness != nil {
|
if payload.fullWitness != nil {
|
||||||
envelope.Witness = new(hexutil.Bytes)
|
envelope.Witness = new(hexutil.Bytes)
|
||||||
*envelope.Witness, _ = rlp.EncodeToBytes(payload.fullWitness) // cannot fail
|
*envelope.Witness, _ = rlp.EncodeToBytes(payload.fullWitness) // cannot fail
|
||||||
|
Loading…
Reference in New Issue
Block a user