From 23433ae265e293c3cea7b26b0e0a8a6e168743f1 Mon Sep 17 00:00:00 2001 From: Matt Ketmo Date: Sat, 30 Sep 2023 13:19:39 +0200 Subject: [PATCH] fix(upgrade): fix typo on proposal TypeUrl value (#37) --- pkg/watcher/upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/watcher/upgrade.go b/pkg/watcher/upgrade.go index 4f51b60..bf65470 100644 --- a/pkg/watcher/upgrade.go +++ b/pkg/watcher/upgrade.go @@ -95,7 +95,7 @@ func (w *UpgradeWatcher) checkUpgradeProposals(ctx context.Context, node *rpc.No cdc := codec.New(1) switch proposal.Content.TypeUrl { - case "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal": + case "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal": var upgrade types.SoftwareUpgradeProposal err := cdc.Unmarshal(proposal.Content.Value, &upgrade) if err != nil {