mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 06:21:02 +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:
@@ -925,10 +925,10 @@ mod sanitizers {
|
||||
let validator_public = validator_pubkeys(&validators);
|
||||
|
||||
let unchecked_bitfields = [
|
||||
BitVec::<Lsb0, u8>::repeat(true, expected_bits),
|
||||
BitVec::<Lsb0, u8>::repeat(true, expected_bits),
|
||||
BitVec::<u8, Lsb0>::repeat(true, expected_bits),
|
||||
BitVec::<u8, Lsb0>::repeat(true, expected_bits),
|
||||
{
|
||||
let mut bv = BitVec::<Lsb0, u8>::repeat(false, expected_bits);
|
||||
let mut bv = BitVec::<u8, Lsb0>::repeat(false, expected_bits);
|
||||
bv.set(expected_bits - 1, true);
|
||||
bv
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user