feat: Add CLI commands: 1) simulate a transaction, 2) query block results (#16887)

Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
This commit is contained in:
larry
2023-07-12 17:36:00 +00:00
committed by GitHub
co-authored by Facundo Medica
parent 3f4563e286
commit ca74dcce7e
6 changed files with 176 additions and 7 deletions
+2
View File
@@ -246,6 +246,7 @@ func queryCommand() *cobra.Command {
authcmd.QueryTxsByEventsCmd(),
server.QueryBlocksCmd(),
authcmd.QueryTxCmd(),
server.QueryBlockResultsCmd(),
)
return cmd
@@ -270,6 +271,7 @@ func txCommand() *cobra.Command {
authcmd.GetEncodeCommand(),
authcmd.GetDecodeCommand(),
authcmd.GetAuxToFeeCommand(),
authcmd.GetSimulateCmd(),
)
return cmd
+2
View File
@@ -263,6 +263,7 @@ func queryCommand() *cobra.Command {
authcmd.QueryTxsByEventsCmd(),
server.QueryBlocksCmd(),
authcmd.QueryTxCmd(),
server.QueryBlockResultsCmd(),
)
return cmd
@@ -287,6 +288,7 @@ func txCommand() *cobra.Command {
authcmd.GetEncodeCommand(),
authcmd.GetDecodeCommand(),
authcmd.GetAuxToFeeCommand(),
authcmd.GetSimulateCmd(),
)
return cmd