From b03f430b4cdefeab75db6d61677daf93bbd4caa0 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Fri, 11 Oct 2024 20:24:45 +0700 Subject: [PATCH] Fix typo --- x/wasm/keeper/keeper_cgo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/wasm/keeper/keeper_cgo.go b/x/wasm/keeper/keeper_cgo.go index 23542266b..40c84668a 100644 --- a/x/wasm/keeper/keeper_cgo.go +++ b/x/wasm/keeper/keeper_cgo.go @@ -77,8 +77,8 @@ func NewKeeper( Cache: wasmvmtypes.CacheOptions{ BaseDir: filepath.Join(homeDir, "wasm"), AvailableCapabilities: availableCapabilities, - MemoryCacheSize: wasmvmtypes.NewSizeMebi(contractMemoryLimit), - InstanceMemoryLimit: wasmvmtypes.NewSizeMebi(nodeConfig.MemoryCacheSize), + MemoryCacheSize: wasmvmtypes.NewSizeMebi(nodeConfig.MemoryCacheSize), + InstanceMemoryLimit: wasmvmtypes.NewSizeMebi(contractMemoryLimit), }, WasmLimits: vmConfig.WasmLimits, }, nodeConfig.ContractDebugMode)