go-ethereum/eth/tracers/internal/tracetest/testdata
Daniel Liu 20e3de2c4b
eth/tracers: add disableCode/Storage options for prestateTracer #30648 (#1498)
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: Delweng <delweng@gmail.com>
Co-authored-by: Sina M <1591639+s1na@users.noreply.github.com>
2025-09-17 08:22:13 +08:00
..
call_tracer eth/tracers: live chain tracing with hooks #29189 (#1352) 2025-09-09 17:30:56 +08:00
call_tracer_flat eth/tracers: flatCallTracer error compatible with parity #30497 (#1499) 2025-09-17 08:18:09 +08:00
call_tracer_legacy eth/tracers: report correct gasLimit in call tracers #27029 (#1325) 2025-09-09 11:56:50 +08:00
call_tracer_withLog eth/tracers: clear error for non-reverting pre-homestead fail #29824 (#1471) 2025-09-13 10:29:34 +08:00
contract_tracer eth/tracers: package restructuring #23857 (#1266) 2025-08-29 05:26:36 +08:00
prestate_tracer eth/tracers: add disableCode/Storage options for prestateTracer #30648 (#1498) 2025-09-17 08:22:13 +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: add disableCode/Storage options for prestateTracer #30648 (#1498) 2025-09-17 08:22:13 +08:00