Extend randomized block tests to all phases

Some existing randomized block tests only ran for phase 0,
when they should run for all phases to increase overall test coverage.
This commit is contained in:
Alex Stokes 2021-08-19 11:00:14 -06:00
parent 70d4ddf613
commit cdf1914e98
No known key found for this signature in database
GPG Key ID: 99B3D88FD6C55A69
1 changed files with 4 additions and 4 deletions

View File

@ -1051,25 +1051,25 @@ def test_eth1_data_votes_no_consensus(spec, state):
yield 'post', state
@with_phases([PHASE0])
@with_all_phases
@spec_state_test
def test_full_random_operations_0(spec, state):
yield from run_test_full_random_operations(spec, state, rng=Random(2020))
@with_phases([PHASE0])
@with_all_phases
@spec_state_test
def test_full_random_operations_1(spec, state):
yield from run_test_full_random_operations(spec, state, rng=Random(2021))
@with_phases([PHASE0])
@with_all_phases
@spec_state_test
def test_full_random_operations_2(spec, state):
yield from run_test_full_random_operations(spec, state, rng=Random(2022))
@with_phases([PHASE0])
@with_all_phases
@spec_state_test
def test_full_random_operations_3(spec, state):
yield from run_test_full_random_operations(spec, state, rng=Random(2023))