Skip to content

Commit

Permalink
fix: add EthSentToSystem to merged bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Apr 7, 2024
1 parent 55df074 commit ec6f067
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion miner/bidder.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func (b *Bidder) bid(work *environment) {
// TODO: decide builderFee according to realtime traffic and validator commission
}

log.Debug("Bidder: send bid", "number", bid.BlockNumber, "profit",
log.Info("Bidder: send bid", "number", bid.BlockNumber, "profit",
work.profit.String(), "system", bid.GasFee.String())

// ask tip from testnet ararat
Expand Down
1 change: 1 addition & 0 deletions miner/worker_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ func (w *worker) mergeBundles(

mergedBundle.BundleGasFees.Add(mergedBundle.BundleGasFees, simulatedBundle.BundleGasFees)
mergedBundle.BundleGasUsed += simulatedBundle.BundleGasUsed
mergedBundle.EthSentToSystem.Add(mergedBundle.EthSentToSystem, simulatedBundle.EthSentToSystem)
}

if len(includedTxs) == 0 {
Expand Down

0 comments on commit ec6f067

Please sign in to comment.