@@ -187,7 +187,7 @@ func (evm *EVM) Call(caller ContractRef, addr common.Address, input []byte, gas
187187 evm .Config .Tracer .CaptureStart (evm , caller .Address (), addr , false , input , gas , value )
188188 evm .Config .Tracer .CaptureEnd (ret , 0 , 0 , nil )
189189 } else {
190- evm .Config .Tracer .CaptureEnter (CALL , caller .Address (), addr , input , gas , value )
190+ evm .Config .Tracer .CaptureEnter (evm , CALL , caller .Address (), addr , input , gas , value )
191191 evm .Config .Tracer .CaptureExit (ret , 0 , nil )
192192 }
193193 }
@@ -206,7 +206,7 @@ func (evm *EVM) Call(caller ContractRef, addr common.Address, input []byte, gas
206206 }(gas , time .Now ())
207207 } else {
208208 // Handle tracer events for entering and exiting a call frame
209- evm .Config .Tracer .CaptureEnter (CALL , caller .Address (), addr , input , gas , value )
209+ evm .Config .Tracer .CaptureEnter (evm , CALL , caller .Address (), addr , input , gas , value )
210210 defer func (startGas uint64 ) {
211211 evm .Config .Tracer .CaptureExit (ret , startGas - gas , err )
212212 }(gas )
@@ -272,7 +272,7 @@ func (evm *EVM) CallCode(caller ContractRef, addr common.Address, input []byte,
272272
273273 // Invoke tracer hooks that signal entering/exiting a call frame
274274 if evm .Config .Debug {
275- evm .Config .Tracer .CaptureEnter (CALLCODE , caller .Address (), addr , input , gas , value )
275+ evm .Config .Tracer .CaptureEnter (evm , CALLCODE , caller .Address (), addr , input , gas , value )
276276 defer func (startGas uint64 ) {
277277 evm .Config .Tracer .CaptureExit (ret , startGas - gas , err )
278278 }(gas )
@@ -316,7 +316,7 @@ func (evm *EVM) DelegateCall(caller ContractRef, addr common.Address, input []by
316316
317317 // Invoke tracer hooks that signal entering/exiting a call frame
318318 if evm .Config .Debug {
319- evm .Config .Tracer .CaptureEnter (DELEGATECALL , caller .Address (), addr , input , gas , nil )
319+ evm .Config .Tracer .CaptureEnter (evm , DELEGATECALL , caller .Address (), addr , input , gas , nil )
320320 defer func (startGas uint64 ) {
321321 evm .Config .Tracer .CaptureExit (ret , startGas - gas , err )
322322 }(gas )
@@ -369,7 +369,7 @@ func (evm *EVM) StaticCall(caller ContractRef, addr common.Address, input []byte
369369
370370 // Invoke tracer hooks that signal entering/exiting a call frame
371371 if evm .Config .Debug {
372- evm .Config .Tracer .CaptureEnter (STATICCALL , caller .Address (), addr , input , gas , nil )
372+ evm .Config .Tracer .CaptureEnter (evm , STATICCALL , caller .Address (), addr , input , gas , nil )
373373 defer func (startGas uint64 ) {
374374 evm .Config .Tracer .CaptureExit (ret , startGas - gas , err )
375375 }(gas )
@@ -456,7 +456,7 @@ func (evm *EVM) create(caller ContractRef, codeAndHash *codeAndHash, gas uint64,
456456 if evm .depth == 0 {
457457 evm .Config .Tracer .CaptureStart (evm , caller .Address (), address , true , codeAndHash .code , gas , value )
458458 } else {
459- evm .Config .Tracer .CaptureEnter (typ , caller .Address (), address , codeAndHash .code , gas , value )
459+ evm .Config .Tracer .CaptureEnter (evm , typ , caller .Address (), address , codeAndHash .code , gas , value )
460460 }
461461 }
462462
0 commit comments