mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
The WithReader() call creates a deep copy (Copy()) of the StateDB per-tx. Mutations are captured from the copy, but the copy is discarded — so env.state never accumulates state changes across txs. This causes coinbase balance in BAL entries to not reflect priority fee accumulation from prior transactions. Fix: remove the stateCopy/WithReader path. Execute directly on env.state (which already has a tracked reader from makeEnv), matching the sequential state processor's approach. |
||
|---|---|---|
| .. | ||
| stress | ||
| miner.go | ||
| miner_test.go | ||
| ordering.go | ||
| ordering_test.go | ||
| payload_building.go | ||
| payload_building_test.go | ||
| pending.go | ||
| worker.go | ||