go-ethereum/eth/tracers/native
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
..
4byte.go eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00
call.go eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00
call_flat.go eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00
call_flat_test.go eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00
contract.go eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00
gen_account_json.go eth/tracers: simplify test framework #25973 (#1304) 2025-09-09 07:46:56 +08:00
gen_callframe_json.go eth/tracers/native: set created address to nil in case of failure #26779 (#1321) 2025-09-09 11:17:01 +08:00
gen_flatcallaction_json.go eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
gen_flatcallresult_json.go eth/tracers: add native flatCallTracer (aka parity style tracer) #26377 (#1320) 2025-09-09 11:03:38 +08:00
mux.go eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00
noop.go eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00
prestate.go eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00