Explain why the tests check for Altair twice
This commit is contained in:
parent
88a69512b2
commit
73279f8382
|
@ -104,7 +104,7 @@ def compute_start_slot_at_next_sync_committee_period(spec, state):
|
|||
@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
|
||||
return # Test requires Altair or later (`make test` does not honor phases)
|
||||
|
||||
# Start test
|
||||
test = yield from setup_test(spec, state)
|
||||
|
@ -321,7 +321,7 @@ def test_light_client_sync(spec, state):
|
|||
@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
|
||||
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)
|
||||
|
@ -353,7 +353,7 @@ def test_supply_sync_committee_from_past_update(spec, state):
|
|||
@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
|
||||
return # Test requires Altair or later (`make test` does not honor phases)
|
||||
|
||||
# Start test
|
||||
test = yield from setup_test(spec, state)
|
||||
|
|
Loading…
Reference in New Issue