go-ethereum icon indicating copy to clipboard operation
go-ethereum copied to clipboard

eth/tracers/native: handle interrupt via proxy

Open s1na opened this issue 2 years ago • 1 comments

This is mostly an experiment. The proxy is itself a pseudo-tracer that handles interrupts and only forwards events to the actual native tracer in case there's no interrupt. The goal is to make the actual tracing code cleaner.

s1na avatar Jul 07 '22 16:07 s1na

I think it's a nice idea :)

rjl493456442 avatar Jul 08 '22 05:07 rjl493456442

From https://github.com/ethereum/go-ethereum/pull/26086 :

Unrelated commit in the PR: I also moved EVM cancellation to be the API's responsibility instead of the tracer. I feel like it's more fitting.

IMO #26086 is cleaner, and makes this PR moot

holiman avatar Nov 05 '22 14:11 holiman