From fa12ec861fd48845e308ec02b00c4373fe869ecb Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Tue, 27 Feb 2024 10:48:08 -0500 Subject: [PATCH] fix: u32::max/2 --- cmd/crates/soroban-test/tests/it/integration/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/crates/soroban-test/tests/it/integration/util.rs b/cmd/crates/soroban-test/tests/it/integration/util.rs index e3efacd138..3700dc7977 100644 --- a/cmd/crates/soroban-test/tests/it/integration/util.rs +++ b/cmd/crates/soroban-test/tests/it/integration/util.rs @@ -34,7 +34,7 @@ pub fn deploy_contract(sandbox: &TestEnv, wasm: &Wasm) -> String { .arg("--fee") .arg("1000000") .arg("--instructions") - .arg(&u32::MAX.to_string()) + .arg(&(u32::MAX/2).to_string()) .arg("--wasm") .arg(wasm.path()) .arg("--salt")