mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 10:01:17 +00:00
deps: remove polkadot-sdk umbrella crate (#1926)
* deps: get rid of polkadot-sdk umbrella crate * fix nits * Update subxt/src/backend/mod.rs * Update subxt/src/events/events_client.rs * Update metadata/src/utils/validation.rs * cargo clippy fix * fix ui tests
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
#![allow(missing_docs, unused)]
|
||||
|
||||
use polkadot_sdk::sp_core::{sr25519, Pair as _};
|
||||
use sp_core::{sr25519, Pair as _};
|
||||
use subxt::config::substrate::MultiAddress;
|
||||
use subxt::{Config, OnlineClient, PolkadotConfig};
|
||||
|
||||
@@ -17,7 +17,7 @@ pub mod polkadot {}
|
||||
/// and that PolkadotConfig is the runtime configuration.
|
||||
mod pair_signer {
|
||||
use super::*;
|
||||
use polkadot_sdk::sp_runtime::{
|
||||
use sp_runtime::{
|
||||
traits::{IdentifyAccount, Verify},
|
||||
MultiSignature as SpMultiSignature,
|
||||
};
|
||||
@@ -26,7 +26,7 @@ mod pair_signer {
|
||||
tx::Signer,
|
||||
};
|
||||
|
||||
/// A [`Signer`] implementation for [`polkadot_sdk::sp_core::sr25519::Pair`].
|
||||
/// A [`Signer`] implementation for [`sp_core::sr25519::Pair`].
|
||||
#[derive(Clone)]
|
||||
pub struct PairSigner {
|
||||
account_id: <PolkadotConfig as Config>::AccountId,
|
||||
|
||||
Reference in New Issue
Block a user