From 451acc6c7b03a40767307965356fea1bac28dd83 Mon Sep 17 00:00:00 2001 From: Matthieu Vachon Date: Mon, 9 Jun 2025 13:42:25 -0400 Subject: [PATCH] Disable pre-fetch tracing --- core/blockchain.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/blockchain.go b/core/blockchain.go index 8387b9e64a..3eb8f650dd 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -664,8 +664,13 @@ 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, bc.vmConfig, ctx) + res, err := bc.processor.Process(block, statedb, vmCfg, ctx) blockExecutionSerialTimer.UpdateSince(pstart) if err == nil { vstart := time.Now()