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

Commit

Permalink
Merge pull request #10 from refcell/merklefruit/chore-remove-import
Browse files Browse the repository at this point in the history
chore(executor): removed useless import
  • Loading branch information
clabby authored Jul 9, 2023
2 parents bc46ac2 + 05e2047 commit f689ac2
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 f689ac2

Please sign in to comment.