mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-21 14:14:30 +00:00
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>
|
||
|---|---|---|
| .. | ||
| bft | ||
| downloader | ||
| ethconfig | ||
| fetcher | ||
| filters | ||
| gasprice | ||
| hooks | ||
| tracers | ||
| util | ||
| api.go | ||
| api_backend.go | ||
| api_test.go | ||
| backend.go | ||
| backend_test.go | ||
| bloombits.go | ||
| handler.go | ||
| handler_test.go | ||
| helper_test.go | ||
| metrics.go | ||
| peer.go | ||
| protocol.go | ||
| protocol_test.go | ||
| state_accessor.go | ||
| sync.go | ||
| sync_test.go | ||