Skip to content

Commit

Permalink
remove reorg check not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Jul 5, 2024
1 parent 96b6f9f commit 72fd65f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/taiko-client/pkg/rpc/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,16 +562,6 @@ func (c *Client) checkSyncedL1SnippetFromAnchor(
return false, err
}

if l1HeightInAnchor+1 != l1Height {
log.Info(
"Reorg detected due to L1 height mismatch",
"blockID", blockID,
"l1HeightInAnchor", l1HeightInAnchor,
"l1Height", l1Height,
)
return true, nil
}

if parentGasUsed != uint32(parent.GasUsed()) {
log.Info(
"Reorg detected due to parent gas used mismatch",
Expand Down

0 comments on commit 72fd65f

Please sign in to comment.