fix Blob pluralization in a few places
This commit is contained in:
parent
a7e45db9ac
commit
9dd7d2ba2f
|
@ -201,7 +201,7 @@ No more than `MAX_REQUEST_BLOBS_SIDECARS * MAX_BLOBS_PER_BLOCK` may be requested
|
||||||
The response MUST consist of zero or more `response_chunk`.
|
The response MUST consist of zero or more `response_chunk`.
|
||||||
Each _successful_ `response_chunk` MUST contain a single `BlobSidecar` payload.
|
Each _successful_ `response_chunk` MUST contain a single `BlobSidecar` payload.
|
||||||
|
|
||||||
Clients MUST support requesting sidecars since `minimum_request_epoch`, where `minimum_request_epoch = max(finalized_epoch, current_epoch - MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS, DENEB_FORK_EPOCH)`. If any root in the request content references a block earlier than `minimum_request_epoch`, peers MAY respond with error code `3: ResourceUnavailable` or not include the blob in the response.
|
Clients MUST support requesting sidecars since `minimum_request_epoch`, where `minimum_request_epoch = max(finalized_epoch, current_epoch - MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS, DENEB_FORK_EPOCH)`. If any root in the request content references a block earlier than `minimum_request_epoch`, peers MAY respond with error code `3: ResourceUnavailable` or not include the blob in the response.
|
||||||
|
|
||||||
Clients MUST respond with at least one sidecar, if they have it.
|
Clients MUST respond with at least one sidecar, if they have it.
|
||||||
Clients MAY limit the number of blocks and sidecars in the response.
|
Clients MAY limit the number of blocks and sidecars in the response.
|
||||||
|
@ -233,7 +233,7 @@ The response is unsigned, i.e. `BlobSidecarsByRange`, as the signature of the be
|
||||||
|
|
||||||
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 `validate_blobs`.
|
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 `validate_blobs`.
|
||||||
|
|
||||||
`BlobSidecarsByRange` is primarily used to sync blobs that may have been missed on gossip and to sync within the `MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS` window.
|
`BlobSidecarsByRange` is primarily used to sync blobs that may have been missed on gossip and to sync within the `MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS` window.
|
||||||
|
|
||||||
The request MUST be encoded as an SSZ-container.
|
The request MUST be encoded as an SSZ-container.
|
||||||
|
|
||||||
|
@ -241,18 +241,18 @@ The response MUST consist of zero or more `response_chunk`.
|
||||||
Each _successful_ `response_chunk` MUST contain a single `BlobSidecar` payload.
|
Each _successful_ `response_chunk` MUST contain a single `BlobSidecar` payload.
|
||||||
|
|
||||||
Clients MUST keep a record of signed blobs sidecars seen on the epoch range
|
Clients MUST keep a record of signed blobs sidecars seen on the epoch range
|
||||||
`[max(current_epoch - MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS, DENEB_FORK_EPOCH), current_epoch]`
|
`[max(current_epoch - MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS, DENEB_FORK_EPOCH), current_epoch]`
|
||||||
where `current_epoch` is defined by the current wall-clock time,
|
where `current_epoch` is defined by the current wall-clock time,
|
||||||
and clients MUST support serving requests of blobs on this range.
|
and clients MUST support serving requests of blobs on this range.
|
||||||
|
|
||||||
Peers that are unable to reply to blob sidecar requests within the `MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS`
|
Peers that are unable to reply to blob sidecar requests within the `MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS`
|
||||||
epoch range SHOULD respond with error code `3: ResourceUnavailable`.
|
epoch range SHOULD respond with error code `3: ResourceUnavailable`.
|
||||||
Such peers that are unable to successfully reply to this range of requests MAY get descored
|
Such peers that are unable to successfully reply to this range of requests MAY get descored
|
||||||
or disconnected at any time.
|
or disconnected at any time.
|
||||||
|
|
||||||
*Note*: The above requirement implies that nodes that start from a recent weak subjectivity checkpoint
|
*Note*: The above requirement implies that nodes that start from a recent weak subjectivity checkpoint
|
||||||
MUST backfill the local blobs database to at least epoch `current_epoch - MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS`
|
MUST backfill the local blobs database to at least epoch `current_epoch - MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS`
|
||||||
to be fully compliant with `BlobsSidecarsByRange` requests.
|
to be fully compliant with `BlobSidecarsByRange` requests.
|
||||||
|
|
||||||
*Note*: Although clients that bootstrap from a weak subjectivity checkpoint can begin
|
*Note*: Although clients that bootstrap from a weak subjectivity checkpoint can begin
|
||||||
participating in the networking immediately, other peers MAY
|
participating in the networking immediately, other peers MAY
|
||||||
|
|
Loading…
Reference in New Issue