Skip to content

Commit

Permalink
Add RegisterMsgServiceDesc call to our modules
Browse files Browse the repository at this point in the history
  • Loading branch information
iKapitonau committed Aug 20, 2024
1 parent 4a8bae2 commit dd1f0f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/compute/internal/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
)

// RegisterCodec registers the account types and interface
Expand All @@ -26,6 +27,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
&MsgUpdateAdmin{},
&MsgClearAdmin{},
)
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
}

// ModuleCdc generic sealed codec to be used throughout module
Expand Down
2 changes: 2 additions & 0 deletions x/registration/internal/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
)

// RegisterCodec registers the account types and interface
Expand All @@ -16,6 +17,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
(*sdk.Msg)(nil),
&RaAuthenticate{},
)
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
}

var ModuleCdc = codec.NewLegacyAmino()

0 comments on commit dd1f0f5

Please sign in to comment.