diff --git a/zk/stages/stage_sequence_execute_transactions.go b/zk/stages/stage_sequence_execute_transactions.go index 2ee8244a5fa..6adc3b9ae53 100644 --- a/zk/stages/stage_sequence_execute_transactions.go +++ b/zk/stages/stage_sequence_execute_transactions.go @@ -31,6 +31,9 @@ func getNextPoolTransactions(ctx context.Context, cfg SequenceBlockCfg, executio gasLimit := utils.GetBlockGasLimitForFork(forkId) + ti := utils.StartTimer("txpool", "get-transactions") + defer ti.LogTimer() + if err := cfg.txPoolDb.View(ctx, func(poolTx kv.Tx) error { slots := types2.TxsRlp{} if allConditionsOk, _, err = cfg.txPool.YieldBest(cfg.yieldSize, &slots, poolTx, executionAt, gasLimit, alreadyYielded); err != nil {