go-ethereum/eth/tracers/internal/tracetest/testdata
Delweng 98056e1ef2
eth/tracers: add disableCode/Storage options for prestateTracer (#30648)
When using the prestateTracer, in some cases users are only concerned
with balances or nonce information, and are not interested in the lengthy
contract code or storage data.

Therefore, this PR introduces two new configuration options in the
`prestateTracerConfig` structure:
- `disableCode`
- `disableStorage`

These options allow users to control whether the tracer returns contract
code and storage data during execution tracing. By setting these
options, users can more flexibly customize their needs and focus on
obtaining information that is more critical and relevant to their
specific use cases.

These options work with the default mode as well as `diffMode: true`.

---------

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Sina M <1591639+s1na@users.noreply.github.com>
2024-10-29 07:35:06 +01:00
..
call_tracer all: remove TerminalTotalDifficultyPassed (#30609) 2024-10-23 08:26:18 +02:00
call_tracer_flat all: remove TerminalTotalDifficultyPassed (#30609) 2024-10-23 08:26:18 +02:00
call_tracer_legacy internal/ethapi: remove td field from block (#30386) 2024-10-01 11:36:56 +02:00
call_tracer_withLog all: remove TerminalTotalDifficultyPassed (#30609) 2024-10-23 08:26:18 +02:00
prestate_tracer eth/tracers: add disableCode/Storage options for prestateTracer (#30648) 2024-10-29 07:35:06 +01:00
prestate_tracer_legacy internal/ethapi: remove td field from block (#30386) 2024-10-01 11:36:56 +02:00
prestate_tracer_with_diff_mode eth/tracers: add disableCode/Storage options for prestateTracer (#30648) 2024-10-29 07:35:06 +01:00