Refactoring Checkpoint: (WIP)
This commit is contained in:
@@ -47,7 +47,7 @@ primitive-types = { features = [
|
||||
"scale-info",
|
||||
], workspace = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
xcm-simulator = { workspace = true, default-features = true }
|
||||
xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -67,7 +67,7 @@ runtime-benchmarks = [
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"xcm-executor/runtime-benchmarks",
|
||||
"xcm-simulator/runtime-benchmarks",
|
||||
"xcm-pez-simulator/runtime-benchmarks",
|
||||
"xcm/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
|
||||
@@ -49,7 +49,7 @@ pub use xcm_executor::{
|
||||
},
|
||||
AssetsInHolding, Config,
|
||||
};
|
||||
pub use xcm_simulator::helpers::derive_topic_id;
|
||||
pub use xcm_pez_simulator::helpers::derive_topic_id;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum TestOrigin {
|
||||
|
||||
@@ -24,7 +24,7 @@ use pezframe_system::{EnsureRoot, EnsureSigned};
|
||||
use pezkuwi_primitives::{AccountIndex, BlakeTwo256, Signature};
|
||||
use pezsp_runtime::{generic, traits::MaybeEquivalence, AccountId32, BuildStorage};
|
||||
use xcm_executor::{traits::ConvertLocation, XcmExecutor};
|
||||
use xcm_simulator::ParaId;
|
||||
use xcm_pez_simulator::ParaId;
|
||||
|
||||
pub type TxExtension = (
|
||||
pezframe_system::AuthorizeCall<Test>,
|
||||
|
||||
@@ -38,7 +38,7 @@ use xcm_builder::{
|
||||
IsChildSystemTeyrchain, IsConcrete, MintLocation, RespectSuspension, SignedAccountId32AsNative,
|
||||
SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
|
||||
};
|
||||
use xcm_simulator::helpers::derive_topic_id;
|
||||
use xcm_pez_simulator::helpers::derive_topic_id;
|
||||
|
||||
pub type AccountId = AccountId32;
|
||||
pub type Balance = u128;
|
||||
|
||||
@@ -24,7 +24,7 @@ use pezkuwi_teyrchain_primitives::primitives::Id as ParaId;
|
||||
use pezsp_runtime::traits::AccountIdConversion;
|
||||
use xcm::latest::{prelude::*, Error::UntrustedTeleportLocation};
|
||||
use xcm_executor::XcmExecutor;
|
||||
use xcm_simulator::fake_message_hash;
|
||||
use xcm_pez_simulator::fake_message_hash;
|
||||
|
||||
pub const ALICE: AccountId = AccountId::new([0u8; 32]);
|
||||
pub const PARA_ID: u32 = 2000;
|
||||
|
||||
Reference in New Issue
Block a user