mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
Fix incorrect prefix for "Prepared block for proposing at" (#305)
* Fix incorrect prefix for "Prepared block for proposing at" * Update Substrate & Polkadot * Fix quotes & codec * WIP * Fix logger rename * Revert "WIP" This reverts commit af2fe967bb5841a55024783dbccf6c75cba6ab1a. * WIP * CLEANUP * Working state * WIP * WIP
This commit is contained in:
@@ -40,12 +40,10 @@ use polkadot_primitives::v1::{
|
||||
};
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
|
||||
use futures::{channel::oneshot, FutureExt};
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
use parking_lot::Mutex;
|
||||
use tracing::Instrument;
|
||||
|
||||
/// The logging target.
|
||||
const LOG_TARGET: &str = "cumulus-collator";
|
||||
@@ -370,6 +368,7 @@ pub async fn start_collator<Block, Backend, BS, Spawner>(
|
||||
parachain_consensus,
|
||||
);
|
||||
|
||||
let span = tracing::Span::current();
|
||||
let config = CollationGenerationConfig {
|
||||
key,
|
||||
para_id,
|
||||
@@ -377,6 +376,7 @@ pub async fn start_collator<Block, Backend, BS, Spawner>(
|
||||
let collator = collator.clone();
|
||||
collator
|
||||
.produce_candidate(relay_parent, validation_data.clone())
|
||||
.instrument(span.clone())
|
||||
.boxed()
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user