Skip to content

Commit

Permalink
debug: add more logs6
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Apr 23, 2024
1 parent 199cadd commit fd30848
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions miner/worker_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ func (w *worker) fillTransactionsAndBundles(interruptCh chan int32, env *environ

{
w.mu.RLock()
tip := w.tip
// tip := w.tip
w.mu.RUnlock()

// Retrieve the pending transactions pre-filtered by the 1559/4844 dynamic fees
filter := txpool.PendingFilter{
MinTip: tip,
// MinTip: tip,
}
if env.header.BaseFee != nil {
filter.BaseFee = uint256.MustFromBig(env.header.BaseFee)
Expand All @@ -83,7 +83,7 @@ func (w *worker) fillTransactionsAndBundles(interruptCh chan int32, env *environ
filter.OnlyPlainTxs, filter.OnlyBlobTxs = false, true
pendingBlobTxs := w.eth.TxPool().Pending(filter)

log.Info("pending tx count", "tip", tip, "plain", len(pendingPlainTxs), "blob", len(pendingBlobTxs))
log.Info("pending tx count", "plain", len(pendingPlainTxs), "blob", len(pendingBlobTxs))

// Split the pending transactions into locals and remotes
// Fill the block with all available pending transactions.
Expand Down

0 comments on commit fd30848

Please sign in to comment.