From bca41f87af268430a3d654c2dcb3cc78026d3fd6 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 7 Oct 2021 15:09:40 +0300 Subject: [PATCH] [#888] neofs-adm: deploy NNS contract first Container contract uses actual NNS interface. This also aleviates some pain related to update as neofs-adm code itself uses current NNS version. Signed-off-by: Evgenii Stratonikov --- cmd/neofs-adm/internal/modules/morph/update.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/neofs-adm/internal/modules/morph/update.go b/cmd/neofs-adm/internal/modules/morph/update.go index cdc9e6d6b..10b1f7dbb 100644 --- a/cmd/neofs-adm/internal/modules/morph/update.go +++ b/cmd/neofs-adm/internal/modules/morph/update.go @@ -13,9 +13,9 @@ func updateContracts(cmd *cobra.Command, _ []string) error { return fmt.Errorf("initialization error: %w", err) } - if err := wCtx.deployContracts(updateMethodName); err != nil { + if err := wCtx.deployNNS(updateMethodName); err != nil { return err } - return wCtx.deployNNS("update") + return wCtx.deployContracts(updateMethodName) }