Skip to content

Commit a5b9da6

Browse files
committed
starknet_committer_cli,starknet_committer_and_os_cli: move tracing_utils
1 parent c7bef91 commit a5b9da6

File tree

7 files changed

+4
-5
lines changed

7 files changed

+4
-5
lines changed

crates/starknet_committer_and_os_cli/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ starknet-types-core.workspace = true
4040
starknet_api.workspace = true
4141
# The testing feature is needed for the python tests.
4242
starknet_committer = { workspace = true, features = ["testing"] }
43+
starknet_committer_cli.workspace = true
4344
# The 'testing' feature of starknet_os should be moved under this crate's `testing` feature, when it
4445
# exists.
4546
starknet_os = { workspace = true, features = ["deserialize", "testing"] }

crates/starknet_committer_and_os_cli/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ pub mod block_hash_cli;
22
pub mod committer_cli;
33
pub mod os_cli;
44
pub mod shared_utils;
5-
pub mod tracing_utils;

crates/starknet_committer_and_os_cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use starknet_committer_and_os_cli::committer_cli::run_committer_cli::{
88
CommitterCliCommand,
99
};
1010
use starknet_committer_and_os_cli::os_cli::run_os_cli::{run_os_cli, OsCliCommand};
11-
use starknet_committer_and_os_cli::tracing_utils::configure_tracing;
11+
use starknet_committer_cli::tracing_utils::configure_tracing;
1212
use tracing::info;
1313

1414
/// Committer and OS CLI.

crates/starknet_committer_cli/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ clap = { workspace = true, features = ["cargo", "derive"] }
1414
csv.workspace = true
1515
rand.workspace = true
1616
starknet_committer = { workspace = true, features = ["benchmark", "testing"] }
17-
# TODO(Tzahi): Remove once tracing is moved to a common location.
18-
starknet_committer_and_os_cli.workspace = true
1917
starknet_patricia.workspace = true
2018
starknet_patricia_storage.workspace = true
2119
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
pub mod commands;
2+
pub mod tracing_utils;

crates/starknet_committer_cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use clap::{Args, Parser, Subcommand};
2-
use starknet_committer_and_os_cli::tracing_utils::{configure_tracing, modify_log_level};
32
use starknet_committer_cli::commands::run_storage_benchmark;
3+
use starknet_committer_cli::tracing_utils::{configure_tracing, modify_log_level};
44
use tracing::info;
55
use tracing::level_filters::LevelFilter;
66
use tracing_subscriber::reload::Handle;
File renamed without changes.

0 commit comments

Comments
 (0)