diff --git a/cmd/crates/soroban-test/tests/it/integration/dotenv.rs b/cmd/crates/soroban-test/tests/it/integration/dotenv.rs index d005bf818c..ef704f5864 100644 --- a/cmd/crates/soroban-test/tests/it/integration/dotenv.rs +++ b/cmd/crates/soroban-test/tests/it/integration/dotenv.rs @@ -1,5 +1,3 @@ -use std::time::Duration; - use soroban_test::TestEnv; use super::util::deploy_hello; diff --git a/cmd/crates/soroban-test/tests/it/integration/util.rs b/cmd/crates/soroban-test/tests/it/integration/util.rs index 6b2463ce13..e3efacd138 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("10000000000") + .arg(&u32::MAX.to_string()) .arg("--wasm") .arg(wasm.path()) .arg("--salt") diff --git a/cmd/soroban-cli/src/commands/contract/invoke.rs b/cmd/soroban-cli/src/commands/contract/invoke.rs index b517ca28eb..b1797fdba7 100644 --- a/cmd/soroban-cli/src/commands/contract/invoke.rs +++ b/cmd/soroban-cli/src/commands/contract/invoke.rs @@ -345,8 +345,7 @@ impl NetworkRunnable for Cmd { &signers, &network.network_passphrase, Some(log_events), - (verbose || very_verbose || self.fee.cost) - .then_some(log_resources), + (verbose || very_verbose || self.fee.cost).then_some(log_resources), ) .await?; (res.return_value()?, res.contract_events()?)