From 70ce4f28c0768d4e882b78876dbbecb1938aa07b Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Tue, 14 Nov 2023 12:06:33 +0300 Subject: [PATCH] Remove extra tick --- .../fork_choice/test_should_override_forkchoice_update.py | 2 -- .../eth2spec/test/phase0/fork_choice/test_get_proposer_head.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/tests/core/pyspec/eth2spec/test/bellatrix/fork_choice/test_should_override_forkchoice_update.py b/tests/core/pyspec/eth2spec/test/bellatrix/fork_choice/test_should_override_forkchoice_update.py index 465a00f1a9..b40cc5bbe2 100644 --- a/tests/core/pyspec/eth2spec/test/bellatrix/fork_choice/test_should_override_forkchoice_update.py +++ b/tests/core/pyspec/eth2spec/test/bellatrix/fork_choice/test_should_override_forkchoice_update.py @@ -135,8 +135,6 @@ def test_should_override_forkchoice_update__true(spec, state): # Add attestations to the parent block temp_state = state.copy() 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( temp_state, spec, diff --git a/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_get_proposer_head.py b/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_get_proposer_head.py index 249e76b08a..9419a18dfc 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_get_proposer_head.py +++ b/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_get_proposer_head.py @@ -128,8 +128,6 @@ def test_basic_is_parent_root(spec, state): slot = state.slot # 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( state, spec,