mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 16:48:13 -05:00
feat(reth): remove History variant in StageEnum (#4365)
This commit is contained in:
@@ -13,8 +13,6 @@ pub enum StageEnum {
|
||||
Hashing,
|
||||
Merkle,
|
||||
TxLookup,
|
||||
// TODO: Combine or remove `History` variant.
|
||||
History,
|
||||
AccountHistory,
|
||||
StorageHistory,
|
||||
TotalDifficulty,
|
||||
|
||||
@@ -135,7 +135,7 @@ impl Command {
|
||||
None,
|
||||
)?;
|
||||
}
|
||||
StageEnum::History => {
|
||||
StageEnum::AccountHistory | StageEnum::StorageHistory => {
|
||||
tx.clear::<tables::AccountHistory>()?;
|
||||
tx.clear::<tables::StorageHistory>()?;
|
||||
tx.put::<tables::SyncStage>(
|
||||
|
||||
Reference in New Issue
Block a user