Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions internal/adapters/notifier/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,12 @@ func (n *Notifier) buildBeaconchaURL(indexes []domain.ValidatorIndex) string {
if len(indexes) == 0 || n.BeaconchaUrl == "" {
return ""
}

// Return home path URL for gnosis network, as /dashboard?validators=... route is currently broken
if n.Network == "gnosis" {
return n.BeaconchaUrl
}

// Do not truncate for URLs
return fmt.Sprintf("%s/dashboard?validators=%s", n.BeaconchaUrl, indexesToString(indexes, false))
}
2 changes: 1 addition & 1 deletion internal/config/config_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func LoadConfig() Config {
case "hoodi":
beaconchaUrl = "https://hoodi.beaconcha.in"
case "gnosis":
beaconchaUrl = "https://gnosischa.in"
beaconchaUrl = "https://beaconchain.gnosischain.com/"
case "lukso":
beaconchaUrl = "https://explorer.consensus.mainnet.lukso.network"
default:
Expand Down