xcm-emulator mini fix (#3031)

This commit is contained in:
Branislav Kontur
2023-08-18 13:55:02 +02:00
committed by GitHub
parent 73cb081a05
commit 33046b6e32
6 changed files with 22 additions and 3 deletions
@@ -53,6 +53,8 @@ fn open_hrmp_channel_between_paras_works() {
bx!(relay_destination.clone()),
bx!(xcm),
));
PenpalKusamaA::assert_xcm_pallet_sent();
});
Kusama::execute_with(|| {
@@ -103,6 +105,8 @@ fn open_hrmp_channel_between_paras_works() {
bx!(relay_destination),
bx!(xcm),
));
PenpalKusamaB::assert_xcm_pallet_sent();
});
Kusama::execute_with(|| {
@@ -171,7 +171,7 @@ fn send_xcm_from_para_to_system_para_paying_fee_with_assets_works() {
bx!(xcm),
));
AssetHubKusama::assert_xcm_pallet_sent();
PenpalKusamaA::assert_xcm_pallet_sent();
});
AssetHubKusama::execute_with(|| {
@@ -53,6 +53,8 @@ fn open_hrmp_channel_between_paras_works() {
bx!(relay_destination.clone()),
bx!(xcm),
));
PenpalPolkadotA::assert_xcm_pallet_sent();
});
Polkadot::execute_with(|| {
@@ -103,6 +105,8 @@ fn open_hrmp_channel_between_paras_works() {
bx!(relay_destination),
bx!(xcm),
));
PenpalPolkadotB::assert_xcm_pallet_sent();
});
Polkadot::execute_with(|| {
@@ -174,7 +174,7 @@ fn send_xcm_from_para_to_system_para_paying_fee_with_assets_works() {
bx!(xcm),
));
AssetHubPolkadot::assert_xcm_pallet_sent();
PenpalPolkadotA::assert_xcm_pallet_sent();
});
AssetHubPolkadot::execute_with(|| {
@@ -113,7 +113,7 @@ fn send_xcm_from_para_to_system_para_paying_fee_with_assets_works() {
bx!(xcm),
));
AssetHubWestend::assert_xcm_pallet_sent();
PenpalWestendA::assert_xcm_pallet_sent();
});
AssetHubWestend::execute_with(|| {
@@ -480,6 +480,17 @@ impl_accounts_helpers_for_parachain!(AssetHubWestend);
impl_assets_helpers_for_parachain!(AssetHubWestend, Westend);
impl_assert_events_helpers_for_parachain!(AssetHubWestend);
// PenpalPolkadot implementations
impl_assert_events_helpers_for_parachain!(PenpalPolkadotA);
impl_assert_events_helpers_for_parachain!(PenpalPolkadotB);
// PenpalKusama implementations
impl_assert_events_helpers_for_parachain!(PenpalKusamaA);
impl_assert_events_helpers_for_parachain!(PenpalKusamaB);
// PenpalWestendA implementation
impl_assert_events_helpers_for_parachain!(PenpalWestendA);
// Collectives implementation
impl_accounts_helpers_for_parachain!(Collectives);
impl_assert_events_helpers_for_parachain!(Collectives);