We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eac74f5 commit 762f2b5Copy full SHA for 762f2b5
crates/chain-orchestrator/src/lib.rs
@@ -841,7 +841,10 @@ impl<
841
.await?;
842
843
// Update the forkchoice state to the new safe block.
844
- self.engine.update_fcs(None, Some(safe_block_info), None).await?;
+ if self.sync_state.is_synced() {
845
+ tracing::info!(target: "scroll::chain_orchestrator", ?safe_block_info, "Updating safe head to block after batch revert");
846
+ self.engine.update_fcs(None, Some(safe_block_info), None).await?;
847
+ }
848
849
Ok(Some(ChainOrchestratorEvent::BatchReverted { batch_info, safe_head: safe_block_info }))
850
}
0 commit comments