Skip to content

Commit

Permalink
Set gas pricess
Browse files Browse the repository at this point in the history
  • Loading branch information
philipsu522 committed Jul 11, 2023
1 parent 82f1024 commit 997b1d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/seid/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 6.66x rate vs that of the previous multiplier
wasmGasRegisterConfig.GasMultiplier = 21_000_000
// 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

return app.New(
logger,
Expand Down Expand Up @@ -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 = "3.5usei"
srvCfg.MinGasPrices = "2usei"
srvCfg.API.Enable = true

// Pruning configs
Expand Down

0 comments on commit 997b1d3

Please sign in to comment.