mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 01:05:15 +00:00
review suggestion from @hwwhww
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
This commit is contained in:
parent
70f90c5296
commit
91ea9e6959
@ -28,3 +28,9 @@ def test_success_top_up_to_withdrawn_validator(spec, state):
|
||||
yield from run_deposit_processing(spec, state, deposit, validator_index)
|
||||
|
||||
state.balances[validator_index] == amount
|
||||
state.validators[validator_index].effective_balance == 0
|
||||
|
||||
validator = state.validators[validator_index]
|
||||
balance = state.balances[validator_index]
|
||||
current_epoch = spec.get_current_epoch(state)
|
||||
assert spec.is_fully_withdrawable_validator(validator, balance, current_epoch)
|
||||
|
Loading…
x
Reference in New Issue
Block a user