Skip to content

Commit

Permalink
Add test_ineffective_deposit_with_current_fork_version
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww committed Dec 8, 2022
1 parent 847c2bf commit e5709a5
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
spec_state_test,
always_bls,
with_phases,
with_altair_and_later,
)
from eth2spec.test.helpers.constants import (
ALTAIR,
Expand All @@ -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,
)

0 comments on commit e5709a5

Please sign in to comment.