go-ethereum/eth/tracers/internal/tracers
Sina Mahmoodi 401354976b
core,eth: call frame tracing (#23087)
This change introduces 2 new optional methods; `enter()` and `exit()` for js tracers, and makes `step()` optiona. The two new methods are invoked when entering and exiting a call frame (but not invoked for the outermost scope, which has it's own methods). Currently these are the data fields passed to each of them:

    enter: type (opcode), from, to, input, gas, value
    exit: output, gasUsed, error

The PR also comes with a re-write of the callTracer. As a backup we keep the previous tracing script under the name `callTracerLegacy`. Behaviour of both tracers are equivalent for the most part, although there are some small differences (improvements), where the new tracer is more correct / has more information.
2021-09-17 09:31:22 +02:00
..
4byte_tracer.js tracers: fix err in 4byte, add some opcode analysis tools 2018-06-20 11:42:57 +03:00
assets.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
bigram_tracer.js tracers: fix err in 4byte, add some opcode analysis tools 2018-06-20 11:42:57 +03:00
call_tracer_legacy.js core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
call_tracer.js core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
evmdis_tracer.js cmd, crypto, eth, internals: fix Typos (#19868) 2019-07-22 10:34:33 +03:00
noop_tracer.js eth/tracers: fix noop tracer (#17220) 2018-07-22 22:11:52 +03:00
opcount_tracer.js cmd, core, eth/tracers: support fancier js tracing (#15516) 2017-12-21 13:56:11 +02:00
prestate_tracer.js eth, eth/tracers: include intrinsic gas in calltracer, expose for all tracers (#22038) 2020-12-27 21:57:19 +01:00
tracers.go eth/tracer: extend create2 (#18318) 2019-01-05 21:26:50 +01:00
trigram_tracer.js tracers: fix err in 4byte, add some opcode analysis tools 2018-06-20 11:42:57 +03:00
unigram_tracer.js eth/tracers: fix unigram tracer (#22248) 2021-02-01 14:41:43 +01:00