Parachains-runtime (#1505)

* Initial commit

* v0 to v1 primitives and remove attestations

* Review fixes

* implement candidate_events

* remove dead code
This commit is contained in:
Fedor Sakharov
2020-07-31 23:42:10 +03:00
committed by GitHub
parent 596ce826e8
commit 047e2fdb21
10 changed files with 1036 additions and 13 deletions
+1 -2
View File
@@ -304,8 +304,7 @@ impl PoV {
}
/// A bitfield concerning availability of backed candidates.
#[derive(PartialEq, Eq, Clone, Encode, Decode)]
#[cfg_attr(feature = "std", derive(Debug))]
#[derive(PartialEq, Eq, Clone, Encode, Decode, RuntimeDebug)]
pub struct AvailabilityBitfield(pub BitVec<bitvec::order::Lsb0, u8>);
impl From<BitVec<bitvec::order::Lsb0, u8>> for AvailabilityBitfield {