Add block number to activated leaves and associated fixes (#2718)

* add number to `ActivatedLeavesUpdate`

* update subsystem util and overseer

* use new ActivatedLeaf everywhere

* sort view

* sorted and limited view in network bridge

* use live block hash only if it's newer

* grumples
This commit is contained in:
Robert Habermeier authored and GitHub committed 2021-03-26 13:06:40 +01:00
1 parent a4ed8aaab2
commit 064df81ee4
20 files changed
+286 -97

No files matched your search

@@ -128,7 +128,7 @@ impl CollationGenerationSubsystem {
let metrics = self.metrics.clone();
if let Err(err) = handle_new_activations(
config.clone(),
activated.into_iter().map(|v| v.0),
activated.into_iter().map(|v| v.hash),
ctx,
metrics,
sender,