Skip to content

Commit

Permalink
update list of checks
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Aug 28, 2024
1 parent 0b95012 commit 5761fb4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions specs/electra/p2p-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,16 @@ The following validations are added:

The topic is updated to propagate `SingleAttestation` objects.

The following convenience variables are re-defined
The following convenience variables are re-defined:
- `index = attestation.committee_index`

The following validations are added:
* [REJECT] `attestation.data.index == 0`
- _[REJECT]_ `attestation.data.index == 0`
- _[REJECT]_ The attester is a member of the committtee -- i.e.
`atestation.attester_index in get_beacon_committee(state, attestation.data.slot, index)`.

The following validations are removed:
- _[REJECT]_ The attestation is unaggregated --
that is, it has exactly one participating validator (`len([bit for bit in aggregation_bits if bit]) == 1`, i.e. exactly 1 bit is set).
- _[REJECT]_ The number of aggregation bits matches the committee size -- i.e.
`len(aggregation_bits) == len(get_beacon_committee(state, attestation.data.slot, index))`.

0 comments on commit 5761fb4

Please sign in to comment.