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:
james-prysm 2024-07-10 10:42:10 -05:00 committed by GitHub
parent 1a19d82bbc
commit 1e9337ef19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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