From 7c0782990d402eaed1459f1105ea0b33c42693f5 Mon Sep 17 00:00:00 2001 From: tusoict Date: Fri, 6 Dec 2024 18:40:09 +0700 Subject: [PATCH] Updating urls string for LegacyAminoCodec --- custom/gov/types/v2custom/codec.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/custom/gov/types/v2custom/codec.go b/custom/gov/types/v2custom/codec.go index 315ca1a9..2de9c006 100644 --- a/custom/gov/types/v2custom/codec.go +++ b/custom/gov/types/v2custom/codec.go @@ -12,12 +12,12 @@ import ( // RegisterLegacyAminoCodec registers all the necessary types and interfaces for the // governance module. func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - legacy.RegisterAminoMsg(cdc, &govv1.MsgSubmitProposal{}, "cosmos-sdk/v1/MsgSubmitProposal") - legacy.RegisterAminoMsg(cdc, &govv1.MsgDeposit{}, "cosmos-sdk/v1/MsgDeposit") - legacy.RegisterAminoMsg(cdc, &govv1.MsgVote{}, "cosmos-sdk/v1/MsgVote") - legacy.RegisterAminoMsg(cdc, &govv1.MsgVoteWeighted{}, "cosmos-sdk/v1/MsgVoteWeighted") - legacy.RegisterAminoMsg(cdc, &govv1.MsgExecLegacyContent{}, "cosmos-sdk/v1/MsgExecLegacyContent") - legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "cosmos-sdk/x/gov/v1/MsgUpdateParams") + legacy.RegisterAminoMsg(cdc, &govv1.MsgSubmitProposal{}, "gov/MsgSubmitProposal") + legacy.RegisterAminoMsg(cdc, &govv1.MsgDeposit{}, "gov/MsgDeposit") + legacy.RegisterAminoMsg(cdc, &govv1.MsgVote{}, "gov/MsgVote") + legacy.RegisterAminoMsg(cdc, &govv1.MsgVoteWeighted{}, "gov/MsgVoteWeighted") + legacy.RegisterAminoMsg(cdc, &govv1.MsgExecLegacyContent{}, "gov/MsgExecLegacyContent") + legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "gov/MsgUpdateParams") } // RegisterInterfaces registers the interfaces types with the Interface Registry.