go-ethereum/core/vm/runtime
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
..
doc.go core/vm/runtime: added simple execution runtime 2015-11-18 16:50:20 +01:00
env.go core/vm/runtime: add Random field to config #28001 (#1234) 2025-07-26 17:41:56 +08:00
runtime.go all: rename ChainId to ChainID #16853 (#1456) 2025-09-09 22:54:34 +08:00
runtime_example_test.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
runtime_fuzz_test.go tests/fuzzers: move fuzzers into native packages (#28467) 2024-12-28 09:06:31 +08:00
runtime_test.go eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00