Xcm Emulator: prepare XCMP on init (#2711)

* std for pallet-glutton

* fix xcm-emulator init

* headers for it tests
This commit is contained in:
Muharem Ismailov
2023-06-08 13:09:48 +02:00
committed by GitHub
parent 29fa722f38
commit f8cc95c6b9
18 changed files with 244 additions and 4 deletions
@@ -23,7 +23,7 @@ use frame_support::traits::{
tokens::Pay,
};
use sp_core::crypto::Ss58Codec;
use xcm_emulator::{Network, TestExt};
use xcm_emulator::TestExt;
#[test]
fn pay_salary() {
@@ -34,9 +34,6 @@ fn pay_salary() {
let pay_to = Polkadot::account_id_of(ALICE);
let pay_amount = 9000;
PolkadotMockNet::_init();
PolkadotMockNet::reset();
AssetHub::execute_with(|| {
type AssetHubAssets = <AssetHub as AssetHubPallet>::Assets;