Skip to content

Commit

Permalink
Fix wasmvm dir (#1231)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampocs authored Jul 2, 2024
1 parent 0af4474 commit 6468155
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,13 +553,14 @@ func NewStrideApp(
wasmContractMemoryLimit := uint32(32)
wasmCapabilities := "iterator,staking,stargate,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3,cosmwasm_1_4"
wasmDir := filepath.Join(homePath, "wasm")
wasmVmDir := filepath.Join(homePath, "wasm", "wasm")
wasmConfig, err := wasm.ReadWasmConfig(appOpts)
if err != nil {
panic(fmt.Sprintf("error while reading wasm config: %s", err))
}

wasmer, err := wasmvm.NewVM(
wasmDir,
wasmVmDir,
wasmCapabilities,
wasmContractMemoryLimit,
wasmConfig.ContractDebugMode,
Expand Down

0 comments on commit 6468155

Please sign in to comment.