Update tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
This commit is contained in:
parent
1a19d82bbc
commit
1e9337ef19
|
@ -27,7 +27,7 @@ def test_apply_pending_deposit_add_validator_to_registry(spec, state):
|
|||
signature=deposit_data.signature,
|
||||
)
|
||||
old_validator_count = len(state.validators)
|
||||
assert spec.apply_pending_deposit(state,deposit) == True
|
||||
spec.apply_pending_deposit(state,deposit)
|
||||
# validator count should increase by 1
|
||||
assert len(state.validators) == old_validator_count+1
|
||||
|
||||
|
|
Loading…
Reference in New Issue