go-ethereum/eth/tracers/internal/tracetest
Delweng 5d52a35931
eth/tracers: add diffMode to prestateTracer (#25422)
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>
2022-10-05 19:05:43 -05:00
..
testdata eth/tracers: add diffMode to prestateTracer (#25422) 2022-10-05 19:05:43 -05:00
calltrace_test.go eth/tracers: add diffMode to prestateTracer (#25422) 2022-10-05 19:05:43 -05:00
prestate_test.go eth/tracers: add diffMode to prestateTracer (#25422) 2022-10-05 19:05:43 -05:00
util.go eth/tracers: add diffMode to prestateTracer (#25422) 2022-10-05 19:05:43 -05:00