go-ethereum/eth/tracers
Chris Ziogas 1361040a37 eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320)
Adds support for a native call tracer with the Parity format, which outputs call frames
in a flat array. This tracer accepts the following options:

- `convertParityErrors: true` will convert error messages to match those of Parity
- `includePrecompiles: true` will report all calls to precompiles. The default
  matches Parity's behavior where CALL and STATICCALLs to precompiles are excluded

Incompatibilities with Parity include:

- Parity removes the result object in case of failure. This behavior is maintained
  with the exception of reverts. Revert output usually contains useful information,
  i.e. Solidity revert reason.
- The `gasUsed` field accounts for intrinsic gas (e.g. 21000 for simple transfers)
  and refunds unlike Parity
- Block rewards are not reported

Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2025-09-09 11:03:38 +08:00
..
internal/tracetest eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
js eth/tracers: use non-threaded tracechain #24283 (#1315) 2025-09-09 10:25:37 +08:00
logger eth/tracers, core/vm: remove time from trace output and tracing interface #26291 (#1311) 2025-09-09 09:26:10 +08:00
native eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
api.go eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
api_test.go eth/tracers: return proper error from debug_TraceTransaction when tx not found #26211 (#1312) 2025-09-09 09:36:14 +08:00
tracers.go eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
tracers_test.go eth/tracers: fix typo and linter #25020 #24783 #25551 (#1286) 2025-09-08 21:15:42 +08:00
tracker.go eth/traces: add state limit #25812 (#1300) 2025-09-09 07:03:24 +08:00
tracker_test.go eth/traces: add state limit #25812 (#1300) 2025-09-09 07:03:24 +08:00