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-26 09:58:25 -05:00 committed by GitHub
parent ea33eac282
commit 1feb1fbc0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ def test_apply_pending_deposit_add_validator_to_registry(spec, state):
amount = spec.MIN_ACTIVATION_BALANCE
# select validator set outside of the mainnet preset of 256
index = 2000
index = len(state.validators)
withdrawal_credentials = (
spec.BLS_WITHDRAWAL_PREFIX + spec.hash(pubkeys[index])[1:]
)