Update specs/core/1_new_shards.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
parent
8cb404d926
commit
e66b4e06ef
|
@ -340,7 +340,7 @@ def validate_attestation(state: BeaconState, attestation: Attestation) -> None:
|
|||
assert data.beacon_block_root == get_block_root_at_slot(state, state.slot - 1)
|
||||
# Type 2: delayed attestations
|
||||
else:
|
||||
assert state.slot - slot_to_epoch(data.slot) < EPOCH_LENGTH
|
||||
assert state.slot < data.slot + SLOTS_PER_EPOCH
|
||||
assert data.shard_transition_root == Hash()
|
||||
assert len(attestation.custody_bits) == 0
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue