From b7e4770e316af00f2de8c29a5c22489e13bdf2e0 Mon Sep 17 00:00:00 2001 From: ravaliGangasani Date: Tue, 8 Nov 2022 16:37:54 +0530 Subject: [PATCH] Update gov_tx.go adding instantiate-anyof-addresses flag in the gov_tx.go --- x/wasm/client/cli/gov_tx.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/wasm/client/cli/gov_tx.go b/x/wasm/client/cli/gov_tx.go index fbab1645c9..01f7aaf80e 100644 --- a/x/wasm/client/cli/gov_tx.go +++ b/x/wasm/client/cli/gov_tx.go @@ -88,6 +88,7 @@ func ProposalStoreCodeCmd() *cobra.Command { cmd.Flags().String(flagInstantiateNobody, "", "Nobody except the governance process can instantiate a contract from the code, optional") cmd.Flags().String(flagInstantiateByAddress, "", "Only this address can instantiate a contract instance from the code, optional") cmd.Flags().Bool(flagUnpinCode, false, "Unpin code on upload, optional") + cmd.Flags().StringSlice(flagInstantiateByAnyOfAddress, []string{}, "Any of the addresses can instantiate a contract from the code, optional") // proposal flags cmd.Flags().String(cli.FlagTitle, "", "Title of proposal")