mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-20 14:28:22 +00:00
PR feedback from Danny
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
parent
dc02bbc142
commit
98a9facab6
@ -174,6 +174,7 @@ def test_invalid_offset(spec, state):
|
||||
# 4 is not in `SHARD_BLOCK_OFFSETS`
|
||||
shard = 0
|
||||
slot = beacon_state.shard_states[shard].slot + 4
|
||||
assert slot not in spec.SHARD_BLOCK_OFFSETS
|
||||
transition_to(spec, beacon_state, slot)
|
||||
|
||||
shard_state = beacon_state.shard_states[shard]
|
||||
|
Loading…
x
Reference in New Issue
Block a user