Try fix tests

This commit is contained in:
Roberto Saltini 2023-06-17 22:05:49 +10:00
parent 911968413f
commit ca1e8161d3
1 changed files with 2 additions and 1 deletions

View File

@ -382,9 +382,10 @@ def _run_include_votes_of_another_empty_chain(spec, state, enough_ffg, is_justif
# to next epoch
next_epoch(spec, state)
next_epoch(spec, state)
current_time = state.slot * spec.config.SECONDS_PER_SLOT + store.genesis_time
on_tick_and_append_step(spec, store, current_time, test_steps)
assert spec.compute_epoch_at_slot(spec.get_current_slot(store)) == 5
assert spec.compute_epoch_at_slot(spec.get_current_slot(store)) == 6
if enough_ffg:
# reorg