diff --git a/cmd/neofs-ir/defaults.go b/cmd/neofs-ir/defaults.go index 3d6692f814..9a1dfbefd8 100644 --- a/cmd/neofs-ir/defaults.go +++ b/cmd/neofs-ir/defaults.go @@ -109,9 +109,7 @@ func defaultConfiguration(cfg *viper.Viper) { cfg.SetDefault("indexer.cache_timeout", 15*time.Second) // extra fee values for working mode without notary contract - cfg.SetDefault("fee.main_chain", 5000_0000) // 0.5 Fixed8 - cfg.SetDefault("fee.side_chain", 2_0000_0000) // 2.0 Fixed8 - cfg.SetDefault("fee.named_container_register", 25_0000_0000) // 25.0 Fixed8 + cfg.SetDefault("fee.main_chain", 5000_0000) // 0.5 Fixed8 cfg.SetDefault("control.authorized_keys", []string{}) cfg.SetDefault("control.grpc.endpoint", "") diff --git a/cmd/neofs-ir/internal/validate/config.go b/cmd/neofs-ir/internal/validate/config.go index ae40d905bf..e8dcb46bce 100644 --- a/cmd/neofs-ir/internal/validate/config.go +++ b/cmd/neofs-ir/internal/validate/config.go @@ -102,9 +102,7 @@ type validConfig struct { } `mapstructure:"node"` Fee struct { - MainChain int64 `mapstructure:"main_chain"` - SideChain int64 `mapstructure:"side_chain"` - NamedContainerRegister int64 `mapstructure:"named_container_register"` + MainChain int64 `mapstructure:"main_chain"` } `mapstructure:"fee"` Timers struct { diff --git a/pkg/innerring/config/fee.go b/pkg/innerring/config/fee.go index 600d758e2c..b278c23ee2 100644 --- a/pkg/innerring/config/fee.go +++ b/pkg/innerring/config/fee.go @@ -12,8 +12,6 @@ type FeeConfig struct { } // NewFeeConfig constructs FeeConfig from viper.Viper instance. Latter must not be nil. -// -// Fee for named container registration is taken from "fee.named_container_register" value. func NewFeeConfig(v *viper.Viper) *FeeConfig { return &FeeConfig{ mainchain: fixedn.Fixed8(v.GetInt64("fee.main_chain")),