Skip to content

Commit

Permalink
Bump max wasm file size to 2MB (#727)
Browse files Browse the repository at this point in the history
* Bump max wasm file size to 1280 * 1024

* Bump to 2MB

---------

Co-authored-by: Cyson <[email protected]>
  • Loading branch information
LCyson and Cyson authored Apr 27, 2023
1 parent 7bad5c8 commit 394fd08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1580,6 +1580,6 @@ func (app *App) decorateContextWithDexMemState(base context.Context) context.Con
}

func init() {
// override max wasm size to 1MB
wasmtypes.MaxWasmSize = 1024 * 1024
// override max wasm size to 2MB
wasmtypes.MaxWasmSize = 2 * 1024 * 1024
}

0 comments on commit 394fd08

Please sign in to comment.