go-ethereum/eth/tracers/native
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
..
4byte.go eth/tracers: use non-threaded tracechain #24283 (#1315) 2025-09-09 10:25:37 +08:00
call.go eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
call_flat.go eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
contract.go eth/tracers: use non-threaded tracechain #24283 (#1315) 2025-09-09 10:25:37 +08:00
gen_account_json.go eth/tracers: simplify test framework #25973 (#1304) 2025-09-09 07:46:56 +08:00
gen_callframe_json.go eth/tracer: rename to revertReason #26574 (#1316) 2025-09-09 10:34:50 +08:00
gen_flatcallaction_json.go eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
gen_flatcallresult_json.go eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
mux.go eth/tracers: use non-threaded tracechain #24283 (#1315) 2025-09-09 10:25:37 +08:00
noop.go eth/tracers: use non-threaded tracechain #24283 (#1315) 2025-09-09 10:25:37 +08:00
prestate.go eth/tracers: use non-threaded tracechain #24283 (#1315) 2025-09-09 10:25:37 +08:00