add missing decorators for testruns in no-bls mode

This commit is contained in:
protolambda 2021-02-01 21:47:00 +01:00
parent 3677073812
commit e865670111
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ from eth2spec.test.context import (
with_all_phases_except, with_all_phases_except,
with_configs, with_configs,
spec_state_test, spec_state_test,
always_bls,
) )
from eth2spec.utils.hash_function import hash from eth2spec.utils.hash_function import hash
@ -196,6 +197,7 @@ def test_sync_committee_rewards_duplicate_committee(spec, state):
@with_all_phases_except([PHASE0, PHASE1]) @with_all_phases_except([PHASE0, PHASE1])
@spec_state_test @spec_state_test
@always_bls
def test_invalid_signature_past_block(spec, state): def test_invalid_signature_past_block(spec, state):
committee = spec.get_sync_committee_indices(state, spec.get_current_epoch(state)) committee = spec.get_sync_committee_indices(state, spec.get_current_epoch(state))
@ -237,6 +239,7 @@ def test_invalid_signature_past_block(spec, state):
@with_all_phases_except([PHASE0, PHASE1]) @with_all_phases_except([PHASE0, PHASE1])
@with_configs([MINIMAL], reason="to produce different committee sets") @with_configs([MINIMAL], reason="to produce different committee sets")
@spec_state_test @spec_state_test
@always_bls
def test_invalid_signature_previous_committee(spec, state): def test_invalid_signature_previous_committee(spec, state):
# NOTE: the `state` provided is at genesis and the process to select # NOTE: the `state` provided is at genesis and the process to select
# sync committees currently returns the same committee for the first and second # sync committees currently returns the same committee for the first and second