Skip to content

Commit

Permalink
fix(auction): register missing Msgs with RegisterService
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Apr 16, 2024
1 parent a96fc93 commit 571d7c6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions x/auction/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
}

0 comments on commit 571d7c6

Please sign in to comment.