go-ethereum/eth/tracers
Sina M 978ca5fc5e
eth/tracers: various fixes (#30540)
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.
2024-10-17 06:51:47 +02:00
..
internal eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
js eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
live eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
logger build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
native eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
api.go eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
api_test.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
dir.go eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
live.go eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
tracers_test.go eth/tracers: live chain tracing with hooks (#29189) 2024-03-22 18:53:53 +01:00
tracker.go eth/traces: add state limit (#25812) 2022-10-06 10:48:04 +02:00
tracker_test.go eth/traces: add state limit (#25812) 2022-10-06 10:48:04 +02:00