plugeth/eth/tracers/internal/tracetest/testdata
Chris Ziogas 2ad150d986
eth/tracers: add native flatCallTracer (aka parity style tracer) (#26377)
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>
2023-02-28 13:54:37 +03:30
..
call_tracer core/vm: set tracer-observable value of a delegatecall to match parent value (#26632) 2023-02-10 10:26:43 +01:00
call_tracer_flat eth/tracers: add native flatCallTracer (aka parity style tracer) (#26377) 2023-02-28 13:54:37 +03:30
call_tracer_legacy eth/tracers: fix gasUsed for native and JS tracers (#26048) 2022-10-28 12:28:29 +02:00
call_tracer_withLog core/vm: set tracer-observable value of a delegatecall to match parent value (#26632) 2023-02-10 10:26:43 +01:00
prestate_tracer eth/tracers: simplify test framework (#25973) 2022-10-21 17:55:15 +02:00
prestate_tracer_legacy eth/tracers: simplify test framework (#25973) 2022-10-21 17:55:15 +02:00
prestate_tracer_with_diff_mode eth/tracers: prestateTracer - exclude unchanged storage slots in diffMode (#25944) 2022-11-01 14:25:44 +01:00