Skip to content

Commit

Permalink
Apply missing spec_test decorators, to handle generator_mode flag
Browse files Browse the repository at this point in the history
  • Loading branch information
protolambda committed Jul 14, 2021
1 parent 4211665 commit 5582490
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
with_presets,
spec_state_test,
always_bls,
spec_test,
)
from eth2spec.utils.hash_function import hash

Expand Down Expand Up @@ -534,6 +535,7 @@ def test_random_all_but_one_participating_with_duplicates(spec, state):

@with_altair_and_later
@with_presets([MAINNET], reason="to create duplicate committee")
@spec_test
@with_custom_state(balances_fn=misc_balances, threshold_fn=default_activation_threshold)
@single_phase
def test_random_misc_balances_and_half_participation_with_duplicates(spec, state):
Expand Down Expand Up @@ -596,6 +598,7 @@ def test_random_all_but_one_participating_without_duplicates(spec, state):

@with_altair_and_later
@with_presets([MINIMAL], reason="to create nonduplicate committee")
@spec_test
@with_custom_state(balances_fn=misc_balances, threshold_fn=default_activation_threshold)
@single_phase
def test_random_misc_balances_and_half_participation_without_duplicates(spec, state):
Expand Down

0 comments on commit 5582490

Please sign in to comment.