From 531e0e70a927132c2632a8a763edd95f3480162d Mon Sep 17 00:00:00 2001 From: sampocs Date: Mon, 1 Jul 2024 20:47:17 -0500 Subject: [PATCH] Fix wasmvm dir --- app/app.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index 51c7fa7b9d..9daab50414 100644 --- a/app/app.go +++ b/app/app.go @@ -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,