Merge pull request #3535 from ethereum/ralexstokes-patch-3

`deneb`: Suggest sidecars by root callers verify blob sidecars
This commit is contained in:
danny
2023-10-31 10:28:01 -06:00
committed by GitHub

View File

@@ -281,6 +281,8 @@ It may be less in the case that the responding peer is missing blocks or sidecar
The response is unsigned, i.e. `BlobSidecar`, as the signature of the beacon block proposer
may not be available beyond the initial distribution via gossip.
Before consuming the next response chunk, the response reader SHOULD verify the blob sidecar is well-formatted and correct w.r.t. the expected KZG commitments through `verify_blob_kzg_proof_batch`.
No more than `MAX_REQUEST_BLOB_SIDECARS` may be requested at a time.
`BlobSidecarsByRoot` is primarily used to recover recent blobs (e.g. when receiving a block with a transaction whose corresponding blob is missing).