Skip to content

Commit

Permalink
chore: register solomachine codec types (#1118)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtieri authored Mar 9, 2023
1 parent b7a4aab commit 7b9e3b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions relayer/chains/cosmos/module/app_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
solomachine "github.com/cosmos/ibc-go/v7/modules/light-clients/06-solomachine"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"github.com/spf13/cobra"

Expand All @@ -24,6 +25,8 @@ func (AppModuleBasic) RegisterLegacyAminoCodec(*codec.LegacyAmino) {}
// RegisterInterfaces registers module concrete types into protobuf Any.
func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry) {
tmlightclient.RegisterInterfaces(registry)
solomachine.RegisterInterfaces(registry)
// TODO: add the localhost light client when ibc-go v7.1.0 is available
}

// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the ibc module.
Expand Down

0 comments on commit 7b9e3b8

Please sign in to comment.