From 9b766f6ad832c1bf7b19d670ad30379ff2c39ed3 Mon Sep 17 00:00:00 2001 From: shawayush Date: Wed, 19 Oct 2022 11:15:57 +0530 Subject: [PATCH] minor changes --- cmd/knstld/cmd/root.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/knstld/cmd/root.go b/cmd/knstld/cmd/root.go index 501df5a..d1b341c 100644 --- a/cmd/knstld/cmd/root.go +++ b/cmd/knstld/cmd/root.go @@ -122,20 +122,20 @@ func initAppConfig() (string, interface{}) { // own app.toml to override, or use this default value. // // In simapp, we set the min gas prices to 0. - srvCfg.MinGasPrices = "0stake" + srvCfg.MinGasPrices = "0udarc" customAppConfig := CustomAppConfig{ Config: *srvCfg, WASM: WASMConfig{ LruSize: 1, - QueryGasLimit: 300000, + QueryGasLimit: 25000000, }, } customAppTemplate := serverconfig.DefaultConfigTemplate + ` [wasm] # This is the maximum sdk gas (wasm and storage) that we allow for any x/wasm "smart" queries -query_gas_limit = 300000 +query_gas_limit = 25000000 # This is the number of wasm vm instances we keep cached in memory for speed-up # Warning: this is currently unstable and may lead to crashes, best to keep for 0 unless testing locally lru_size = 0` @@ -155,7 +155,6 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) { genutilcli.ValidateGenesisCmd(app.ModuleBasics), AddGenesisAccountCmd(app.DefaultNodeHome), tmcli.NewCompletionCmd(rootCmd, true), - //testnetCmd(simapp.ModuleBasics, banktypes.GenesisBalancesIterator{}), debug.Cmd(), config.Cmd(), )