mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 22:27:56 +00:00
Companion to "Updating scale to v3" (#4958)
* Updating dependencies * Adapting code to scale v3 * Upgrade bitvec to 1.0.0 * Fix bitvec arithmetics * Update Cargo.lock * Update sp-io * Fixing the build * Yanked scale-info 2.0.0 Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -752,7 +752,7 @@ fn backing_works_while_validation_ongoing() {
|
||||
.contains(&ValidityAttestation::Explicit(signed_c.signature().clone())));
|
||||
assert_eq!(
|
||||
candidates[0].validator_indices,
|
||||
bitvec::bitvec![bitvec::order::Lsb0, u8; 1, 0, 1, 1],
|
||||
bitvec::bitvec![u8, bitvec::order::Lsb0; 1, 0, 1, 1],
|
||||
);
|
||||
|
||||
virtual_overseer
|
||||
@@ -1484,7 +1484,7 @@ fn candidate_backing_reorders_votes() {
|
||||
let backed = table_attested_to_backed(attested, &table_context).unwrap();
|
||||
|
||||
let expected_bitvec = {
|
||||
let mut validator_indices = BitVec::<bitvec::order::Lsb0, u8>::with_capacity(6);
|
||||
let mut validator_indices = BitVec::<u8, bitvec::order::Lsb0>::with_capacity(6);
|
||||
validator_indices.resize(6, false);
|
||||
|
||||
validator_indices.set(1, true);
|
||||
|
||||
Reference in New Issue
Block a user