Skip to content

Commit

Permalink
Update Deneb for v1.4.0-beta.4
Browse files Browse the repository at this point in the history
`BlindedBlobSidecar` are no longer signed, but instead are linked with
signed block via merkle proof. Renamed `signed_blinded_blob_sidecars`
in `SignedBlindedBlockContents` envelopes to match the new types.

- ethereum/consensus-specs#3531
- ethereum/beacon-APIs#370
  • Loading branch information
etan-status committed Nov 3, 2023
1 parent ae2ebb3 commit 0092078
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion apis/builder/blinded_blocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ post:
must return an error response (400) with a description of the validation
failure.
After Deneb, this endpoint will additionally accept `SignedBlindedBlobSidecars`, and return
After Deneb, this endpoint will additionally accept `BlindedBlobSidecars`, and return
with additional unblinded blobs in response.
tags:
- Builder
Expand Down
18 changes: 4 additions & 14 deletions specs/deneb/builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
- [New containers](#new-containers)
- [`BlindedBlobsBundle`](#blindedblobsbundle)
- [`BlindedBlobSidecar`](#blindedblobsidecar)
- [`SignedBlindedBlobSidecar`](#signedblindedblobsidecar)
- [`SignedBlindedBlockContents`](#signedblindedblockcontents)
- [`BlobsBundle`](#blobsbundle)
- [`ExecutionPayloadAndBlobsBundle`](#executionpayloadandblobsbundle)
Expand Down Expand Up @@ -42,30 +41,21 @@ class BlindedBlobsBundle(Container):

```python
class BlindedBlobSidecar(Container):
block_root: Root
index: BlobIndex
slot: Slot
block_parent_root: Root
proposer_index: ValidatorIndex
blob_root: Root
kzg_commitment: KZGCommitment
kzg_proof: KZGProof
```

#### `SignedBlindedBlobSidecar`

```python
class SignedBlindedBlobSidecar(Container):
message: BlindedBlobSidecar
signature: BLSSignature
signed_block_header: SignedBeaconBlockHeader
kzg_commitment_inclusion_proof*:
array[KZG_COMMITMENT_INCLUSION_PROOF_DEPTH, Eth2Digest]
```

#### `SignedBlindedBlockContents`

```python
class SignedBlindedBlockContents(Container):
signed_blinded_block: SignedBlindedBeaconBlock
signed_blinded_blob_sidecars: List[SignedBlindedBlobSidecar, MAX_BLOBS_PER_BLOCK]
blinded_blob_sidecars: List[BlindedBlobSidecar, MAX_BLOBS_PER_BLOCK]
```

#### `BlobsBundle`
Expand Down

0 comments on commit 0092078

Please sign in to comment.