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
+2
View File
@@ -740,6 +740,8 @@ macro_rules! decl_test_networks {
$crate::HORIZONTAL_MESSAGES.with(|b| b.borrow_mut().insert(stringify!($name).to_string(), $crate::VecDeque::new()));
$crate::RELAY_BLOCK_NUMBER.with(|b| b.borrow_mut().insert(stringify!($name).to_string(), 1));
$crate::PARA_IDS.with(|b| b.borrow_mut().insert(stringify!($name).to_string(), Self::_para_ids()));
$( <$parachain>::prepare_for_xcmp(); )*
}
}