Update tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_process_pending_deposits.py

Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
This commit is contained in:
james-prysm 2024-07-10 10:44:47 -05:00 committed by GitHub
parent 1e9337ef19
commit 577b0289c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def test_pending_deposit_not_finalized(spec, state):
pubkey=state.validators[0].pubkey,
withdrawal_credentials=state.validators[0].withdrawal_credentials,
amount=amount,
slot=slot,
slot=spec.get_current_epoch(state),
))
# set deposit_requests_start_index to something low so that we skip the bridge validation
state.deposit_requests_start_index = 0