Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita committed Dec 20, 2024
1 parent dba8079 commit 832037e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
14 changes: 12 additions & 2 deletions src/tracing/js/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,11 @@ where
}
}

fn step_end(&mut self, interp: &mut Interpreter<EthInterpreter>, context: &mut PrevContext<DB>) {
fn step_end(
&mut self,
interp: &mut Interpreter<EthInterpreter>,
context: &mut PrevContext<DB>,
) {
if self.step_fn.is_none() {
return;
}
Expand All @@ -444,7 +448,13 @@ where
}
}

fn log(&mut self, _interp: &mut Interpreter<EthInterpreter>, _context: &mut PrevContext<DB>, _log: &Log) {}
fn log(
&mut self,
_interp: &mut Interpreter<EthInterpreter>,
_context: &mut PrevContext<DB>,
_log: &Log,
) {
}

fn call(
&mut self,
Expand Down
7 changes: 6 additions & 1 deletion tests/it/geth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ use alloy_rpc_types_trace::geth::{
mux::MuxConfig, CallConfig, FlatCallConfig, GethDebugBuiltInTracerType, GethDebugTracerConfig,
GethTrace, PreStateConfig, PreStateFrame,
};
use revm::{context::{CfgEnv, TxEnv}, context_interface::TransactTo, database_interface::EmptyDB, specification::hardfork::SpecId};
use revm::{
context::{CfgEnv, TxEnv},
context_interface::TransactTo,
database_interface::EmptyDB,
specification::hardfork::SpecId,
};
use revm_database::CacheDB;
use revm_inspectors::tracing::{MuxInspector, TracingInspector, TracingInspectorConfig};

Expand Down

0 comments on commit 832037e

Please sign in to comment.