From 70f17dc778e189f47248713d94ffe25b3bcdb911 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Sun, 28 Nov 2021 16:37:09 +0300 Subject: [PATCH] [#979] adm: Deploy and update Subnet contract Signed-off-by: Leonard Lyubich --- cmd/neofs-adm/internal/modules/morph/initialize_deploy.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go b/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go index adc47130ec..aeeae5d3af 100644 --- a/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go +++ b/cmd/neofs-adm/internal/modules/morph/initialize_deploy.go @@ -36,6 +36,7 @@ const ( netmapContract = "netmap" proxyContract = "proxy" reputationContract = "reputation" + subnetContract = "subnet" ) const ( @@ -63,6 +64,7 @@ var ( netmapContract, proxyContract, reputationContract, + subnetContract, } fullContractList = append([]string{ @@ -475,6 +477,7 @@ func (c *initializeContext) getContractDeployData(ctrName string, keysParam []sm newContractParameter(smartcontract.Hash160Type, c.Contracts[netmapContract].Hash), } case reputationContract: + case subnetContract: default: panic(fmt.Sprintf("invalid contract name: %s", ctrName)) }