From 6ed15b2818908a17070d1ffb35f520e605f64b66 Mon Sep 17 00:00:00 2001 From: Mikhail Kalinin Date: Fri, 5 Jul 2024 18:49:57 +0600 Subject: [PATCH] Fix electra fork tests --- .../eth2spec/test/electra/fork/test_electra_fork_basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/core/pyspec/eth2spec/test/electra/fork/test_electra_fork_basic.py b/tests/core/pyspec/eth2spec/test/electra/fork/test_electra_fork_basic.py index 852521a32..e569be35e 100644 --- a/tests/core/pyspec/eth2spec/test/electra/fork/test_electra_fork_basic.py +++ b/tests/core/pyspec/eth2spec/test/electra/fork/test_electra_fork_basic.py @@ -91,7 +91,7 @@ def test_fork_pre_activation(spec, phases, state): state.validators[0].activation_epoch = spec.FAR_FUTURE_EPOCH post_state = yield from run_fork_test(post_spec, state) - assert len(post_state.pending_balance_deposits) > 0 + assert len(post_state.pending_deposits) > 0 @with_phases(phases=[DENEB], other_phases=[ELECTRA]) @@ -105,4 +105,4 @@ def test_fork_has_compounding_withdrawal_credential(spec, phases, state): validator.withdrawal_credentials = post_spec.COMPOUNDING_WITHDRAWAL_PREFIX + validator.withdrawal_credentials[1:] post_state = yield from run_fork_test(post_spec, state) - assert len(post_state.pending_balance_deposits) > 0 + assert len(post_state.pending_deposits) > 0