Upper limit on indices

This commit is contained in:
Jacek Sieka 2023-02-14 14:18:29 +01:00
parent e6b8324e25
commit 58207c1c05
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
2 changed files with 3 additions and 2 deletions

View File

@ -44,7 +44,7 @@ The implementation of `is_data_available` will become more sophisticated during
Initially, verification requires every verifying actor to retrieve all matching `BlobSidecar`s,
and validate the sidecar with `validate_blob_sidecars`.
The block MUST NOT be considered valid until all valid `BlobSidecar`s have been downloaded. Blocks that have been previously validated as available SHOULD be considered available even if the associated `BlobSidecar`s has subsequently been pruned.
The block MUST NOT be considered valid until all valid `BlobSidecar`s have been downloaded. Blocks that have been previously validated as available SHOULD be considered available even if the associated `BlobSidecar`s have subsequently been pruned.
```python
def is_data_available(slot: Slot, beacon_block_root: Root, blob_kzg_commitments: Sequence[KZGCommitment]) -> bool:

View File

@ -94,7 +94,7 @@ The *type* of the payload of this topic changes to the (modified) `SignedBeaconB
##### `blob_sidecar_{index}`
This topic is used to propagate signed blob sidecars, one for each sidecar index.
This topic is used to propagate signed blob sidecars, one for each sidecar index. The number of indices is defined by `MAX_BLOBS_PER_BLOCK`.
The following validations MUST pass before forwarding the `sidecar` on the network, assuming the alias `sidecar = signed_blob_sidecar.message`:
@ -108,6 +108,7 @@ The following validations MUST pass before forwarding the `sidecar` on the netwo
- _[REJECT]_ The sidecar is proposed by the expected `proposer_index` for the block's slot in the context of the current shuffling (defined by `block_parent_root`/`slot`).
If the `proposer_index` cannot immediately be verified against the expected shuffling, the sidecar MAY be queued for later processing while proposers for the block's branch are calculated -- in such a case _do not_ `REJECT`, instead `IGNORE` this message.
### Transitioning the gossip
See gossip transition details found in the [Altair document](../altair/p2p-interface.md#transitioning-the-gossip) for