eth/tracers: add multiplexing tracer (#26086)

* eth/tracers: add native multiplexing tracer

* minor improv callTracer

* mv evm cancellation to api
This commit is contained in:
Sina Mahmoodi
2022-11-08 10:16:52 +01:00
committed by GitHub
parent d629e02047
commit 53b624b56d
5 changed files with 150 additions and 13 deletions
-1
View File
@@ -151,7 +151,6 @@ func (l *StructLogger) CaptureStart(env *vm.EVM, from common.Address, to common.
func (l *StructLogger) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, rData []byte, depth int, err error) {
// If tracing was interrupted, set the error and stop
if atomic.LoadUint32(&l.interrupt) > 0 {
l.env.Cancel()
return
}
// check if already accumulated the specified number of logs