fix(op):skip db consistency check for op mainnet (#9737)

Co-authored-by: Russel Waters <6511720+argakiig@users.noreply.github.com>
This commit is contained in:
Emilia Hane
2024-07-23 23:12:07 +02:00
committed by GitHub
parent f3cd39ef90
commit b2b3ff8128
3 changed files with 12 additions and 4 deletions

View File

@@ -371,8 +371,6 @@ where
let has_receipt_pruning =
self.toml_config().prune.as_ref().map_or(false, |a| a.has_receipts_pruning());
info!(target: "reth::cli", "Verifying storage consistency.");
// Check for consistency between database and static files. If it fails, it unwinds to
// the first block that's consistent between database and static files.
if let Some(unwind_target) = factory