Merge branch 'dev' into on-tick-precondition

This commit is contained in:
Hsiao-Wei Wang 2023-11-30 08:05:27 +08:00
commit a8d02685c2
No known key found for this signature in database
GPG Key ID: AE3D6B174F971DE4
2 changed files with 0 additions and 4 deletions

View File

@ -135,8 +135,6 @@ def test_should_override_forkchoice_update__true(spec, state):
# Add attestations to the parent block # Add attestations to the parent block
temp_state = state.copy() temp_state = state.copy()
next_slot(spec, temp_state) next_slot(spec, temp_state)
current_time = state.slot * spec.config.SECONDS_PER_SLOT + store.genesis_time + 1
on_tick_and_append_step(spec, store, current_time, test_steps)
attestations = get_valid_attestation_at_slot( attestations = get_valid_attestation_at_slot(
temp_state, temp_state,
spec, spec,

View File

@ -128,8 +128,6 @@ def test_basic_is_parent_root(spec, state):
slot = state.slot slot = state.slot
# Add attestations to the parent block # Add attestations to the parent block
current_time = slot * spec.config.SECONDS_PER_SLOT + store.genesis_time
on_tick_and_append_step(spec, store, current_time, test_steps)
attestations = get_valid_attestation_at_slot( attestations = get_valid_attestation_at_slot(
state, state,
spec, spec,