mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
xcm-emulator mini fix (#3031)
This commit is contained in:
+4
@@ -53,6 +53,8 @@ fn open_hrmp_channel_between_paras_works() {
|
|||||||
bx!(relay_destination.clone()),
|
bx!(relay_destination.clone()),
|
||||||
bx!(xcm),
|
bx!(xcm),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
PenpalKusamaA::assert_xcm_pallet_sent();
|
||||||
});
|
});
|
||||||
|
|
||||||
Kusama::execute_with(|| {
|
Kusama::execute_with(|| {
|
||||||
@@ -103,6 +105,8 @@ fn open_hrmp_channel_between_paras_works() {
|
|||||||
bx!(relay_destination),
|
bx!(relay_destination),
|
||||||
bx!(xcm),
|
bx!(xcm),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
PenpalKusamaB::assert_xcm_pallet_sent();
|
||||||
});
|
});
|
||||||
|
|
||||||
Kusama::execute_with(|| {
|
Kusama::execute_with(|| {
|
||||||
|
|||||||
+1
-1
@@ -171,7 +171,7 @@ fn send_xcm_from_para_to_system_para_paying_fee_with_assets_works() {
|
|||||||
bx!(xcm),
|
bx!(xcm),
|
||||||
));
|
));
|
||||||
|
|
||||||
AssetHubKusama::assert_xcm_pallet_sent();
|
PenpalKusamaA::assert_xcm_pallet_sent();
|
||||||
});
|
});
|
||||||
|
|
||||||
AssetHubKusama::execute_with(|| {
|
AssetHubKusama::execute_with(|| {
|
||||||
|
|||||||
+4
@@ -53,6 +53,8 @@ fn open_hrmp_channel_between_paras_works() {
|
|||||||
bx!(relay_destination.clone()),
|
bx!(relay_destination.clone()),
|
||||||
bx!(xcm),
|
bx!(xcm),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
PenpalPolkadotA::assert_xcm_pallet_sent();
|
||||||
});
|
});
|
||||||
|
|
||||||
Polkadot::execute_with(|| {
|
Polkadot::execute_with(|| {
|
||||||
@@ -103,6 +105,8 @@ fn open_hrmp_channel_between_paras_works() {
|
|||||||
bx!(relay_destination),
|
bx!(relay_destination),
|
||||||
bx!(xcm),
|
bx!(xcm),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
PenpalPolkadotB::assert_xcm_pallet_sent();
|
||||||
});
|
});
|
||||||
|
|
||||||
Polkadot::execute_with(|| {
|
Polkadot::execute_with(|| {
|
||||||
|
|||||||
+1
-1
@@ -174,7 +174,7 @@ fn send_xcm_from_para_to_system_para_paying_fee_with_assets_works() {
|
|||||||
bx!(xcm),
|
bx!(xcm),
|
||||||
));
|
));
|
||||||
|
|
||||||
AssetHubPolkadot::assert_xcm_pallet_sent();
|
PenpalPolkadotA::assert_xcm_pallet_sent();
|
||||||
});
|
});
|
||||||
|
|
||||||
AssetHubPolkadot::execute_with(|| {
|
AssetHubPolkadot::execute_with(|| {
|
||||||
|
|||||||
+1
-1
@@ -113,7 +113,7 @@ fn send_xcm_from_para_to_system_para_paying_fee_with_assets_works() {
|
|||||||
bx!(xcm),
|
bx!(xcm),
|
||||||
));
|
));
|
||||||
|
|
||||||
AssetHubWestend::assert_xcm_pallet_sent();
|
PenpalWestendA::assert_xcm_pallet_sent();
|
||||||
});
|
});
|
||||||
|
|
||||||
AssetHubWestend::execute_with(|| {
|
AssetHubWestend::execute_with(|| {
|
||||||
|
|||||||
@@ -480,6 +480,17 @@ impl_accounts_helpers_for_parachain!(AssetHubWestend);
|
|||||||
impl_assets_helpers_for_parachain!(AssetHubWestend, Westend);
|
impl_assets_helpers_for_parachain!(AssetHubWestend, Westend);
|
||||||
impl_assert_events_helpers_for_parachain!(AssetHubWestend);
|
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
|
// Collectives implementation
|
||||||
impl_accounts_helpers_for_parachain!(Collectives);
|
impl_accounts_helpers_for_parachain!(Collectives);
|
||||||
impl_assert_events_helpers_for_parachain!(Collectives);
|
impl_assert_events_helpers_for_parachain!(Collectives);
|
||||||
|
|||||||
Reference in New Issue
Block a user