Skip to content

Commit dc3ce49

Browse files
committed
always update safe head
1 parent d6a78f9 commit dc3ce49

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/chain-orchestrator/src/consolidation.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ pub(crate) async fn reconcile_batch<L2P: Provider<Scroll>>(
3838

3939
// The block matches the derived attributes and the block is below or equal to the
4040
// safe current safe head.
41-
if attributes.block_number <= fcs.finalized_block_info().number ||
42-
((attributes.block_number <= fcs.safe_block_info().number) &&
43-
batch.target_status.is_consolidated())
44-
{
41+
if attributes.block_number <= fcs.finalized_block_info().number {
4542
Ok::<_, ChainOrchestratorError>(BlockConsolidationAction::Skip(block_info))
4643
} else {
4744
// The block matches the derived attributes, no action is needed.

0 commit comments

Comments
 (0)