Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Commit

Permalink
chore: removed useless import
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Jul 9, 2023
1 parent bc46ac2 commit 05e2047
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/revm/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ use std::{

#[cfg(feature = "optimism")]
use crate::optimism;
#[cfg(feature = "optimism")]
use reth_primitives::Log;

/// Main block executor
pub struct Executor<DB>
Expand Down Expand Up @@ -344,7 +342,7 @@ where
)?;

// cast revm logs to reth logs
let logs: Vec<Log> = result.logs().into_iter().map(into_reth_log).collect();
let logs = result.logs().into_iter().map(into_reth_log).collect();

// Push transaction changeset and calculate header bloom filter for receipt.
post_state.add_receipt(
Expand Down

0 comments on commit 05e2047

Please sign in to comment.