Add candidate info to OccupiedCore (#2134)

* guide: add candidate information to OccupiedCore

* add descriptor and hash to occupied core type

* guide: add candidate hash to inclusion

* runtime: return candidate info in core state

* bitfield signing: stop querying runtime as much

* minimize going to runtime in availability distribution

* fix availability distribution tests

* guide: remove para ID from Occupied core

* get all crates compiling
This commit is contained in:
Robert Habermeier authored and GitHub committed 2020-12-18 11:20:37 +03:00
1 parent eab86d6f4b
commit 38276b08a4
15 files changed
+129 -208

No files matched your search

+1 -1
View File
@@ -631,7 +631,7 @@ sp_api::impl_runtime_apis! {
runtime_impl::validator_groups::<Runtime>()
}
fn availability_cores() -> Vec<CoreState<BlockNumber>> {
fn availability_cores() -> Vec<CoreState<Hash, BlockNumber>> {
runtime_impl::availability_cores::<Runtime>()
}