mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 11:55:05 -05:00
fix broken block test for checkpoint use
This commit is contained in:
@@ -143,7 +143,7 @@ def test_empty_epoch_transition_not_finalizing(spec, state):
|
||||
yield 'post', state
|
||||
|
||||
assert state.slot == block.slot
|
||||
assert state.finalized_epoch < spec.get_current_epoch(state) - 4
|
||||
assert state.finalized_checkpoint.epoch < spec.get_current_epoch(state) - 4
|
||||
for index in range(len(state.validators)):
|
||||
assert state.balances[index] < pre_balances[index]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user