Skip to content

Commit

Permalink
Merge pull request #66 from oraichain/decrease-wasm-byte
Browse files Browse the repository at this point in the history
Dang/decrease max wasm size to 1MB
  • Loading branch information
ledanghuy1811 authored Jan 7, 2025
2 parents 67d483a + 87a1c3e commit 080410e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ type WasmApp struct {

func overrideWasmVariables() {
// Override Wasm size limitation from WASMD.
wasmtypes.MaxWasmSize = 3 * 1024 * 1024
wasmtypes.MaxWasmSize = 1024 * 1024 // 1MB
}

// NewWasmApp returns a reference to an initialized WasmApp.
Expand Down

0 comments on commit 080410e

Please sign in to comment.