Skip to content

Commit

Permalink
chore(taiko-client): improve TxBuilderWithFallback logs (#18738)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Jan 9, 2025
1 parent e76d865 commit 01ebba3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ func (b *TxBuilderWithFallback) BuildOntake(
metrics.ProposerEstimatedCostBlob.Set(costBlobFloat64)

if costCalldata.Cmp(costBlob) < 0 {
log.Info("Building a type-2 transaction", "costCalldata", costCalldata, "costBlob", costBlob)
log.Info("Building a type-2 transaction", "costCalldata", costCalldataFloat64, "costBlob", costBlobFloat64)
metrics.ProposerProposeByCalldata.Inc()
return txWithCalldata, nil
}

log.Info("Building a type-3 transaction", "costCalldata", costCalldata, "costBlob", costBlob)
log.Info("Building a type-3 transaction", "costCalldata", costCalldataFloat64, "costBlob", costBlobFloat64)
metrics.ProposerProposeByBlob.Inc()
return txWithBlob, nil
}
Expand Down

0 comments on commit 01ebba3

Please sign in to comment.