mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 16:59:26 +00:00
AccessList previously applied state overrides with a nil precompile set. That meant MovePrecompileTo could not recognize source precompiles in this path, and AccessList generation could diverge from the behavior already used by DoCall and DoEstimateGas. Fix this by constructing a mutable precompile set from the active rules before applying state overrides, then reusing the resulting set for both access-list tracer exclusion and EVM execution. This ensures moved or overridden precompiles are handled consistently throughout access-list generation. Also add regression coverage for CreateAccessList with MovePrecompileTo so the state override path is exercised directly, in addition to the existing EstimateGas coverage. Full go run ./build/ci.go test is currently failing in github.com/ethereum/go-ethereum/tests at TestExecutionSpecTransaction, which was not part of this change and was committed per explicit user instruction. |
||
|---|---|---|
| .. | ||
| override | ||
| testdata | ||
| addrlock.go | ||
| api.go | ||
| api_test.go | ||
| backend.go | ||
| dbapi.go | ||
| errors.go | ||
| logtracer.go | ||
| simulate.go | ||
| simulate_test.go | ||
| transaction_args.go | ||
| transaction_args_test.go | ||