go-ethereum/cmd/utils
Daniel Liu af69d382ff
eth/tracers: various fixes #30540 (#1491)
Breaking changes:

- The ChainConfig was exposed to tracers via VMContext passed in
`OnTxStart`. This is unnecessary specially looking through the lens of
live tracers as chain config remains the same throughout the lifetime of
the program. It was there so that native API-invoked tracers could
access it. So instead we moved it to the constructor of API tracers.

Non-breaking:

- Change the default config of the tracers to be `{}` instead of nil.
This way an extra nil check can be avoided.

Refactoring:

- Rename `supply` struct to `supplyTracer`.
- Un-export some hook definitions.

Co-authored-by: Sina M <1591639+s1na@users.noreply.github.com>
2025-09-17 09:04:38 +08:00
..
cmd.go all: refactor package node #21105 (#923) 2025-04-10 18:52:49 +08:00
flags.go eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00
flags_legacy.go all: remove personal RPC namespace #30704 (#1180) 2025-07-02 09:11:58 +08:00
flags_test.go all: use T.TempDir to create temporary test directories (#24633) 2025-01-24 16:54:08 +08:00