Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
varun-doshi committed Dec 31, 2024
1 parent 170afd2 commit 7c550fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 29 deletions.
3 changes: 1 addition & 2 deletions crates/inspector/src/inspector_instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use core::mem::MaybeUninit;
use revm::{
bytecode::opcode::OpCode,
context_interface::JournalGetter,
handler_interface::PrecompileProvider,
interpreter::{
instructions::host::{log, selfdestruct},
interpreter::InstructionProvider,
Expand All @@ -12,7 +11,7 @@ use revm::{
},
JournalEntry,
};
use std::{rc::Rc, vec::Vec};
use std::rc::Rc;

use crate::{
journal::{JournalExt, JournalExtGetter},
Expand Down
30 changes: 3 additions & 27 deletions crates/inspector/src/journal.rs
Original file line number Diff line number Diff line change
@@ -1,35 +1,11 @@
use auto_impl::auto_impl;
use core::mem::MaybeUninit;
use revm::{
bytecode::opcode::OpCode,
context::JournaledState,
context_interface::{
block::BlockSetter,
journaled_state::{AccountLoad, Eip7702CodeLoad},
transaction::TransactionSetter,
BlockGetter, CfgGetter, DatabaseGetter, ErrorGetter, TransactionGetter,
},
database_interface::{Database, EmptyDB},
handler::{
EthExecution, EthFrame, EthHandler, EthPostExecution, EthPreExecution,
EthPrecompileProvider, EthValidation, FrameResult,
},
handler_interface::{Frame, FrameOrResultGen, PrecompileProvider},
interpreter::{
instructions::host::{log, selfdestruct},
interpreter::{EthInterpreter, InstructionProvider},
interpreter_types::{Jumps, LoopControl},
table::{self, CustomInstruction},
CallInputs, CallOutcome, CreateInputs, CreateOutcome, EOFCreateInputs, FrameInput, Host,
Instruction, InstructionResult, Interpreter, InterpreterTypes, SStoreResult,
SelfDestructResult, StateLoad,
},
precompile::PrecompileErrors,
primitives::{Address, Bytes, Log, B256, U256},
database_interface::Database,
primitives::Log,
state::EvmState,
Context, Error, Evm, JournalEntry,
JournalEntry,
};
use std::{rc::Rc, vec::Vec};

pub trait JournalExt {
fn logs(&self) -> &[Log];
Expand Down

0 comments on commit 7c550fe

Please sign in to comment.