mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-22 00:20:28 +00:00
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
ea33eac282
commit
1feb1fbc0f
@ -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:]
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user