From 89c941c2f962a27f67423edc586efce1896a0d75 Mon Sep 17 00:00:00 2001 From: Matthieu Vachon Date: Mon, 9 Jun 2025 14:30:03 -0400 Subject: [PATCH] Revert "Disable pre-fetch tracing" This reverts commit 451acc6c7b03a40767307965356fea1bac28dd83. --- core/blockchain.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/blockchain.go b/core/blockchain.go index 3eb8f650dd..8387b9e64a 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -664,13 +664,8 @@ func (bc *BlockChain) ProcessBlock(block *types.Block, parent *types.Header, wit go func() { statedb.StartPrefetcher("chain", witness) - - // Disable tracing for prefetcher executions. - vmCfg := bc.vmConfig - vmCfg.Tracer = nil - pstart := time.Now() - res, err := bc.processor.Process(block, statedb, vmCfg, ctx) + res, err := bc.processor.Process(block, statedb, bc.vmConfig, ctx) blockExecutionSerialTimer.UpdateSince(pstart) if err == nil { vstart := time.Now()