Complete telemetry for parachain & relaychain (#301)

* Complete telemetry for parachain & relaychain

* Update Substrate & Polkadot
This commit is contained in:
Cecile Tonglet
2021-01-29 16:02:31 +01:00
committed by GitHub
parent cb00749f24
commit 6438d328b8
20 changed files with 407 additions and 317 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "m
# Other deps
futures = { version = "0.3.8", features = ["compat"] }
tokio = "0.1.22"
codec = { package = "parity-scale-codec", version = "1.3.0", features = [ "derive" ] }
codec = { package = "parity-scale-codec", version = "2.0.0", features = [ "derive" ] }
tracing = "0.1.22"
[dev-dependencies]
+1 -1
View File
@@ -502,7 +502,7 @@ where
match para_best_chain {
Some(best) => Decode::decode(&mut &best[..]).map_err(|e| {
ConsensusError::ChainLookup(format!("Error decoding parachain head: {}", e.what()))
ConsensusError::ChainLookup(format!("Error decoding parachain head: {}", e))
}),
None => Err(ConsensusError::ChainLookup(
"Could not find parachain head for best relay chain!".into(),