mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 05:41:35 +00:00
## Why this should be merged
Fixes tracing when a stateful precompile calls another contract that
itself accesses storage.
## How this works
The pre-state tracer from `eth/tracers/native` doesn't implement
`CaptureEnter()` (entry of a new context), instead relying on
`CaptureState()` (per-opcode tracing) to detect that a new contract has
been entered. In doing so, it [maintains an
invariant](
|
||
|---|---|---|
| .. | ||
| internal/tracetest | ||
| js | ||
| logger | ||
| native | ||
| api.go | ||
| api_test.go | ||
| tracers.go | ||
| tracers_test.go | ||
| tracker.go | ||
| tracker_test.go | ||