* x/ibc: gRPC query service * fixes * connection updates * register channel query service * update clients * change proofs to bytes * implement additional channel grpc queries * unrelayed packets query * query.proto files * move next sequence recv query to channel client * update REST * wip test * add missing cli queries * install the right tools * fixes * build * lint * use gRPC when query proof is not requested * connection gRPC tests * IBC query server interface * more gRPC channel tests * pagination tests * connection use query server * connection pagination tests * channel pagination tests * typo * remove buf * Update x/ibc/03-connection/keeper/grpc_query_test.go Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com> * address comments from review * fix tests * unrelayed packet sequences flag * remove ClientsConnections query * fix Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>
26 lines
682 B
Go
26 lines
682 B
Go
package cli
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
|
|
"github.com/cosmos/cosmos-sdk/client"
|
|
"github.com/cosmos/cosmos-sdk/client/flags"
|
|
)
|
|
|
|
// NewTxCmd returns the transaction commands for IBC fungible token transfer
|
|
func NewTxCmd(clientCtx client.Context) *cobra.Command {
|
|
ics20TransferTxCmd := &cobra.Command{
|
|
Use: "ibc-transfer",
|
|
Short: "IBC fungible token transfer transaction subcommands",
|
|
DisableFlagParsing: true,
|
|
SuggestionsMinimumDistance: 2,
|
|
RunE: client.ValidateCmd,
|
|
}
|
|
|
|
ics20TransferTxCmd.AddCommand(flags.PostCommands(
|
|
NewTransferTxCmd(clientCtx),
|
|
)...)
|
|
|
|
return ics20TransferTxCmd
|
|
}
|