From c89fbd8f3fb0d393a88d664f3019d800a0592d4e Mon Sep 17 00:00:00 2001 From: Alok Date: Mon, 22 Apr 2024 19:51:46 +0530 Subject: [PATCH] chore: add decay to logs --- pkg/updater/updater.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkg/updater/updater.go b/pkg/updater/updater.go index e87bd8f..79384ad 100644 --- a/pkg/updater/updater.go +++ b/pkg/updater/updater.go @@ -465,7 +465,12 @@ func (u *Updater) addSettlement( case SettlementTypeSlash: u.metrics.SlashesCount.Inc() } - u.logger.Info("added settlement", "commitmentIdx", common.Bytes2Hex(update.CommitmentIndex[:]), "type", settlementType) + u.logger.Info( + "added settlement", + "commitmentIdx", common.Bytes2Hex(update.CommitmentIndex[:]), + "type", settlementType, + "decayPercentage", decayPercentage, + ) return nil }