mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +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:
@@ -3,7 +3,6 @@
|
||||
// see LICENSE for license details.
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
use polkadot_sdk::sp_crypto_hashing;
|
||||
|
||||
// This code is taken from sp_core::crypto::DeriveJunction. The logic should be identical,
|
||||
// though the API is tweaked a touch.
|
||||
|
||||
+1
-2
@@ -8,7 +8,6 @@ use codec::Encode;
|
||||
use crate::crypto::{seed_from_entropy, DeriveJunction, SecretUri};
|
||||
use core::str::FromStr;
|
||||
use hex::FromHex;
|
||||
use polkadot_sdk::sp_crypto_hashing;
|
||||
use secp256k1::{ecdsa::RecoverableSignature, Message, Secp256k1, SecretKey};
|
||||
use secrecy::ExposeSecret;
|
||||
|
||||
@@ -362,7 +361,7 @@ mod test {
|
||||
|
||||
use super::*;
|
||||
|
||||
use polkadot_sdk::sp_core::{self, crypto::Pair as _, ecdsa::Pair as SpPair};
|
||||
use sp_core::{self, crypto::Pair as _, ecdsa::Pair as SpPair};
|
||||
|
||||
#[test]
|
||||
fn check_from_phrase_matches() {
|
||||
|
||||
@@ -354,8 +354,7 @@ mod test {
|
||||
|
||||
use super::*;
|
||||
|
||||
use polkadot_sdk::sp_core::{self, crypto::Pair as _, sr25519::Pair as SpPair};
|
||||
use polkadot_sdk::sp_keyring;
|
||||
use sp_core::{self, crypto::Pair as _, sr25519::Pair as SpPair};
|
||||
|
||||
#[test]
|
||||
fn check_from_phrase_matches() {
|
||||
|
||||
Reference in New Issue
Block a user