mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 16:41:10 +00:00
Be specific about the BitVec generic arguments (#830)
* Be specific about the `BitVec` generic arguments Currently we use the default generic arguments for `BitVec`. This means we use `BigEndian` and `u8`. These default values are not stable, with `0.17` of the `BitVec` crate this changes. To make sure we don't break anything in the future, make sure we explictly set the generics. * Update `spec_version`
This commit is contained in:
@@ -516,7 +516,7 @@ pub struct AttestedCandidate {
|
||||
/// Validity attestations.
|
||||
pub validity_votes: Vec<ValidityAttestation>,
|
||||
/// Indices of the corresponding validity votes.
|
||||
pub validator_indices: BitVec,
|
||||
pub validator_indices: BitVec<bitvec::cursor::LittleEndian, u8>,
|
||||
}
|
||||
|
||||
impl AttestedCandidate {
|
||||
|
||||
Reference in New Issue
Block a user