Skip to content

Commit a0e78ab

Browse files
committed
misc(notifications): Rename Efficiency to Beaconscore in GroupEfficiencyNotifications
1 parent 0fb1389 commit a0e78ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/pkg/notification/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,11 @@ func (n *ValidatorGroupEfficiencyNotification) GetEntitiyId() string {
257257
func (n *ValidatorGroupEfficiencyNotification) GetInfo(format types.NotificationFormat) string {
258258
dashboardAndGroupInfo := formatPureDashboardAndGroupLink(format, n)
259259
epoch := formatEpochLink(format, n.Epoch)
260-
return fmt.Sprintf(`%s efficiency of %.2f%% was below the threshold of %.2f%% in epoch %s.`, dashboardAndGroupInfo, n.Efficiency*100, n.Threshold*100, epoch)
260+
return fmt.Sprintf(`%s Beaconscore of %.2f%% was below the threshold of %.2f%% in epoch %s.`, dashboardAndGroupInfo, n.Efficiency*100, n.Threshold*100, epoch)
261261
}
262262

263263
func (n *ValidatorGroupEfficiencyNotification) GetTitle() string {
264-
return "Low group efficiency"
264+
return "Low group Beaconscore"
265265
}
266266

267267
func (n *ValidatorGroupEfficiencyNotification) GetLegacyInfo() string {

0 commit comments

Comments
 (0)