Skip to content

Commit

Permalink
chore: update wasm version
Browse files Browse the repository at this point in the history
  • Loading branch information
soring323 committed Mar 20, 2024
1 parent 4086239 commit 8e69efb
Show file tree
Hide file tree
Showing 4 changed files with 14,080 additions and 75,988 deletions.
10 changes: 5 additions & 5 deletions app/wasm_config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package app

import (
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
)

const (
Expand All @@ -12,16 +12,16 @@ const (
)

// MunGasRegisterConfig is defaults plus a custom compile amount
func GasRegisterConfig() wasmkeeper.WasmGasRegisterConfig {
gasConfig := wasmkeeper.DefaultGasRegisterConfig()
func GasRegisterConfig() wasmtypes.WasmGasRegisterConfig {
gasConfig := wasmtypes.DefaultGasRegisterConfig()
gasConfig.InstanceCost = DefaultInstanceCost
gasConfig.CompileCost = DefaultCompileCost

return gasConfig
}

func NewSideWasmGasRegister() wasmkeeper.WasmGasRegister {
return wasmkeeper.NewWasmGasRegister(GasRegisterConfig())
func NewSideWasmGasRegister() wasmtypes.WasmGasRegister {
return wasmtypes.NewWasmGasRegister(GasRegisterConfig())
}

func AllCapabilities() []string {
Expand Down
Loading

0 comments on commit 8e69efb

Please sign in to comment.