go-ethereum/miner
qu0b 232bedfb31 miner: fix nil statedb panic in applyTransaction pre-amsterdam
When accessList is nil (pre-Amsterdam blocks), stateCopy is never
assigned and passed as nil to core.ApplyTransaction. This causes a
nil pointer dereference at state_processor.go:224 when checking
statedb.Database().TrieDB().IsVerkle().

Set stateCopy = env.state in the non-Amsterdam path so
ApplyTransaction always receives a valid statedb.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 14:01:59 +00:00
..
stress core: implement eip-7778: block gas accounting without refunds (#33593) 2026-03-04 18:18:18 +08:00
miner.go cmd/utils: fix dumpconfig (#33302) 2025-11-28 10:13:01 +01:00
miner_test.go core: consolidate BlockChain constructor options (#31925) 2025-06-19 12:21:15 +02:00
ordering.go core/txpool, eth, miner: retrieve plain and blob txs separately (#29026) 2024-02-20 11:37:23 +02:00
ordering_test.go core/txpool, miner: speed up blob pool pending retrievals (#29008) 2024-02-19 15:59:40 +02:00
payload_building.go miner: avoid unnecessary work after payload resolution (#33943) 2026-03-04 11:58:51 +08:00
payload_building_test.go core: consolidate BlockChain constructor options (#31925) 2025-06-19 12:21:15 +02:00
pending.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
worker.go miner: fix nil statedb panic in applyTransaction pre-amsterdam 2026-03-06 14:01:59 +00:00