mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 11:21:07 +00:00
Bring back log prefixing (#245)
This commit is contained in:
Generated
+1
@@ -1218,6 +1218,7 @@ dependencies = [
|
|||||||
"polkadot-overseer",
|
"polkadot-overseer",
|
||||||
"polkadot-primitives",
|
"polkadot-primitives",
|
||||||
"polkadot-service",
|
"polkadot-service",
|
||||||
|
"sc-cli",
|
||||||
"sc-client-api",
|
"sc-client-api",
|
||||||
"sc-service",
|
"sc-service",
|
||||||
"sp-api",
|
"sp-api",
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ pub fn new_partial(
|
|||||||
/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.
|
/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.
|
||||||
///
|
///
|
||||||
/// This is the actual implementation that is abstract over the executor and the runtime api.
|
/// This is the actual implementation that is abstract over the executor and the runtime api.
|
||||||
|
#[sc_cli::prefix_logs_with("Parachain")]
|
||||||
async fn start_node_impl<RB>(
|
async fn start_node_impl<RB>(
|
||||||
parachain_config: Configuration,
|
parachain_config: Configuration,
|
||||||
collator_key: CollatorPair,
|
collator_key: CollatorPair,
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ cumulus-primitives = { path = "../primitives" }
|
|||||||
# Substrate dependencies
|
# Substrate dependencies
|
||||||
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|||||||
@@ -292,6 +292,7 @@ pub fn prepare_node_config(mut parachain_config: Configuration) -> Configuration
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Build the Polkadot full node using the given `config`.
|
/// Build the Polkadot full node using the given `config`.
|
||||||
|
#[sc_cli::prefix_logs_with("Relaychain")]
|
||||||
pub fn build_polkadot_full_node(
|
pub fn build_polkadot_full_node(
|
||||||
config: Configuration,
|
config: Configuration,
|
||||||
collator_id: CollatorId,
|
collator_id: CollatorId,
|
||||||
|
|||||||
Reference in New Issue
Block a user