From 01ebba3a61d0bbd8251bed1f91b09b9abfcc99c7 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 9 Jan 2025 15:43:32 +0800 Subject: [PATCH] chore(taiko-client): improve `TxBuilderWithFallback` logs (#18738) --- .../taiko-client/proposer/transaction_builder/fallback.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/taiko-client/proposer/transaction_builder/fallback.go b/packages/taiko-client/proposer/transaction_builder/fallback.go index 8bcc5360ff7..07842401733 100644 --- a/packages/taiko-client/proposer/transaction_builder/fallback.go +++ b/packages/taiko-client/proposer/transaction_builder/fallback.go @@ -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 }