From 345966a369cfd3a11d0bb2292e3bb04b1db10db4 Mon Sep 17 00:00:00 2001 From: Angel Valkov Date: Mon, 11 Nov 2024 14:15:26 +0200 Subject: [PATCH] Skip mininum-gas-prices validation because we don't have any gas fees --- server/config/config.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/config/config.go b/server/config/config.go index bad21f6df3bb..1087292248b0 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -277,11 +277,8 @@ func GetConfig(v *viper.Viper) (Config, error) { return *conf, nil } -// ValidateBasic returns an error if min-gas-prices field is empty in BaseConfig. Otherwise, it returns nil. +// ValidateBasic returns an error if the Config is invalid. func (c Config) ValidateBasic() error { - if c.BaseConfig.MinGasPrices == "" { - return sdkerrors.ErrAppConfig.Wrap("set min gas price in app.toml or flag or env variable") - } if c.Pruning == pruningtypes.PruningOptionEverything && c.StateSync.SnapshotInterval > 0 { return sdkerrors.ErrAppConfig.Wrapf( "cannot enable state sync snapshots with '%s' pruning setting", pruningtypes.PruningOptionEverything,