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
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ def test_ejection(state):
block.slot += spec.SLOTS_PER_EPOCH block.slot += spec.SLOTS_PER_EPOCH
state_transition(post_state, block) 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 return pre_state, [block], post_state