From f396c10cbf637fb140569970a0aab756cea1b201 Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Tue, 18 Jun 2024 10:11:02 -0700 Subject: [PATCH 1/2] Fix typo. (#1387) --- FULL_HELP_DOCS.md | 4 ++-- cmd/soroban-cli/src/commands/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FULL_HELP_DOCS.md b/FULL_HELP_DOCS.md index 72cc3725b..5811a37ba 100644 --- a/FULL_HELP_DOCS.md +++ b/FULL_HELP_DOCS.md @@ -100,7 +100,7 @@ Anything after the `--` double dash (the "slop") is parsed as arguments to the c * `xdr` — Decode and encode XDR * `network` — Start and configure networks * `version` — Print version information -* `cache` — Cache for tranasctions and contract specs +* `cache` — Cache for transactions and contract specs ###### **Options:** @@ -1426,7 +1426,7 @@ Print version information ## `stellar cache` -Cache for tranasctions and contract specs +Cache for transactions and contract specs **Usage:** `stellar cache ` diff --git a/cmd/soroban-cli/src/commands/mod.rs b/cmd/soroban-cli/src/commands/mod.rs index 4552f93b3..e220d8be1 100644 --- a/cmd/soroban-cli/src/commands/mod.rs +++ b/cmd/soroban-cli/src/commands/mod.rs @@ -134,7 +134,7 @@ pub enum Cmd { Network(network::Cmd), /// Print version information Version(version::Cmd), - /// Cache for tranasctions and contract specs + /// Cache for transactions and contract specs #[command(subcommand)] Cache(cache::Cmd), } From fb2cdaf1932fdf941d8a810323704f7462aac4f3 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Wed, 19 Jun 2024 16:46:25 -0400 Subject: [PATCH 2/2] fix: add soroban_cli tracing directive for backwards compatibility (#1393) --- cmd/soroban-cli/src/cli.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/cli.rs b/cmd/soroban-cli/src/cli.rs index a6be9572d..2d42a173b 100644 --- a/cmd/soroban-cli/src/cli.rs +++ b/cmd/soroban-cli/src/cli.rs @@ -45,7 +45,8 @@ pub async fn main() { if let Some(level) = root.global_args.log_level() { let mut e_filter = EnvFilter::from_default_env() .add_directive("hyper=off".parse().unwrap()) - .add_directive(format!("stellar_cli={level}").parse().unwrap()); + .add_directive(format!("stellar_cli={level}").parse().unwrap()) + .add_directive(format!("soroban_cli={level}").parse().unwrap()); for filter in &root.global_args.filter_logs { e_filter = e_filter.add_directive(