feat: add event-query-tx-for cmd to subscribe and wait for transaction (#17274)

This commit is contained in:
mmsqe
2023-08-17 16:17:16 +00:00
committed by GitHub
parent 0e057851cc
commit d0f23440bb
3 changed files with 143 additions and 0 deletions
+2
View File
@@ -19,6 +19,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/keys"
"github.com/cosmos/cosmos-sdk/client/pruning"
"github.com/cosmos/cosmos-sdk/client/rpc"
"github.com/cosmos/cosmos-sdk/client/snapshot"
"github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
@@ -158,6 +159,7 @@ func queryCommand() *cobra.Command {
}
cmd.AddCommand(
rpc.QueryEventForTxCmd(),
server.QueryBlockCmd(),
authcmd.QueryTxsByEventsCmd(),
server.QueryBlocksCmd(),