Skip to content

Commit 1e762d5

Browse files
committed
ahk: Disable tests that rely on the pending unreleased fix
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
1 parent 13a3b08 commit 1e762d5

File tree

1 file changed

+51
-45
lines changed
  • system-parachains/asset-hubs/asset-hub-kusama/tests

1 file changed

+51
-45
lines changed

system-parachains/asset-hubs/asset-hub-kusama/tests/tests.rs

Lines changed: 51 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -221,51 +221,53 @@ fn test_assets_balances_api_works() {
221221
});
222222
}
223223

224-
asset_test_utils::include_teleports_for_native_asset_works!(
225-
Runtime,
226-
AllPalletsWithoutSystem,
227-
XcmConfig,
228-
// TODO: after AHM change this from `()` to `CheckingAccount`
229-
(),
230-
WeightToFee,
231-
ParachainSystem,
232-
collator_session_keys(),
233-
slot_durations(),
234-
ExistentialDeposit::get(),
235-
Box::new(|runtime_event_encoded: Vec<u8>| {
236-
match RuntimeEvent::decode(&mut &runtime_event_encoded[..]) {
237-
Ok(RuntimeEvent::PolkadotXcm(event)) => Some(event),
238-
_ => None,
239-
}
240-
}),
241-
1000
242-
);
243-
244-
include_teleports_for_foreign_assets_works!(
245-
Runtime,
246-
AllPalletsWithoutSystem,
247-
XcmConfig,
248-
CheckingAccount,
249-
WeightToFee,
250-
ParachainSystem,
251-
LocationToAccountId,
252-
ForeignAssetsInstance,
253-
collator_session_keys(),
254-
slot_durations(),
255-
ExistentialDeposit::get(),
256-
Box::new(|runtime_event_encoded: Vec<u8>| {
257-
match RuntimeEvent::decode(&mut &runtime_event_encoded[..]) {
258-
Ok(RuntimeEvent::PolkadotXcm(event)) => Some(event),
259-
_ => None,
260-
}
261-
}),
262-
Box::new(|runtime_event_encoded: Vec<u8>| {
263-
match RuntimeEvent::decode(&mut &runtime_event_encoded[..]) {
264-
Ok(RuntimeEvent::XcmpQueue(event)) => Some(event),
265-
_ => None,
266-
}
267-
})
268-
);
224+
// Enable once the fix https://github.com/paritytech/polkadot-sdk/pull/10541 is released.
225+
// asset_test_utils::include_teleports_for_native_asset_works!(
226+
// Runtime,
227+
// AllPalletsWithoutSystem,
228+
// XcmConfig,
229+
// // TODO: after AHM change this from `()` to `CheckingAccount`
230+
// (),
231+
// WeightToFee,
232+
// ParachainSystem,
233+
// collator_session_keys(),
234+
// slot_durations(),
235+
// ExistentialDeposit::get(),
236+
// Box::new(|runtime_event_encoded: Vec<u8>| {
237+
// match RuntimeEvent::decode(&mut &runtime_event_encoded[..]) {
238+
// Ok(RuntimeEvent::PolkadotXcm(event)) => Some(event),
239+
// _ => None,
240+
// }
241+
// }),
242+
// 1000
243+
// );
244+
245+
// Enable once the fix https://github.com/paritytech/polkadot-sdk/pull/10541 is released.
246+
// include_teleports_for_foreign_assets_works!(
247+
// Runtime,
248+
// AllPalletsWithoutSystem,
249+
// XcmConfig,
250+
// CheckingAccount,
251+
// WeightToFee,
252+
// ParachainSystem,
253+
// LocationToAccountId,
254+
// ForeignAssetsInstance,
255+
// collator_session_keys(),
256+
// slot_durations(),
257+
// ExistentialDeposit::get(),
258+
// Box::new(|runtime_event_encoded: Vec<u8>| {
259+
// match RuntimeEvent::decode(&mut &runtime_event_encoded[..]) {
260+
// Ok(RuntimeEvent::PolkadotXcm(event)) => Some(event),
261+
// _ => None,
262+
// }
263+
// }),
264+
// Box::new(|runtime_event_encoded: Vec<u8>| {
265+
// match RuntimeEvent::decode(&mut &runtime_event_encoded[..]) {
266+
// Ok(RuntimeEvent::XcmpQueue(event)) => Some(event),
267+
// _ => None,
268+
// }
269+
// })
270+
// );
269271

270272
asset_test_utils::include_asset_transactor_transfer_with_local_consensus_currency_works!(
271273
Runtime,
@@ -363,6 +365,8 @@ fn bridging_to_asset_hub_polkadot() -> TestBridgingConfig {
363365
}
364366
}
365367

368+
// Enable once the fix https://github.com/paritytech/polkadot-sdk/pull/10541 is released.
369+
#[ignore]
366370
#[test]
367371
fn limited_reserve_transfer_assets_for_native_asset_to_asset_hub_polkadot_works() {
368372
ExtBuilder::<Runtime>::default()
@@ -464,6 +468,8 @@ fn receive_reserve_asset_deposited_dot_from_asset_hub_polkadot_fees_paid_by_pool
464468
)
465469
}
466470

471+
// Enable once the fix https://github.com/paritytech/polkadot-sdk/pull/10541 is released.
472+
#[ignore]
467473
#[test]
468474
fn reserve_transfer_native_asset_to_non_teleport_para_works() {
469475
asset_test_utils::test_cases::reserve_transfer_native_asset_to_non_teleport_para_works::<

0 commit comments

Comments
 (0)