mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 08:24:55 -05:00
Variable max attestation length
This commit is contained in:
committed by
Danny Ryan
parent
26df98bf61
commit
fe60b4deba
@@ -211,6 +211,8 @@ def process_attestation(state: BeaconState, attestation: Attestation) -> None:
|
||||
state.previous_epoch_attestations.append(pending_attestation)
|
||||
```
|
||||
|
||||
Check the length of attestations using `len(block.attestations) <= 4 * get_committee_count(state, state.slot)`.
|
||||
|
||||
### Light client processing
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user