From 571d7c650a4723de058e7780cc52aa8ea0838a08 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Tue, 16 Apr 2024 11:21:26 +0200 Subject: [PATCH] fix(auction): register missing Msgs with RegisterService --- x/auction/codec.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/x/auction/codec.go b/x/auction/codec.go index 26d8535d7f..82c8d4ad47 100644 --- a/x/auction/codec.go +++ b/x/auction/codec.go @@ -5,7 +5,7 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" sdk "github.com/cosmos/cosmos-sdk/types" - // "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/cosmos/cosmos-sdk/types/msgservice" ) // Amino codecs @@ -33,10 +33,9 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations( (*sdk.Msg)(nil), - // &MsgGovSetRewardsParams{}, - // &MsgRewardsBid{}, + &MsgGovSetRewardsParams{}, + &MsgRewardsBid{}, ) - // TODO - // msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) }