start on_block just slots test at time 0

This commit is contained in:
Danny Ryan 2020-05-11 11:17:48 -06:00
parent 17f656cefe
commit 65108aeee0
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ def test_on_block_finalized_skip_slots_not_in_skip_chain(spec, state):
def test_on_block_update_justified_checkpoint_within_safe_slots(spec, state): def test_on_block_update_justified_checkpoint_within_safe_slots(spec, state):
# Initialization # Initialization
store = spec.get_forkchoice_store(state) store = spec.get_forkchoice_store(state)
time = 100 time = 0
spec.on_tick(store, time) spec.on_tick(store, time)
next_epoch(spec, state) next_epoch(spec, state)
@ -215,7 +215,7 @@ def test_on_block_update_justified_checkpoint_within_safe_slots(spec, state):
def test_on_block_outside_safe_slots_and_multiple_better_justified(spec, state): def test_on_block_outside_safe_slots_and_multiple_better_justified(spec, state):
# Initialization # Initialization
store = spec.get_forkchoice_store(state) store = spec.get_forkchoice_store(state)
time = 100 time = 0
spec.on_tick(store, time) spec.on_tick(store, time)
next_epoch(spec, state) next_epoch(spec, state)