Skip to content

Commit

Permalink
Merge pull request #3525 from tbenr/patch-1
Browse files Browse the repository at this point in the history
Add new gossip rule to `REJECT` sidecars with index >= MAX_BLOBS_PER_BLOCK
  • Loading branch information
djrtwo authored Oct 18, 2023
2 parents d18b86c + a2d021d commit 1e552f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions specs/deneb/p2p-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ This topic is used to propagate signed blob sidecars, where each blob index maps

The following validations MUST pass before forwarding the `signed_blob_sidecar` on the network, assuming the alias `sidecar = signed_blob_sidecar.message`:

- _[REJECT]_ The sidecar's index is consistent with `MAX_BLOBS_PER_BLOCK` -- i.e. `sidecar.index < MAX_BLOBS_PER_BLOCK`.
- _[REJECT]_ The sidecar is for the correct subnet -- i.e. `compute_subnet_for_blob_sidecar(sidecar.index) == subnet_id`.
- _[IGNORE]_ The sidecar is not from a future slot (with a `MAXIMUM_GOSSIP_CLOCK_DISPARITY` allowance) -- i.e. validate that `sidecar.slot <= current_slot` (a client MAY queue future sidecars for processing at the appropriate slot).
- _[IGNORE]_ The sidecar is from a slot greater than the latest finalized slot -- i.e. validate that `sidecar.slot > compute_start_slot_at_epoch(state.finalized_checkpoint.epoch)`
Expand Down

0 comments on commit 1e552f1

Please sign in to comment.