chore: run txlookup stage after exec (#1091)

This commit is contained in:
Georgios Konstantopoulos
2023-01-30 19:55:08 -08:00
committed by GitHub
parent b72c9bc9fe
commit 6ef48829bd

View File

@ -107,7 +107,6 @@ where
.add_stage(HeaderStage::new(self.header_downloader, self.consensus.clone()))
.add_stage(TotalDifficultyStage::default())
.add_stage(BodyStage { downloader: self.body_downloader, consensus: self.consensus })
.add_stage(TransactionLookupStage::default())
}
}
@ -180,6 +179,7 @@ pub struct HistoryIndexingStages;
impl<DB: Database> StageSet<DB> for HistoryIndexingStages {
fn builder(self) -> StageSetBuilder<DB> {
StageSetBuilder::default()
.add_stage(TransactionLookupStage::default())
.add_stage(IndexStorageHistoryStage::default())
.add_stage(IndexAccountHistoryStage::default())
}