From 7ad74a6d37d7421fcea510d29f64477bfe1f5c6c Mon Sep 17 00:00:00 2001 From: irrun Date: Wed, 5 Jun 2024 18:05:44 +0800 Subject: [PATCH] chore: add log --- miner/bid_simulator.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/miner/bid_simulator.go b/miner/bid_simulator.go index b425d59e56..4f6f2b92de 100644 --- a/miner/bid_simulator.go +++ b/miner/bid_simulator.go @@ -255,6 +255,9 @@ func (b *bidSimulator) SetBestBid(prevBlockHash common.Hash, bid *BidRuntime) { last.env.discard() } + log.Info("BidSimulator: set best bid", "number", bid.bid.BlockNumber, "builder", bid.bid.Builder, + "txs", len(bid.env.txs)) + b.bestBid[prevBlockHash] = bid }