Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Wodann committed Sep 25, 2024
1 parent ce06c22 commit 81c5dae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/optimism/src/handler_register.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use revm::{
mainnet::{self, deduct_caller_inner},
register::EvmHandler,
},
interpreter::{return_ok, return_revert, Gas, InstructionResult},
interpreter::{return_ok, return_revert, Gas},
precompile::{secp256r1, PrecompileSpecId},
primitives::{HashMap, U256},
state::Account,
Expand Down Expand Up @@ -432,7 +432,7 @@ mod tests {
use database::InMemoryDB;
use revm::{
database_interface::EmptyDB,
interpreter::{CallOutcome, InterpreterResult},
interpreter::{CallOutcome, InstructionResult, InterpreterResult},
primitives::{bytes, Address, Bytes, B256},
state::AccountInfo,
};
Expand Down
5 changes: 3 additions & 2 deletions crates/revm/src/handler/mainnet/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use crate::{
use core::mem;
use interpreter::{
return_ok, return_revert, table::InstructionTables, CallInputs, CallOutcome, CreateInputs,
CreateOutcome, EOFCreateInputs, Gas, InstructionResult, InterpreterAction, InterpreterResult,
SharedMemory, EMPTY_SHARED_MEMORY,
CreateOutcome, EOFCreateInputs, Gas, InterpreterAction, InterpreterResult, SharedMemory,
EMPTY_SHARED_MEMORY,
};
use specification::hardfork::Spec;
use std::boxed::Box;
Expand Down Expand Up @@ -194,6 +194,7 @@ pub fn insert_eofcreate_outcome<EvmWiringT: EvmWiring>(
mod tests {
use super::*;
use crate::handler::mainnet::refund;
use interpreter::InstructionResult;
use primitives::Bytes;
use specification::hardfork::CancunSpec;
use wiring::{default::EnvWiring, DefaultEthereumWiring};
Expand Down

0 comments on commit 81c5dae

Please sign in to comment.