From 577b0289c07a0d733edf55dd301756b1cd491b2f Mon Sep 17 00:00:00 2001 From: james-prysm <90280386+james-prysm@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:44:47 -0500 Subject: [PATCH] Update tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_process_pending_deposits.py Co-authored-by: Mikhail Kalinin --- .../electra/epoch_processing/test_process_pending_deposits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_process_pending_deposits.py b/tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_process_pending_deposits.py index 6d27d2331..e6319aa6b 100644 --- a/tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_process_pending_deposits.py +++ b/tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_process_pending_deposits.py @@ -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