From 30c888c7cc62a07c2e8ebe7b052818896c7bb0a2 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Wed, 31 Jan 2024 11:12:02 -0500 Subject: [PATCH] fix: fmt --- Cargo.lock | 2 +- .../tests/it/integration/hello_world.rs | 14 +++++++------- cmd/soroban-cli/src/commands/contract/invoke.rs | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 496f502cf..54a37d370 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3678,7 +3678,7 @@ dependencies = [ [[package]] name = "soroban-rpc" -version = "20.2.0" +version = "20.3.0" dependencies = [ "base64 0.21.7", "clap", diff --git a/cmd/crates/soroban-test/tests/it/integration/hello_world.rs b/cmd/crates/soroban-test/tests/it/integration/hello_world.rs index 26f10c3eb..7bd8d596a 100644 --- a/cmd/crates/soroban-test/tests/it/integration/hello_world.rs +++ b/cmd/crates/soroban-test/tests/it/integration/hello_world.rs @@ -21,13 +21,13 @@ async fn invoke() { // Note that all functions tested here have no state invoke_hello_world(sandbox, id); sandbox - .new_assert_cmd("events") - .arg("--start-ledger=20") - .arg("--id") - .arg(id) - .assert() - .stdout(predicates::str::contains(id).not()) - .success(); + .new_assert_cmd("events") + .arg("--start-ledger=20") + .arg("--id") + .arg(id) + .assert() + .stdout(predicates::str::contains(id).not()) + .success(); invoke_hello_world_with_lib(sandbox, id).await; sandbox .new_assert_cmd("events") diff --git a/cmd/soroban-cli/src/commands/contract/invoke.rs b/cmd/soroban-cli/src/commands/contract/invoke.rs index 2eb8ee3b7..5484f866a 100644 --- a/cmd/soroban-cli/src/commands/contract/invoke.rs +++ b/cmd/soroban-cli/src/commands/contract/invoke.rs @@ -47,7 +47,7 @@ pub struct Cmd { /// Number of instructions to simulate #[arg(long)] pub instructions: Option, - /// Do not sign and submit transaction + /// Do not sign and submit transaction #[arg(long, env = "SOROBAN_INVOKE_SIGN", env = "SYSTEM_TEST_VERBOSE_OUTPUT")] pub is_view: bool, /// Function name as subcommand, then arguments for that function as `--arg-name value`