Companion for #7997 (#2345)

* Companion for #7997

https://github.com/paritytech/substrate/pull/7997

* rename slot_number to slot

* rename SlotNumber type in overseer docs

* "Update Substrate"

Co-authored-by: André Silva <andrerfosilva@gmail.com>
Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2021-01-28 21:04:43 +01:00
committed by GitHub
parent 8652eb2fc0
commit 7f019517ca
12 changed files with 171 additions and 169 deletions
@@ -71,7 +71,7 @@ struct CandidateEntry {
struct BlockEntry {
block_hash: Hash,
session: SessionIndex,
slot: SlotNumber,
slot: Slot,
// random bytes derived from the VRF submitted within the block by the block
// author as a credential and used as input to approval assignment criteria.
relay_vrf_story: [u8; 32],
@@ -101,8 +101,8 @@ struct BlockApprovalMeta {
/// The candidates included by the block. Note that these are not the same as the candidates that appear within the
/// block body.
candidates: Vec<CandidateHash>,
/// The consensus slot number of the block.
slot_number: SlotNumber,
/// The consensus slot of the block.
slot: Slot,
}
enum ApprovalDistributionMessage {