Merge pull request #3278 from terencechain/patch-140

EIP4844: Use `MAX_REQUEST_BLOB_SIDECARS`
This commit is contained in:
Hsiao-Wei Wang 2023-03-01 13:24:24 +08:00 committed by GitHub
commit 37f6abacb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -183,7 +183,7 @@ Request Content:
``` ```
( (
List[BlobIdentifier, MAX_REQUEST_BLOBS_SIDECARS] List[BlobIdentifier, MAX_REQUEST_BLOB_SIDECARS]
) )
``` ```
@ -191,7 +191,7 @@ Response Content:
``` ```
( (
List[BlobSidecar, MAX_REQUEST_BLOBS_SIDECARS] List[BlobSidecar, MAX_REQUEST_BLOB_SIDECARS]
) )
``` ```
@ -202,7 +202,7 @@ 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 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. may not be available beyond the initial distribution via gossip.
No more than `MAX_REQUEST_BLOBS_SIDECARS` may be requested at a time. 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). `BlobSidecarsByRoot` is primarily used to recover recent blobs (e.g. when receiving a block with a transaction whose corresponding blob is missing).