mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 01:05:15 +00:00
only target phase 0 and altair for now
This commit is contained in:
parent
9e6a51ef70
commit
b17ada2d67
@ -1,8 +1,9 @@
|
|||||||
import itertools
|
import itertools
|
||||||
import warnings
|
import warnings
|
||||||
from random import Random
|
from random import Random
|
||||||
|
from tests.core.pyspec.eth2spec.test.helpers.constants import PHASE0, ALTAIR
|
||||||
from typing import Callable
|
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 (
|
from eth2spec.test.helpers.multi_operations import (
|
||||||
build_random_block_from_state,
|
build_random_block_from_state,
|
||||||
)
|
)
|
||||||
@ -315,7 +316,7 @@ def _iter_temporal(spec, callable_or_int):
|
|||||||
|
|
||||||
|
|
||||||
@pytest_generate_tests_adapter
|
@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)
|
@with_custom_state(balances_fn=misc_balances_in_default_range, threshold_fn=zero_activation_threshold)
|
||||||
@spec_test
|
@spec_test
|
||||||
@single_phase
|
@single_phase
|
||||||
|
Loading…
x
Reference in New Issue
Block a user