go-ethereum/cmd/utils
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
..
cmd.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
diskusage.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
diskusage_openbsd.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
diskusage_windows.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
export_test.go all: simplify tests using t.TempDir() (#30150) 2024-07-15 15:26:58 +02:00
flags.go eth/tracers: various fixes (#30540) 2024-10-17 06:51:47 +02:00
flags_legacy.go eth/ethconfig: remove LES server config (#30298) 2024-08-15 11:42:39 +02:00
flags_test.go build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
history_test.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
prompt.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
prompt_test.go build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00