modify validator ejecion test to fit PR
This commit is contained in:
parent
054a1e3126
commit
3f46010fa8
|
@ -433,7 +433,7 @@ def test_ejection(state):
|
|||
block.slot += spec.SLOTS_PER_EPOCH
|
||||
state_transition(post_state, block)
|
||||
|
||||
assert post_state.validator_registry[validator_index].exit_epoch < spec.FAR_FUTURE_EPOCH
|
||||
assert post_state.validator_registry[validator_index].initiated_exit == True
|
||||
|
||||
return pre_state, [block], post_state
|
||||
|
||||
|
|
Loading…
Reference in New Issue