Skip to content

Commit

Permalink
chore: add decay to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Apr 22, 2024
1 parent 0769fa6 commit c89fbd8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/updater/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c89fbd8

Please sign in to comment.