diff --git a/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py b/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py index 98b251add..05ae545b8 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py +++ b/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py @@ -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