mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 03:31:03 +00:00
compile tests
This commit is contained in:
@@ -6,13 +6,15 @@ use frame_support::{
|
|||||||
};
|
};
|
||||||
use parachains_common::{AccountId, AuraId};
|
use parachains_common::{AccountId, AuraId};
|
||||||
pub use statemine_runtime::{
|
pub use statemine_runtime::{
|
||||||
constants::fee::WeightToFee, xcm_config::XcmConfig, Assets, Balances, ExistentialDeposit,
|
constants::fee::WeightToFee, xcm_config::XcmConfig, Balances, ExistentialDeposit, Runtime,
|
||||||
Runtime, SessionKeys, System,
|
SessionKeys, System, TrustBackedAssets,
|
||||||
};
|
};
|
||||||
use xcm::latest::prelude::*;
|
use xcm::latest::prelude::*;
|
||||||
use xcm_executor::traits::WeightTrader;
|
use xcm_executor::traits::WeightTrader;
|
||||||
pub const ALICE: [u8; 32] = [1u8; 32];
|
pub const ALICE: [u8; 32] = [1u8; 32];
|
||||||
|
|
||||||
|
type Assets = TrustBackedAssets;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_asset_xcm_trader() {
|
fn test_asset_xcm_trader() {
|
||||||
ExtBuilder::<Runtime>::default()
|
ExtBuilder::<Runtime>::default()
|
||||||
|
|||||||
@@ -6,14 +6,16 @@ use frame_support::{
|
|||||||
};
|
};
|
||||||
use parachains_common::{AccountId, AuraId};
|
use parachains_common::{AccountId, AuraId};
|
||||||
pub use westmint_runtime::{
|
pub use westmint_runtime::{
|
||||||
constants::fee::WeightToFee, xcm_config::XcmConfig, Assets, Balances, ExistentialDeposit,
|
constants::fee::WeightToFee, xcm_config::XcmConfig, Balances, ExistentialDeposit, Runtime,
|
||||||
Runtime, SessionKeys, System,
|
SessionKeys, System, TrustBackedAssets,
|
||||||
};
|
};
|
||||||
use xcm::latest::prelude::*;
|
use xcm::latest::prelude::*;
|
||||||
use xcm_executor::traits::WeightTrader;
|
use xcm_executor::traits::WeightTrader;
|
||||||
|
|
||||||
pub const ALICE: [u8; 32] = [1u8; 32];
|
pub const ALICE: [u8; 32] = [1u8; 32];
|
||||||
|
|
||||||
|
type Assets = TrustBackedAssets;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_asset_xcm_trader() {
|
fn test_asset_xcm_trader() {
|
||||||
ExtBuilder::<Runtime>::default()
|
ExtBuilder::<Runtime>::default()
|
||||||
|
|||||||
Reference in New Issue
Block a user