go-ethereum/eth/tracers
Daniel Liu 0988b4b9fd
eth/tracers: add diffMode to prestateTracer #25422 (#1299)
Backwards compatibility warning: The result will from now on omit empty fields instead
of including a zero value (e.g. no more `balance: '0x'`).

The prestateTracer will now take an option `diffMode: bool`. In this mode
the tracer will output the pre state and post data for the modified parts of state.
Read-only accesses will be completely omitted. Creations (be it account or slot)
will be signified by omission in the `pre` list and inclusion in `post`. Whereas
deletion (be it account or slot) will be signified by inclusion in `pre` and omission
in `post` list.

Signed-off-by: Delweng <delweng@gmail.com>
Co-authored-by: Delweng <delweng@gmail.com>
2025-09-09 06:56:34 +08:00
..
internal/tracetest eth/tracers: add diffMode to prestateTracer #25422 (#1299) 2025-09-09 06:56:34 +08:00
js eth/tracers: remove revertReasonTracer, add revert reason to callTracer #25508 (#1298) 2025-09-09 06:43:32 +08:00
logger eth/tracers: refactor traceTx to separate out struct logging #24326 (#1278) 2025-09-08 20:55:06 +08:00
native eth/tracers: add diffMode to prestateTracer #25422 (#1299) 2025-09-09 06:56:34 +08:00
api.go eth: rework chain tracer #25143 #25715 #29162 (#1294) 2025-09-09 00:06:07 +08:00
api_test.go eth: rework chain tracer #25143 #25715 #29162 (#1294) 2025-09-09 00:06:07 +08:00
tracers.go eth/tracers: package restructuring #23857 (#1266) 2025-08-29 05:26:36 +08:00
tracers_test.go eth/tracers: fix typo and linter #25020 #24783 #25551 (#1286) 2025-09-08 21:15:42 +08:00