Skip to content

Commit

Permalink
add more tracing
Browse files Browse the repository at this point in the history
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
  • Loading branch information
iulianbarbu committed Sep 6, 2024
1 parent 63217cd commit 8d93187
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cumulus/client/relay-chain-minimal-node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ pub async fn build_minimal_relay_chain_node_with_rpc(
relay_chain_url: Vec<Url>,
) -> RelayChainResult<(Arc<(dyn RelayChainInterface + 'static)>, Option<CollatorPair>)> {
let prometheus_registry = polkadot_config.prometheus_registry();
tracing::debug!(target: LOG_TARGET, "prometheus registry: {:#?}", prometheus_registry);
let client = cumulus_relay_chain_rpc_interface::create_client_and_start_worker(
relay_chain_url,
task_manager,
Expand Down
1 change: 1 addition & 0 deletions cumulus/test/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ where

let import_queue_service = params.import_queue.service();
let prometheus_registry = parachain_config.prometheus_registry().cloned();

let net_config = FullNetworkConfiguration::<Block, Hash, Net>::new(
&parachain_config.network,
prometheus_registry.clone(),
Expand Down

0 comments on commit 8d93187

Please sign in to comment.