From 72b211ed4f90a27097cee351adfc209e027659c0 Mon Sep 17 00:00:00 2001 From: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:00:23 +0200 Subject: [PATCH] feat(reth): remove `History` variant in `StageEnum` (#4365) --- bin/reth/src/args/stage_args.rs | 2 -- bin/reth/src/stage/drop.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/reth/src/args/stage_args.rs b/bin/reth/src/args/stage_args.rs index f955a57810..997f0f687c 100644 --- a/bin/reth/src/args/stage_args.rs +++ b/bin/reth/src/args/stage_args.rs @@ -13,8 +13,6 @@ pub enum StageEnum { Hashing, Merkle, TxLookup, - // TODO: Combine or remove `History` variant. - History, AccountHistory, StorageHistory, TotalDifficulty, diff --git a/bin/reth/src/stage/drop.rs b/bin/reth/src/stage/drop.rs index 33298d287f..073c14c2a0 100644 --- a/bin/reth/src/stage/drop.rs +++ b/bin/reth/src/stage/drop.rs @@ -135,7 +135,7 @@ impl Command { None, )?; } - StageEnum::History => { + StageEnum::AccountHistory | StageEnum::StorageHistory => { tx.clear::()?; tx.clear::()?; tx.put::(