From 972d69907e3f0e11f11cf18c44c1fab1df62c901 Mon Sep 17 00:00:00 2001 From: Roberto Saltini Date: Wed, 26 Jul 2023 11:08:47 +1000 Subject: [PATCH] Remove commented out lines --- .../test/phase0/fork_choice/test_reorg.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_reorg.py b/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_reorg.py index 4ec29508f..879fbab54 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_reorg.py +++ b/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_reorg.py @@ -454,22 +454,6 @@ def _run_include_votes_of_another_empty_chain(spec, state, enough_ffg, is_justif assert y_voting_source_epoch == store.justified_checkpoint.epoch assert spec.get_head(store) == signed_block_y.message.hash_tree_root() - # if enough_ffg: - # if is_justifying_previous_epoch: - # # y is filtered out & so z should be the head - # assert state.current_justified_checkpoint.epoch == store.justified_checkpoint.epoch == 3 - # assert y_voting_source_epoch == 2 - # assert y_voting_source_epoch != store.justified_checkpoint.epoch - # assert not(y_voting_source_epoch + 2 >= spec.compute_epoch_at_slot(spec.get_current_slot(store))) - # assert spec.get_head(store) == signed_block_z.message.hash_tree_root() - # else: - # assert state.current_justified_checkpoint.epoch == store.justified_checkpoint.epoch == 4 - # assert spec.get_head(store) == signed_block_z.message.hash_tree_root() - # else: - # # no reorg - # assert spec.get_head(store) == signed_block_y.message.hash_tree_root() - # assert state.current_justified_checkpoint.epoch == store.justified_checkpoint.epoch == 3 - yield 'steps', test_steps