Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Wollac committed Jan 23, 2024
1 parent 8011527 commit 90b5373
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/optimism/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ impl<D: BatcherDb> DeriveMachine<D> {
hash: set_l1_block_values.hash,
},
},
&eth_head,
eth_head,
)?
};

Expand Down Expand Up @@ -210,7 +210,7 @@ impl<D: BatcherDb> DeriveMachine<D> {
.context("block not found")?;

self.op_batcher
.process_l1_block(&eth_block)
.process_l1_block(eth_block)
.context("failed to create batcher transactions")?;
}
process_next_eth_block = true;
Expand Down Expand Up @@ -273,7 +273,7 @@ impl<D: BatcherDb> DeriveMachine<D> {
"Invalid op block gas limit"
);
ensure!(
new_op_head.timestamp == U256::from(op_batch.essence.timestamp),
new_op_head.timestamp == U256::from(op_batch.0.timestamp),
"Invalid op block timestamp"
);
ensure!(
Expand All @@ -286,7 +286,7 @@ impl<D: BatcherDb> DeriveMachine<D> {
let l1_epoch_header = self
.derive_input
.db
.get_full_eth_block(op_batch.essence.epoch_num)
.get_full_eth_block(op_batch.0.epoch_num)
.context("eth block not found")?
.block_header
.clone();
Expand Down

0 comments on commit 90b5373

Please sign in to comment.