mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 18:11:10 +00:00
The crate rename (#4223)
* Adding script for rename, could be applicable for nodes on top of it, too * add stderr and gitlab ci features * apply script * fix now minor details in expected stderr * Update the Cargo.lock * fix name: sc-transaction -> sc-tracing * fix rename in script, too
This commit is contained in:
committed by
GitHub
parent
40f6d05a4c
commit
927e13c13a
@@ -20,7 +20,7 @@ use std::{collections::HashMap, ops::Deref};
|
||||
use lazy_static::lazy_static;
|
||||
use primitives::{ed25519::{Pair, Public, Signature}, Pair as PairT, Public as PublicT, H256};
|
||||
pub use primitives::ed25519;
|
||||
use sr_primitives::AccountId32;
|
||||
use sp_runtime::AccountId32;
|
||||
|
||||
/// Set of test accounts.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, strum::Display, strum::EnumIter)]
|
||||
@@ -106,9 +106,9 @@ impl From<Keyring> for &'static str {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<Keyring> for sr_primitives::MultiSigner {
|
||||
impl From<Keyring> for sp_runtime::MultiSigner {
|
||||
fn from(x: Keyring) -> Self {
|
||||
sr_primitives::MultiSigner::Ed25519(x.into())
|
||||
sp_runtime::MultiSigner::Ed25519(x.into())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ use std::ops::Deref;
|
||||
use lazy_static::lazy_static;
|
||||
use primitives::{sr25519::{Pair, Public, Signature}, Pair as PairT, Public as PublicT, H256};
|
||||
pub use primitives::sr25519;
|
||||
use sr_primitives::AccountId32;
|
||||
use sp_runtime::AccountId32;
|
||||
|
||||
/// Set of test accounts.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, strum::Display, strum::EnumIter)]
|
||||
@@ -107,9 +107,9 @@ impl From<Keyring> for &'static str {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<Keyring> for sr_primitives::MultiSigner {
|
||||
impl From<Keyring> for sp_runtime::MultiSigner {
|
||||
fn from(x: Keyring) -> Self {
|
||||
sr_primitives::MultiSigner::Sr25519(x.into())
|
||||
sp_runtime::MultiSigner::Sr25519(x.into())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user