mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 02:51:08 +00:00
Update schnorrkel to 0.11.4 (#2524)
This commit is contained in:
@@ -33,9 +33,9 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
|
||||
polkadot-primitives-test-helpers = { path = "../../../primitives/test-helpers" }
|
||||
|
||||
assert_matches = "1.4.0"
|
||||
schnorrkel = { version = "0.9.1", default-features = false }
|
||||
schnorrkel = { version = "0.11.4", default-features = false }
|
||||
# rand_core should match schnorrkel
|
||||
rand_core = "0.5.1"
|
||||
rand_core = "0.6.2"
|
||||
rand_chacha = "0.3.1"
|
||||
env_logger = "0.9.0"
|
||||
log = "0.4.17"
|
||||
|
||||
@@ -297,7 +297,7 @@ fn fake_assignment_cert(block_hash: Hash, validator: ValidatorIndex) -> Indirect
|
||||
let mut prng = rand_core::OsRng;
|
||||
let keypair = schnorrkel::Keypair::generate_with(&mut prng);
|
||||
let (inout, proof, _) = keypair.vrf_sign(ctx.bytes(msg));
|
||||
let preout = inout.to_output();
|
||||
let preout = inout.to_preout();
|
||||
|
||||
IndirectAssignmentCert {
|
||||
block_hash,
|
||||
@@ -319,7 +319,7 @@ fn fake_assignment_cert_v2(
|
||||
let mut prng = rand_core::OsRng;
|
||||
let keypair = schnorrkel::Keypair::generate_with(&mut prng);
|
||||
let (inout, proof, _) = keypair.vrf_sign(ctx.bytes(msg));
|
||||
let preout = inout.to_output();
|
||||
let preout = inout.to_preout();
|
||||
|
||||
IndirectAssignmentCertV2 {
|
||||
block_hash,
|
||||
|
||||
Reference in New Issue
Block a user