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
+3 -3
View File
@@ -17,7 +17,7 @@
//! Types relevant for approval.
pub use sp_consensus_vrf::schnorrkel::{VRFOutput, VRFProof};
pub use sp_consensus_slots::SlotNumber;
pub use sp_consensus_slots::Slot;
use polkadot_primitives::v1::{
CandidateHash, Hash, ValidatorIndex, Signed, ValidatorSignature, CoreIndex,
@@ -118,6 +118,6 @@ pub struct BlockApprovalMeta {
/// The candidates included by the block.
/// Note that these are not the same as the candidates that appear within the block body.
pub candidates: Vec<CandidateHash>,
/// The consensus slot number of the block.
pub slot_number: SlotNumber,
/// The consensus slot of the block.
pub slot: Slot,
}