Skip to content

Commit

Permalink
importing sc-tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
seemantaggarwal committed Feb 6, 2025
1 parent 60a91c2 commit 64a49ad
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions templates/parachain/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ parachain-template-runtime = { workspace = true }

# Substrate
prometheus-endpoint = { workspace = true, default-features = true }
sc-tracing = { workspace = true, default-features = true }

[build-dependencies]
polkadot-sdk = { workspace = true, features = ["substrate-build-script-utils"] }
polkadot-sdk = { workspace = true, features = ["substrate-build-script-utils", "sc-tracing"] }

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion templates/parachain/node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ fn start_consensus(
}

/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.
#[sc_tracing::logging::prefix_logs_with("Parachain")]
#[logging::prefix_logs_with("Parachain")]
pub async fn start_parachain_node(
parachain_config: Configuration,
polkadot_config: Configuration,
Expand Down

0 comments on commit 64a49ad

Please sign in to comment.