fix: fail on unwind during reth import (#12062)

This commit is contained in:
Arsenii Kulikov
2024-10-25 16:10:20 +04:00
committed by GitHub
parent a87d654c55
commit 58441c158b
5 changed files with 30 additions and 2 deletions

View File

@ -207,6 +207,7 @@ where
.with_tip_sender(tip_tx)
// we want to sync all blocks the file client provides or 0 if empty
.with_max_block(max_block)
.with_fail_on_unwind(true)
.add_stages(
DefaultStages::new(
provider_factory.clone(),