Skip to content

Commit

Permalink
feat: flush oracle cache on reorg op-rs#724
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Oct 30, 2024
1 parent 13d7e82 commit af13dfd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/client/src/l1/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ where
.signal(),
)
.await?;
} else if matches!(e, ResetError::ReorgDetected(_, _)) {
self.pipeline.signal(Signal::FlushChannel).await?;
} else {
// Reset the pipeline to the initial L2 safe head and L1 origin,
// and try again.
Expand Down

0 comments on commit af13dfd

Please sign in to comment.