mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
Complete telemetry for parachain & relaychain (#301)
* Complete telemetry for parachain & relaychain * Update Substrate & Polkadot
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user