Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 committed Oct 31, 2024
1 parent ab56ad2 commit 68e0e7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/src/utils/account_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ impl core::str::FromStr for AccountId32 {
#[cfg(test)]
mod test {
use super::*;
use sp_core::{self, crypto::Ss58Codec};
use sp_keyring::AccountKeyring;
use polkadot_sdk::sp_core::{self, crypto::Ss58Codec};
use polkadot_sdk::sp_keyring::AccountKeyring;

#[test]
fn ss58_is_compatible_with_substrate_impl() {
Expand Down
5 changes: 3 additions & 2 deletions subxt/examples/substrate_compat_signer.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
//! This example demonstrates how to use to add a layer for full functionality for types in substrate.
//! This example demonstrates how to use to add a custom signer implementation to `subxt`
//! by using the signer implementation from polkadot-sdk.
//!
//! Similar functionality was provided by the `substrate-compat` feature in the original `subxt` crate.
//! which is now removed.

#![allow(missing_docs)]
#![allow(missing_docs, unused)]

use polkadot_sdk::sp_core::{sr25519, Pair as _};
use subxt::{Config, OnlineClient, PolkadotConfig};
Expand Down

0 comments on commit 68e0e7a

Please sign in to comment.