only target phase 0 and altair for now
This commit is contained in:
parent
9e6a51ef70
commit
b17ada2d67
|
@ -1,8 +1,9 @@
|
|||
import itertools
|
||||
import warnings
|
||||
from random import Random
|
||||
from tests.core.pyspec.eth2spec.test.helpers.constants import PHASE0, ALTAIR
|
||||
from typing import Callable
|
||||
from tests.core.pyspec.eth2spec.test.context import misc_balances_in_default_range, zero_activation_threshold
|
||||
from tests.core.pyspec.eth2spec.test.context import misc_balances_in_default_range, with_phases, zero_activation_threshold
|
||||
from eth2spec.test.helpers.multi_operations import (
|
||||
build_random_block_from_state,
|
||||
)
|
||||
|
@ -315,7 +316,7 @@ def _iter_temporal(spec, callable_or_int):
|
|||
|
||||
|
||||
@pytest_generate_tests_adapter
|
||||
@with_all_phases
|
||||
@with_phases([PHASE0, ALTAIR])
|
||||
@with_custom_state(balances_fn=misc_balances_in_default_range, threshold_fn=zero_activation_threshold)
|
||||
@spec_test
|
||||
@single_phase
|
||||
|
|
Loading…
Reference in New Issue