Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions specs/electra/p2p-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,16 @@ The derivation of the `message-id` remains stable.

###### `beacon_aggregate_and_proof`

The following convenience variables are re-defined
Assuming the alias `aggregate = signed_aggregate_and_proof.message.aggregate`:

The following convenience variables are re-defined:

- `index = get_committee_indices(aggregate.committee_bits)[0]`

The following validations are added:

- [REJECT] `len(committee_indices) == 1`, where
`committee_indices = get_committee_indices(aggregate)`.
`committee_indices = get_committee_indices(aggregate.committee_bits)`.
- [REJECT] `aggregate.data.index == 0`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I find this section to be a little confusing. It's missing the aggregate = signed_aggregrate_and_proof.message.aggregate alias. In this PR, could you also add a paragraph near the beginning similar to the following:

The following validations MUST pass before forwarding the
`payload_attestation_message` on the network, assuming the alias
`data = payload_attestation_message.data`:


###### `blob_sidecar_{subnet_id}`
Expand Down