modify validator ejecion test to fit PR

This commit is contained in:
Danny Ryan
2019-03-19 12:29:06 -06:00
parent 054a1e3126
commit 3f46010fa8

View File

@@ -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