mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 22:47:56 +00:00
Rename: primitives/sr-io -> primitives/sp-io (#4328)
* primitives/sr-io -> primitives/io * fix * rename * runtime-io -> sp-io * git mv * fix ci * remove package name * fix * fix * try minimizing diff * try minimizing diff again * try minimizing diff again
This commit is contained in:
committed by
Bastian Köcher
parent
1f84d6d41d
commit
4f2cdb20c1
@@ -523,7 +523,7 @@ fn compute_randomness(
|
||||
s.extend_from_slice(&vrf_output[..]);
|
||||
}
|
||||
|
||||
runtime_io::hashing::blake2_256(&s)
|
||||
sp_io::hashing::blake2_256(&s)
|
||||
}
|
||||
|
||||
impl<T: Trait> ProvideInherent for Module<T> {
|
||||
|
||||
@@ -24,7 +24,7 @@ use sp_runtime::{
|
||||
};
|
||||
use sp_version::RuntimeVersion;
|
||||
use support::{impl_outer_origin, parameter_types, weights::Weight};
|
||||
use runtime_io;
|
||||
use sp_io;
|
||||
use primitives::{H256, Blake2Hasher};
|
||||
|
||||
impl_outer_origin!{
|
||||
@@ -97,7 +97,7 @@ impl Trait for Test {
|
||||
type EpochChangeTrigger = crate::ExternalTrigger;
|
||||
}
|
||||
|
||||
pub fn new_test_ext(authorities: Vec<DummyValidatorId>) -> runtime_io::TestExternalities {
|
||||
pub fn new_test_ext(authorities: Vec<DummyValidatorId>) -> sp_io::TestExternalities {
|
||||
let mut t = system::GenesisConfig::default().build_storage::<Test>().unwrap();
|
||||
GenesisConfig {
|
||||
authorities: authorities.into_iter().map(|a| (UintAuthorityId(a).to_public_key(), 1)).collect(),
|
||||
|
||||
Reference in New Issue
Block a user