From 2685b1d548a613adafb89e1fcfd165dc5ba8c4e8 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 3 Aug 2023 14:23:05 +0300 Subject: [PATCH] [#248] adm: Do not deploy audit contract Signed-off-by: Evgenii Stratonikov --- cmd/frostfs-adm/docs/deploy.md | 1 - cmd/frostfs-adm/internal/modules/morph/initialize_deploy.go | 4 ---- 2 files changed, 5 deletions(-) diff --git a/cmd/frostfs-adm/docs/deploy.md b/cmd/frostfs-adm/docs/deploy.md index b40dc75b0..3b9f4c98c 100644 --- a/cmd/frostfs-adm/docs/deploy.md +++ b/cmd/frostfs-adm/docs/deploy.md @@ -140,7 +140,6 @@ Waiting for transactions to persist... Stage 7: set addresses in NNS. Waiting for transactions to persist... NNS: Set alphabet0.frostfs -> f692dfb4d43a15b464eb51a7041160fb29c44b6a -NNS: Set audit.frostfs -> 7df847b993affb3852074345a7c2bd622171ee0d NNS: Set balance.frostfs -> 103519b3067a66307080a66570c0491ee8f68879 NNS: Set container.frostfs -> cae60bdd689d185901e495352d0247752ce50846 NNS: Set frostfsid.frostfs -> c421fb60a3895865a8f24d197d6a80ef686041d2 diff --git a/cmd/frostfs-adm/internal/modules/morph/initialize_deploy.go b/cmd/frostfs-adm/internal/modules/morph/initialize_deploy.go index dc6bc646c..a7cd537b7 100644 --- a/cmd/frostfs-adm/internal/modules/morph/initialize_deploy.go +++ b/cmd/frostfs-adm/internal/modules/morph/initialize_deploy.go @@ -41,7 +41,6 @@ const ( frostfsContract = "frostfs" // not deployed in side-chain. processingContract = "processing" // not deployed in side-chain. alphabetContract = "alphabet" - auditContract = "audit" balanceContract = "balance" containerContract = "container" frostfsIDContract = "frostfsid" @@ -51,7 +50,6 @@ const ( var ( contractList = []string{ - auditContract, balanceContract, containerContract, frostfsIDContract, @@ -531,8 +529,6 @@ func (c *initializeContext) getContractDeployData(ctrName string, keysParam []an case processingContract: items = append(items, c.Contracts[frostfsContract].Hash) return items[1:] // no notary info - case auditContract: - items = append(items, c.Contracts[netmapContract].Hash) case balanceContract: items = append(items, c.Contracts[netmapContract].Hash,