From ad8f3d1df86dad1ed3ba71276ff1d66eaefc20a0 Mon Sep 17 00:00:00 2001 From: Nicolas Lara Date: Wed, 22 Feb 2023 15:12:05 +0100 Subject: [PATCH] Set proper wasm bytecode size (#4388) * new wasm size * add changelog --- CHANGELOG.md | 1 + app/app.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6de61d14c0d..e4b959f4dff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Misc Improvements * [#4131](https://github.com/osmosis-labs/osmosis/pull/4141) Add GatherValuesFromStorePrefixWithKeyParser function to osmoutils. + * [#4388](https://github.com/osmosis-labs/osmosis/pull/4388) Increase the max allowed contract size for non-proposal contracts to 3MB ### API breaks diff --git a/app/app.go b/app/app.go index ee9ad2b7d06..8311f3f3986 100644 --- a/app/app.go +++ b/app/app.go @@ -164,7 +164,7 @@ func initReusablePackageInjections() { // - allow for larger wasm files func overrideWasmVariables() { // Override Wasm size limitation from WASMD. - wasmtypes.MaxWasmSize = 2 * 1024 * 1024 + wasmtypes.MaxWasmSize = 3 * 1024 * 1024 wasmtypes.MaxProposalWasmSize = wasmtypes.MaxWasmSize }