From 463160729cc6482d283013ad4ea80ae505fb5008 Mon Sep 17 00:00:00 2001 From: Omer <100387053+omerlavanet@users.noreply.github.com> Date: Sun, 8 Dec 2024 16:38:28 +0200 Subject: [PATCH] support project names (#1826) --- x/pairing/client/cli/query_effective_policy.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x/pairing/client/cli/query_effective_policy.go b/x/pairing/client/cli/query_effective_policy.go index f7a4ce565c..9ef356e8e8 100644 --- a/x/pairing/client/cli/query_effective_policy.go +++ b/x/pairing/client/cli/query_effective_policy.go @@ -24,7 +24,8 @@ func CmdEffectivePolicy() *cobra.Command { if len(args) > 1 { address, err = utils.ParseCLIAddress(clientCtx, args[1]) if err != nil { - return err + // this should allow project names not only addresses + address = args[1] } } else { clientCtxForTx, err := client.GetClientQueryContext(cmd)