@@ -53,23 +53,17 @@ impl<DB: Database> revm::Inspector<DB> for Inspector {
5353 & mut self ,
5454 interp : & mut Interpreter ,
5555 data : & mut EVMData < ' _ , DB > ,
56- is_static : bool ,
5756 ) -> InstructionResult {
5857 call_inspectors ! ( [ & mut self . tracer] , |inspector| {
59- inspector. initialize_interp( interp, data, is_static ) ;
58+ inspector. initialize_interp( interp, data) ;
6059 } ) ;
6160 InstructionResult :: Continue
6261 }
6362
6463 #[ inline]
65- fn step (
66- & mut self ,
67- interp : & mut Interpreter ,
68- data : & mut EVMData < ' _ , DB > ,
69- is_static : bool ,
70- ) -> InstructionResult {
64+ fn step ( & mut self , interp : & mut Interpreter , data : & mut EVMData < ' _ , DB > ) -> InstructionResult {
7165 call_inspectors ! ( [ & mut self . tracer] , |inspector| {
72- inspector. step( interp, data, is_static ) ;
66+ inspector. step( interp, data) ;
7367 } ) ;
7468 InstructionResult :: Continue
7569 }
@@ -92,11 +86,10 @@ impl<DB: Database> revm::Inspector<DB> for Inspector {
9286 & mut self ,
9387 interp : & mut Interpreter ,
9488 data : & mut EVMData < ' _ , DB > ,
95- is_static : bool ,
9689 eval : InstructionResult ,
9790 ) -> InstructionResult {
9891 call_inspectors ! ( [ & mut self . tracer] , |inspector| {
99- inspector. step_end( interp, data, is_static , eval) ;
92+ inspector. step_end( interp, data, eval) ;
10093 } ) ;
10194 eval
10295 }
@@ -106,10 +99,9 @@ impl<DB: Database> revm::Inspector<DB> for Inspector {
10699 & mut self ,
107100 data : & mut EVMData < ' _ , DB > ,
108101 call : & mut CallInputs ,
109- is_static : bool ,
110102 ) -> ( InstructionResult , Gas , Bytes ) {
111103 call_inspectors ! ( [ & mut self . tracer, Some ( & mut self . log_collector) ] , |inspector| {
112- inspector. call( data, call, is_static ) ;
104+ inspector. call( data, call) ;
113105 } ) ;
114106
115107 ( InstructionResult :: Continue , Gas :: new ( call. gas_limit ) , Bytes :: new ( ) )
@@ -123,10 +115,9 @@ impl<DB: Database> revm::Inspector<DB> for Inspector {
123115 remaining_gas : Gas ,
124116 ret : InstructionResult ,
125117 out : Bytes ,
126- is_static : bool ,
127118 ) -> ( InstructionResult , Gas , Bytes ) {
128119 call_inspectors ! ( [ & mut self . tracer] , |inspector| {
129- inspector. call_end( data, inputs, remaining_gas, ret, out. clone( ) , is_static ) ;
120+ inspector. call_end( data, inputs, remaining_gas, ret, out. clone( ) ) ;
130121 } ) ;
131122 ( ret, remaining_gas, out)
132123 }
0 commit comments