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

Co-authored-by: mmsqe <mavis@crypto.com>
This commit is contained in:
mergify[bot]
2023-08-17 16:54:53 +00:00
committed by GitHub
co-authored by mmsqe
parent 0fc0ed5d58
commit 8d4a47f8a5
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(),