From 261c5317e1929aaf64d0029ddb306308b0020ea2 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Fri, 15 Jul 2022 21:40:13 +0200 Subject: [PATCH] Remove genesis check now that Capella is fixed Co-authored-by: Hsiao-Wei Wang --- .../eth2spec/test/altair/light_client/test_sync.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/core/pyspec/eth2spec/test/altair/light_client/test_sync.py b/tests/core/pyspec/eth2spec/test/altair/light_client/test_sync.py index d2eed0627..9448302e7 100644 --- a/tests/core/pyspec/eth2spec/test/altair/light_client/test_sync.py +++ b/tests/core/pyspec/eth2spec/test/altair/light_client/test_sync.py @@ -118,9 +118,6 @@ def compute_start_slot_at_next_sync_committee_period(spec, state): @spec_state_test_with_matching_config @with_presets([MINIMAL], reason="too slow") def test_light_client_sync(spec, state): - if state.fork.current_version == spec.config.GENESIS_FORK_VERSION: - return # Test requires Altair or later (`make test` does not honor phases) - # Start test test = yield from setup_test(spec, state) @@ -335,9 +332,6 @@ def test_light_client_sync(spec, state): @spec_state_test_with_matching_config @with_presets([MINIMAL], reason="too slow") def test_supply_sync_committee_from_past_update(spec, state): - if state.fork.current_version == spec.config.GENESIS_FORK_VERSION: - return # Test requires Altair or later (`make test` does not honor phases) - # Advance the chain, so that a `LightClientUpdate` from the past is available next_slots(spec, state, spec.SLOTS_PER_EPOCH * 2 - 1) finalized_block = state_transition_with_full_block(spec, state, True, True) @@ -367,9 +361,6 @@ def test_supply_sync_committee_from_past_update(spec, state): @spec_state_test_with_matching_config @with_presets([MINIMAL], reason="too slow") def test_advance_finality_without_sync_committee(spec, state): - if state.fork.current_version == spec.config.GENESIS_FORK_VERSION: - return # Test requires Altair or later (`make test` does not honor phases) - # Start test test = yield from setup_test(spec, state)