From b27bee017a3d78101cdc9b8cdd282f8caf714a0b Mon Sep 17 00:00:00 2001 From: jacobkaufmann Date: Mon, 16 Sep 2024 16:08:33 -0600 Subject: [PATCH] add ExecutionBundle and extend BuilderBid --- specs/electra/builder.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/specs/electra/builder.md b/specs/electra/builder.md index 8bab8bc..82ced3a 100644 --- a/specs/electra/builder.md +++ b/specs/electra/builder.md @@ -6,8 +6,32 @@ This is the modification of the builder specification accompanying the Electra u ## Containers +### New containers + +#### ExecutionBundle + +```python +class ExecutionBundle(Container): + execution_payload: ExecutionPayload + blobs_bundle: BlobsBundle + execution_requests: ExecutionRequests # [New in Electra] +``` + ### Extended containers +#### `BuilderBid` + +Note: `SignedBuilderBid` is updated indirectly. + +```python +class BuilderBid(Container): + header: ExecutionPayloadHeader + blob_kzg_commitments: List[KZGCommitment, MAX_BLOB_COMMITMENTS_PER_BLOCK] + execution_requests_root: Root # [New in Electra] + value: uint256 + pubkey: BLSPubkey +``` + #### `BlindedBeaconBlockBody` Note: `BlindedBeaconBlock` and `SignedBlindedBeaconBlock` types are updated indirectly.