mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 16:45:01 -05:00
Update test_libs/pyspec/tests/test_sanity.py
Co-Authored-By: JustinDrake <drakefjustin@gmail.com>
This commit is contained in:
@@ -436,7 +436,7 @@ def test_balance_driven_status_transitions(state):
|
||||
assert pre_state.validator_registry[validator_index].exit_epoch == spec.FAR_FUTURE_EPOCH
|
||||
|
||||
# set validator balance to below ejection threshold
|
||||
pre_state.validator_registry[validator_index].effective_balance = spec.EJECTION_BALANCE - 1
|
||||
pre_state.validator_registry[validator_index].effective_balance = spec.EJECTION_BALANCE
|
||||
|
||||
post_state = deepcopy(pre_state)
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user