diff --git a/pkg/types/chain.go b/pkg/types/chain.go index ee18bca..b63ed83 100644 --- a/pkg/types/chain.go +++ b/pkg/types/chain.go @@ -78,7 +78,7 @@ func (c *Chain) GetExplorerProposalsLinks(proposalID string) []Link { if c.KeplrName != "" { links = append(links, Link{ Name: "Keplr", - Href: fmt.Sprintf("https://wallet.keplr.app/#/%s/governance?detailId=%s", c.KeplrName, proposalID), + Href: fmt.Sprintf("https://wallet.keplr.app/chains/%s/proposals/%s", c.KeplrName, proposalID), }) } diff --git a/pkg/types/chain_test.go b/pkg/types/chain_test.go index 2e312f5..562a379 100644 --- a/pkg/types/chain_test.go +++ b/pkg/types/chain_test.go @@ -42,7 +42,7 @@ func TestGetLinksPresent(t *testing.T) { assert.Len(t, links, 2, "Expected 2 links") assert.Equal(t, "Keplr", links[0].Name, "Expected Keplr link") - assert.Equal(t, "https://wallet.keplr.app/#/chain/governance?detailId=test", links[0].Href, "Wrong Keplr link") + assert.Equal(t, "https://wallet.keplr.app/chains/chain/proposals/test", links[0].Href, "Wrong Keplr link") assert.Equal(t, "Explorer", links[1].Name, "Expected Explorer link") assert.Equal(t, "example.com/proposal/test", links[1].Href, "Wrong explorer link") }