From 31b6af5667d866c89d0b11793fd18e3721f0ae2f Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Wed, 24 Aug 2022 15:12:53 +0300 Subject: [PATCH] [#1728] Update neofs-adm morph deploy command description Add more details about expected file names in contract dir. Signed-off-by: Alex Vanin --- cmd/neofs-adm/internal/modules/morph/deploy.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/neofs-adm/internal/modules/morph/deploy.go b/cmd/neofs-adm/internal/modules/morph/deploy.go index 24c3ad16..bed65f9e 100644 --- a/cmd/neofs-adm/internal/modules/morph/deploy.go +++ b/cmd/neofs-adm/internal/modules/morph/deploy.go @@ -30,7 +30,10 @@ var deployCmd = &cobra.Command{ Long: `Deploy additional smart-contract which are not related to core. All contracts are deployed by the committee, so access to the alphabet wallets is required. Optionally, arguments can be provided to be passed to a contract's _deploy function. -The syntax is the same as for 'neo-go contract testinvokefunction' command.`, +The syntax is the same as for 'neo-go contract testinvokefunction' command. +Compiled contract file name must contain '_contract.nef' suffix. +Contract's manifest file name must be 'config.json'. +NNS name is taken by stripping '_contract.nef' from the NEF file (similar to neofs contracts).`, PreRun: func(cmd *cobra.Command, _ []string) { _ = viper.BindPFlag(alphabetWalletsFlag, cmd.Flags().Lookup(alphabetWalletsFlag)) _ = viper.BindPFlag(endpointFlag, cmd.Flags().Lookup(endpointFlag))