From a7af3d1dc900728ddde2dc133a2a688b66852a16 Mon Sep 17 00:00:00 2001 From: Viacheslav Gonkivskyi Date: Wed, 10 Apr 2024 21:15:49 +0300 Subject: [PATCH] chore: updae cmds description --- nodebuilder/state/cmd/state.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nodebuilder/state/cmd/state.go b/nodebuilder/state/cmd/state.go index a16fd55d09..8ae0ffd371 100644 --- a/nodebuilder/state/cmd/state.go +++ b/nodebuilder/state/cmd/state.go @@ -417,9 +417,9 @@ var queryRedelegationCmd = &cobra.Command{ } var grantFeeCmd = &cobra.Command{ - Use: "grant-fee [grantee] [fee] [gasLimit]", - Short: "Grant an allowance to a specified grantee account to pay the fees for their transactions.\n" + - "Grantee could spend any amount of tokens in case if spend limit is not set.", + Use: "grant-fee [granteeAddress] [fee] [gasLimit]", + Short: "Grant an allowance to a specified grantee account to pay the fees for their SubmitPFB transactions.\n" + + "Grantee can spend any amount of tokens in case the spend limit is not set.", Args: cobra.ExactArgs(3), RunE: func(cmd *cobra.Command, args []string) error { client, err := cmdnode.ParseClientFromCtx(cmd.Context()) @@ -452,8 +452,8 @@ var grantFeeCmd = &cobra.Command{ } var revokeGrantFeeCmd = &cobra.Command{ - Use: "revoke-grant-fee [grantee] [fee] [gasLimit]", - Short: "Adds permission for Grantee to spend up to Allowance of fees from the account of Granter.", + Use: "revoke-grant-fee [granteeAddress] [fee] [gasLimit]", + Short: "Removes permission for grantee to submit PFB transactions which will be paid by granter.", Args: cobra.ExactArgs(3), RunE: func(cmd *cobra.Command, args []string) error { client, err := cmdnode.ParseClientFromCtx(cmd.Context())