From 1177f0ca78c49e0f4b54731d78cf1cd63522ff58 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 7 Oct 2021 15:06:56 +0300 Subject: [PATCH] [#888] neofs-adm: deploy contracts with Global scope Container contract now calls NNS contract to register TLD for nice names. This must be witnessed by a committee. Signed-off-by: Evgenii Stratonikov --- cmd/neofs-adm/internal/modules/morph/initialize_deploy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go b/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go index e982a9a7..45e74a9c 100644 --- a/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go +++ b/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go @@ -223,7 +223,7 @@ func (c *initializeContext) deployContracts(method string) error { c.getContractDeployData(ctrName, keysParam)) signer := transaction.Signer{ Account: c.CommitteeAcc.Contract.ScriptHash(), - Scopes: transaction.CalledByEntry, + Scopes: transaction.Global, } res, err := c.Client.InvokeFunction(invokeHash, method, params, []transaction.Signer{signer})