mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 20:31:13 +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:
@@ -13,7 +13,7 @@ polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsys
|
||||
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
|
||||
erasure-coding = { package = "polkadot-erasure-coding", path = "../../../erasure-coding" }
|
||||
statement-table = { package = "polkadot-statement-table", path = "../../../statement-table" }
|
||||
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
|
||||
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
|
||||
tracing = "0.1.31"
|
||||
thiserror = "1.0.30"
|
||||
|
||||
|
||||
@@ -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