From df4fa9c8bd624bd05f783e31b1e8cd59eb3306db Mon Sep 17 00:00:00 2001 From: Giancarlos Salas Date: Tue, 15 Nov 2022 16:06:07 -0600 Subject: [PATCH] Update authz grant examples --- x/wasm/client/cli/tx.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x/wasm/client/cli/tx.go b/x/wasm/client/cli/tx.go index 13a70057..35ccd7c1 100644 --- a/x/wasm/client/cli/tx.go +++ b/x/wasm/client/cli/tx.go @@ -394,11 +394,11 @@ func GrantAuthorizationCmd() *cobra.Command { Short: "Grant authorization to an address", Long: fmt.Sprintf(`Grant authorization to an address. Examples: -$ %s tx grant execution --allow-all-messages --maxCalls 1 --no-token-transfer --expiration 1667979596 +$ %s tx grant execution --allow-all-messages --max-calls 1 --no-token-transfer --expiration 1667979596 -$ %s tx grant execution --allow-all-messages --maxFunds 100000uwasm --expiration 1667979596 +$ %s tx grant execution --allow-all-messages --max-funds 100000uwasm --expiration 1667979596 -$ %s tx grant execution --allow-all-messages --maxCalls 5 --maxFunds 100000uwasm --expiration 1667979596 +$ %s tx grant execution --allow-all-messages --max-calls 5 --max-funds 100000uwasm --expiration 1667979596 `, version.AppName, version.AppName, version.AppName), Args: cobra.ExactArgs(3), RunE: func(cmd *cobra.Command, args []string) error {