Skip to content

Commit

Permalink
Remove redundant block number check
Browse files Browse the repository at this point in the history
  • Loading branch information
intoverflow committed Nov 30, 2023
1 parent 1e9441e commit fc696d2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/src/optimism/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,6 @@ impl<D: BatcherDb> DeriveMachine<D> {
self.op_batches.state.safe_head.hash
);

// Verify new op head has the expected block number
assert_eq!(new_op_head.number, self.op_block_no);

// Verify that the new op head transactions are consistent with the batch transactions
{
let system_tx = self.derive_system_transaction(&op_batch);
Expand Down

0 comments on commit fc696d2

Please sign in to comment.