Remove genesis check now that Capella is fixed

Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
This commit is contained in:
Etan Kissling 2022-07-15 21:40:13 +02:00
parent 63816debcc
commit 261c5317e1
No known key found for this signature in database
GPG Key ID: B21DA824C5A3D03D

View File

@ -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)