From e09cfa9af298e4e66969e8b5bf79ca69008374b9 Mon Sep 17 00:00:00 2001 From: jtieri Date: Tue, 7 Mar 2023 17:10:19 -0600 Subject: [PATCH] chore: register solomachine codec types --- relayer/chains/cosmos/module/app_module.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/relayer/chains/cosmos/module/app_module.go b/relayer/chains/cosmos/module/app_module.go index 5d4857617..94119092a 100644 --- a/relayer/chains/cosmos/module/app_module.go +++ b/relayer/chains/cosmos/module/app_module.go @@ -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" @@ -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.