Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runtime/mainnet/src/config/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ mod tests {
mod assets {
use frame_support::traits::Incrementable;
use pallet_assets::{AssetsCallback, NextAssetId};
use sp_keyring::AccountKeyring::Alice;
use sp_keyring::Sr25519Keyring::Alice;

use super::*;
use crate::System;
Expand Down
4 changes: 2 additions & 2 deletions runtime/mainnet/src/config/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ mod tests {

#[test]
fn proxy_type_assets_can_only_transfer_assets() {
use sp_keyring::AccountKeyring::Alice;
use sp_keyring::Sr25519Keyring::Alice;
let alice_address = MultiAddress::Id(Alice.to_account_id());

// Assert proxy type whitelists any asset related call.
Expand Down Expand Up @@ -247,7 +247,7 @@ mod tests {

// Returns a list with some calls transferring assets.
fn asset_transfer_calls() -> Vec<RuntimeCall> {
use sp_keyring::AccountKeyring::Alice;
use sp_keyring::Sr25519Keyring::Alice;
let alice_address = MultiAddress::Id(Alice.to_account_id());

vec![
Expand Down
6 changes: 3 additions & 3 deletions runtime/mainnet/src/config/xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ mod tests {
use polkadot_runtime_common::xcm_sender::*;
use polkadot_runtime_parachains::FeeTracker;
use sp_core::crypto::Ss58Codec;
use sp_keyring::AccountKeyring;
use sp_keyring::Sr25519Keyring;
use sp_runtime::FixedPointNumber;
use xcm_executor::traits::{ConvertLocation, FeeManager, FeeReason};

Expand Down Expand Up @@ -366,7 +366,7 @@ mod tests {
1,
[AccountId32 {
network: None,
id: AccountKeyring::Alice.to_account_id().into(),
id: Sr25519Keyring::Alice.to_account_id().into(),
}],
),
expected_account_id_str: "5EueAXd4h8u75nSbFdDJbC29cmi4Uo1YJssqEL9idvindxFL",
Expand All @@ -379,7 +379,7 @@ mod tests {
Parachain(1111),
Junction::AccountId32 {
network: None,
id: AccountKeyring::Alice.to_account_id().into(),
id: Sr25519Keyring::Alice.to_account_id().into(),
},
],
),
Expand Down
Loading