From ba85b9ff25ff70adcd9175b9bb845c48f63f9cbf Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 24 Feb 2021 19:09:05 +0300 Subject: [PATCH] [#392] ir/config: Do not set default values of the alphabetic contracts Previously we set default addresses of alphabetic contracts to empty strings in inner ring application config. Recently number of using alphabetic contracts became dynamic. In order to not enumerate default address for each glagolitic letter, they are removed from config defaults. Signed-off-by: Leonard Lyubich --- cmd/neofs-ir/defaults.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/neofs-ir/defaults.go b/cmd/neofs-ir/defaults.go index 2d2368ac9..1a48dbbe5 100644 --- a/cmd/neofs-ir/defaults.go +++ b/cmd/neofs-ir/defaults.go @@ -65,13 +65,6 @@ func defaultConfiguration(cfg *viper.Viper) { cfg.SetDefault("contracts.audit", "") // alphabet contracts cfg.SetDefault("contracts.alphabet.amount", 7) - cfg.SetDefault("contracts.alphabet.az", "") - cfg.SetDefault("contracts.alphabet.buky", "") - cfg.SetDefault("contracts.alphabet.vedi", "") - cfg.SetDefault("contracts.alphabet.glagoli", "") - cfg.SetDefault("contracts.alphabet.dobro", "") - cfg.SetDefault("contracts.alphabet.jest", "") - cfg.SetDefault("contracts.alphabet.zhivete", "") // gas native contract in LE cfg.SetDefault("contracts.gas", "70e2301955bf1e74cbb31d18c2f96972abadb328")