From bca5642f56c2bd3a670e9ed09db73b28e4261169 Mon Sep 17 00:00:00 2001 From: felix Date: Fri, 30 Jan 2026 12:59:33 +0000 Subject: [PATCH] core: fix initialization of `parallelProcessor` (#33723) while trying to re-run 7843 tests again i saw geth panic (no clean hive errors btw) and this fixes it. i think `parallelProcessor` field in `BlockChain` was never initialized, so if u get a block with bal u run `processBlockWithAccessList()` which then calls `bc.parallelProcessor.Process(...)` which eventually calls `p.chainConfig()` which then tries `p.chain.Config()` but `p.chain` is still `nil`, ripbozo. i applied this fix and now geth again passes all 7843 tests. you also pass 179/184 tests of eip-8024, but those 5 failing could be on our side and have nothing to do with this pr --- core/blockchain.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/blockchain.go b/core/blockchain.go index a49653ffd4..f563c87e7b 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -437,6 +437,7 @@ func NewBlockChain(db ethdb.Database, genesis *Genesis, engine consensus.Engine, bc.validator = NewBlockValidator(chainConfig, bc) bc.prefetcher = newStatePrefetcher(chainConfig, bc.hc) bc.processor = NewStateProcessor(bc.hc) + bc.parallelProcessor = NewParallelStateProcessor(bc.hc, &cfg.VmConfig) genesisHeader := bc.GetHeaderByNumber(0) if genesisHeader == nil {