diff --git a/tests/core/pyspec/eth2spec/test/altair/block_processing/test_process_deposit.py b/tests/core/pyspec/eth2spec/test/altair/block_processing/test_process_deposit.py index 2bc29009ff..25c2767269 100644 --- a/tests/core/pyspec/eth2spec/test/altair/block_processing/test_process_deposit.py +++ b/tests/core/pyspec/eth2spec/test/altair/block_processing/test_process_deposit.py @@ -2,6 +2,7 @@ spec_state_test, always_bls, with_phases, + with_altair_and_later, ) from eth2spec.test.helpers.constants import ( ALTAIR, @@ -26,3 +27,15 @@ def test_effective_deposit_with_previous_fork_version(spec, state): state, fork_version=state.fork.previous_version, ) + + +@with_altair_and_later +@spec_state_test +@always_bls +def test_ineffective_deposit_with_current_fork_version(spec, state): + yield from run_deposit_processing_with_specific_fork_version( + spec, + state, + fork_version=state.fork.current_version, + effective=False, + )