mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 19:40:36 +00:00
401354976b
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. |
||
---|---|---|
.. | ||
runtime | ||
testdata | ||
access_list_tracer.go | ||
analysis_test.go | ||
analysis.go | ||
common.go | ||
contract.go | ||
contracts_test.go | ||
contracts.go | ||
doc.go | ||
eips.go | ||
errors.go | ||
evm.go | ||
gas_table_test.go | ||
gas_table.go | ||
gas.go | ||
gen_structlog.go | ||
instructions_test.go | ||
instructions.go | ||
interface.go | ||
interpreter.go | ||
jump_table.go | ||
logger_json.go | ||
logger_test.go | ||
logger.go | ||
memory_table.go | ||
memory.go | ||
opcodes.go | ||
operations_acl.go | ||
stack_table.go | ||
stack.go |