Merge pull request #3550 from ethereum/on-tick-precondition

Check `assert time >= store.time` in fork-choice tests
This commit is contained in:
danny
2023-11-30 06:58:40 -07:00
committed by GitHub

View File

@@ -144,6 +144,7 @@ def get_blobs_file_name(blobs=None, blobs_root=None):
def on_tick_and_append_step(spec, store, time, test_steps):
assert time >= store.time
spec.on_tick(store, time)
test_steps.append({'tick': int(time)})
output_store_checks(spec, store, test_steps)