plugeth/eth/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
..
internal/tracers core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
testdata core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
api_test.go core: check if sender is EOA (#23303) 2021-08-07 19:38:18 +02:00
api.go all: removed blockhash from statedb (#23126) 2021-06-30 15:17:01 +02:00
tracer_test.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
tracer.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
tracers_test.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
tracers.go cmd, core, eth/tracers: support fancier js tracing (#15516) 2017-12-21 13:56:11 +02:00