cosmos-sdk/x/ibc/core/02-client/module.go
Federico Kunze 2c93ec7a0c
ibc: core restructure (#7434)
* ibc: protobuf v1

* update codec

* core client

* core connection

* core host

* core commitment

* core port

* core channel

* core ibc module files

* core exported

* core types & simulation

* core spec

* make proto-all

* ibc alias
2020-10-02 06:03:02 -03:00

25 lines
630 B
Go

package client
import (
"github.com/gogo/protobuf/grpc"
"github.com/spf13/cobra"
"github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/client/cli"
"github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types"
)
// Name returns the IBC client name
func Name() string {
return types.SubModuleName
}
// GetQueryCmd returns no root query command for the IBC client
func GetQueryCmd() *cobra.Command {
return cli.GetQueryCmd()
}
// RegisterQueryService registers the gRPC query service for IBC client.
func RegisterQueryService(server grpc.Server, queryServer types.QueryServer) {
types.RegisterQueryServer(server, queryServer)
}