Skip to content

Commit 080410e

Browse files
Merge pull request #66 from oraichain/decrease-wasm-byte
Dang/decrease max wasm size to 1MB
2 parents 67d483a + 87a1c3e commit 080410e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/app.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ type WasmApp struct {
319319

320320
func overrideWasmVariables() {
321321
// Override Wasm size limitation from WASMD.
322-
wasmtypes.MaxWasmSize = 3 * 1024 * 1024
322+
wasmtypes.MaxWasmSize = 1024 * 1024 // 1MB
323323
}
324324

325325
// NewWasmApp returns a reference to an initialized WasmApp.

0 commit comments

Comments
 (0)