Skip to content

Commit

Permalink
Increase max wasm size limit check
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Lacy committed Dec 19, 2024
1 parent d100853 commit 35f0364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/babylon/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use babylon_contract::msg::contract::{ExecuteMsg, InstantiateMsg};

static BABYLON_CONTRACT_WASM: &[u8] = include_bytes!("../../../artifacts/babylon_contract.wasm");
/// Wasm size limit: https://github.com/CosmWasm/wasmd/blob/main/x/wasm/types/validation.go#L24-L25
const MAX_WASM_SIZE: usize = 800 * 1024; // 800 KB
const MAX_WASM_SIZE: usize = 1 * 1024 * 1024; // 1 MB

const CREATOR: &str = "creator";

Expand Down

0 comments on commit 35f0364

Please sign in to comment.