From 93b59526132c363732ae89c7c0575560ee7489bc Mon Sep 17 00:00:00 2001 From: Philip Su Date: Tue, 11 Jul 2023 16:34:07 -0700 Subject: [PATCH] set gas --- cmd/seid/cmd/root.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/seid/cmd/root.go b/cmd/seid/cmd/root.go index e182de898..63b0b8514 100644 --- a/cmd/seid/cmd/root.go +++ b/cmd/seid/cmd/root.go @@ -256,8 +256,8 @@ func newApp( wasmGasRegisterConfig := wasmkeeper.DefaultGasRegisterConfig() // This varies from the default value of 140_000_000 because we would like to appropriately represent the // compute time required as a proportion of block gas used for a wasm contract that performs a lot of compute - // This makes it such that the wasm VM gas converts to sdk gas at a 3.33x rate vs that of the previous multiplier - wasmGasRegisterConfig.GasMultiplier = 42_000_000 + // This makes it such that the wasm VM gas converts to sdk gas at a 6.66x rate vs that of the previous multiplier + wasmGasRegisterConfig.GasMultiplier = 21_000_000 return app.New( logger, @@ -385,7 +385,7 @@ 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 = "2usei" + srvCfg.MinGasPrices = "0.1usei" srvCfg.API.Enable = true // Pruning configs