go-ethereum/eth/tracers/internal/tracetest/testdata
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
..
call_tracer core/vm: set tracer-observable value of a delegatecall to match parent value #26632 (#1317) 2025-09-09 10:41:48 +08:00
call_tracer_flat eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
call_tracer_legacy eth/tracers: fix gasUsed for native and JS tracers #26048 (#1305) 2025-09-09 07:57:17 +08:00
call_tracer_withLog core/vm: set tracer-observable value of a delegatecall to match parent value #26632 (#1317) 2025-09-09 10:41:48 +08:00
contract_tracer eth/tracers: package restructuring #23857 (#1266) 2025-08-29 05:26:36 +08:00
prestate_tracer eth/tracers: simplify test framework #25973 (#1304) 2025-09-09 07:46:56 +08:00
prestate_tracer_legacy eth/tracers: simplify test framework #25973 (#1304) 2025-09-09 07:46:56 +08:00
prestate_tracer_with_diff_mode eth/tracers: prestateTracer - exclude unchanged storage slots in diffMode #25944 (#1308) 2025-09-09 08:18:33 +08:00