From acb4a9e5b49c5f92f4dd691b68e25c2a472e73ef Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Mon, 20 Dec 2021 01:07:39 +0300 Subject: [PATCH] [#1038] adm: Do not cut `data` args in `NNS` The updated version of the `NNS` contract now supports the third `data` argument that may provide additional information. Signed-off-by: Pavel Karpy --- cmd/neofs-adm/internal/modules/morph/initialize_deploy.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go b/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go index 2815e52d20..aa046ade25 100644 --- a/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go +++ b/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go @@ -99,9 +99,6 @@ func (c *initializeContext) deployNNS(method string) error { } params := getContractDeployParameters(cs.RawNEF, cs.RawManifest, nil) - if method == updateMethodName { - params = params[:len(params)-1] // update has only NEF and manifest args - } signer := transaction.Signer{ Account: c.CommitteeAcc.Contract.ScriptHash(),