From c6ff9dbbece614dd306d840df6ff8cd3b3133436 Mon Sep 17 00:00:00 2001 From: lesterli Date: Wed, 19 Jun 2024 05:31:13 -0400 Subject: [PATCH] fix: comment typo (#1902) This PR fixes the comment typo of the function `ExecuteContractCmd`. --- x/wasm/client/cli/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/wasm/client/cli/tx.go b/x/wasm/client/cli/tx.go index f5499af965..9d8c41eba8 100644 --- a/x/wasm/client/cli/tx.go +++ b/x/wasm/client/cli/tx.go @@ -358,7 +358,7 @@ func parseInstantiateArgs(rawCodeID, initMsg string, kr keyring.Keyring, sender return &msg, msg.ValidateBasic() } -// ExecuteContractCmd will instantiate a contract from previously uploaded code. +// ExecuteContractCmd will execute a contract method using its address and JSON-encoded arguments. func ExecuteContractCmd() *cobra.Command { cmd := &cobra.Command{ Use: "execute [contract_addr_bech32] [json_encoded_send_args] --amount [coins,optional]",