diff --git a/miner/bidder.go b/miner/bidder.go index 83a1afbc5e..f00ec75f6f 100644 --- a/miner/bidder.go +++ b/miner/bidder.go @@ -278,7 +278,7 @@ func (b *Bidder) bid(work *environment) { _, err := cli.SendBid(context.Background(), bidArgs) if err != nil { b.deleteBestWork(work) - log.Error("Bidder: bidding failed", "err", err) + log.Error("Bidder: bidding failed", "err", err, "number", work.header.Number, "txs", len(work.txs), "unrevertible", len(work.UnRevertible)) var bidErr rpc.Error ok := errors.As(err, &bidErr) diff --git a/miner/worker_builder.go b/miner/worker_builder.go index 8e26af0928..fdd41752c9 100644 --- a/miner/worker_builder.go +++ b/miner/worker_builder.go @@ -366,21 +366,22 @@ func (w *worker) mergeBundles( continue } - log.Info("included bundle", - "gasUsed", simulatedBundle.BundleGasUsed, - "gasPrice", simulatedBundle.BundleGasPrice, - "txcount", len(simulatedBundle.OriginalBundle.Txs)) - includedTxs = append(includedTxs, bundle.OriginalBundle.Txs...) mergedBundle.BundleGasFees.Add(mergedBundle.BundleGasFees, simulatedBundle.BundleGasFees) mergedBundle.BundleGasUsed += simulatedBundle.BundleGasUsed - for _, tx := range includedTxs { + for _, tx := range bundle.OriginalBundle.Txs { if !containsHash(bundle.OriginalBundle.RevertingTxHashes, tx.Hash()) { env.UnRevertible = append(env.UnRevertible, tx.Hash()) } } + + log.Info("included bundle", + "gasUsed", simulatedBundle.BundleGasUsed, + "gasPrice", simulatedBundle.BundleGasPrice, + "txcount", len(simulatedBundle.OriginalBundle.Txs), + "unrevertible", len(env.UnRevertible)) } if len(includedTxs) == 0 { @@ -448,7 +449,6 @@ func (w *worker) simulateBundle( } if env.header.BaseFee != nil { - log.Info("simulate bundle: header base fee", "value", env.header.BaseFee.String()) effectiveTip.Add(effectiveTip, env.header.BaseFee) }