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:
Cecile Tonglet
2021-03-17 10:46:55 +01:00
committed by GitHub
parent 8f1ef9d6e1
commit a90308b7ce
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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()
}),
};