mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-13 22:27:06 +00:00
* Companion for substrate #14036 * Rollback of some trivial renamings * update lockfile
This commit is contained in:
1 parent
71aa0b0931
commit
f6a743dadc
4 files changed
+189
-189
No files matched your search
@@ -621,7 +621,7 @@ pub(crate) mod tests {
|
||||
digests::{CompatibleDigestItem, PreDigest, SecondaryVRFPreDigest},
|
||||
AllowedSlots, BabeEpochConfiguration, Epoch as BabeEpoch,
|
||||
};
|
||||
use sp_core::{crypto::VrfSigner, testing::TaskExecutor};
|
||||
use sp_core::{crypto::VrfSecret, testing::TaskExecutor};
|
||||
use sp_keyring::sr25519::Keyring as Sr25519Keyring;
|
||||
pub(crate) use sp_runtime::{Digest, DigestItem};
|
||||
use std::{pin::Pin, sync::Arc};
|
||||
@@ -704,7 +704,7 @@ pub(crate) mod tests {
|
||||
// used for generating assignments where the validity of the VRF doesn't matter.
|
||||
pub(crate) fn garbage_vrf_signature() -> VrfSignature {
|
||||
let transcript = VrfTranscript::new(b"test-garbage", &[]);
|
||||
Sr25519Keyring::Alice.pair().vrf_sign(&transcript)
|
||||
Sr25519Keyring::Alice.pair().vrf_sign(&transcript.into())
|
||||
}
|
||||
|
||||
fn dummy_session_info(index: SessionIndex) -> SessionInfo {
|
||||
|
||||
Reference in new issue
Block a user