go-ethereum/core/vm
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
..
runtime core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
testdata
access_list_tracer.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
analysis.go core/vm: faster code analysis (#23381) 2021-08-24 10:00:10 +03:00
analysis_test.go core/vm: rework jumpdest analysis benchmarks (#23499) 2021-08-30 14:13:06 +02:00
common.go
contract.go
contracts.go
contracts_test.go
doc.go
eips.go
errors.go
evm.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
gas.go
gas_table.go core/vm: fix typo in comment (#23450) 2021-08-24 13:57:05 +02:00
gas_table_test.go
gen_structlog.go eth/tracers: improve tracing performance (#23016) 2021-07-01 09:15:04 +02:00
instructions.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
instructions_test.go all: remove noop vm config flags (#23111) 2021-07-06 22:03:09 +02:00
interface.go
interpreter.go core/vm: faster code analysis (#23381) 2021-08-24 10:00:10 +03:00
jump_table.go
logger.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
logger_json.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
logger_test.go core/state: remove unused methods ReturnGas, GetStorageProofByHash (#23092) 2021-06-25 14:34:09 +02:00
memory.go
memory_table.go
opcodes.go
operations_acl.go
stack.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
stack_table.go