Skip to content

Commit f260a9e

Browse files
authored
beacon/engine: add shouldOverrideBuilder to payload envelope (ethereum#28029)
beacon/engine: add shouldOverrideBuilder to payload envelope
1 parent 2885708 commit f260a9e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

beacon/engine/gen_epe.go

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

beacon/engine/types.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ type ExecutionPayloadEnvelope struct {
8686
ExecutionPayload *ExecutableData `json:"executionPayload" gencodec:"required"`
8787
BlockValue *big.Int `json:"blockValue" gencodec:"required"`
8888
BlobsBundle *BlobsBundleV1 `json:"blobsBundle"`
89+
Override bool `json:"shouldOverrideBuilder"`
8990
}
9091

9192
type BlobsBundleV1 struct {
@@ -269,7 +270,7 @@ func BlockToExecutableData(block *types.Block, fees *big.Int, sidecars []*types.
269270
bundle.Proofs = append(bundle.Proofs, hexutil.Bytes(sidecar.Proofs[j][:]))
270271
}
271272
}
272-
return &ExecutionPayloadEnvelope{ExecutionPayload: data, BlockValue: fees, BlobsBundle: &bundle}
273+
return &ExecutionPayloadEnvelope{ExecutionPayload: data, BlockValue: fees, BlobsBundle: &bundle, Override: false}
273274
}
274275

275276
// ExecutionPayloadBodyV1 is used in the response to GetPayloadBodiesByHashV1 and GetPayloadBodiesByRangeV1

0 commit comments

Comments
 (0)