Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur committed Jun 14, 2024
1 parent 805d100 commit e93cfc7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,19 +289,20 @@ fn relayed_incoming_message_works() {
}

#[test]
pub fn complex_relay_extrinsic_works() {
from_parachain::complex_relay_extrinsic_works::<RuntimeTestsAdapter>(
fn free_relay_extrinsic_works() {
// from Polkadot
from_parachain::free_relay_extrinsic_works::<RuntimeTestsAdapter>(
collator_session_keys(),
slot_durations(),
bp_bridge_hub_kusama::BRIDGE_HUB_KUSAMA_PARACHAIN_ID,
bp_bridge_hub_polkadot::BRIDGE_HUB_POLKADOT_PARACHAIN_ID,
SIBLING_PARACHAIN_ID,
BridgeHubPolkadotChainId::get(),
SIBLING_PARACHAIN_ID,
Kusama,
XCM_LANE_FOR_ASSET_HUB_KUSAMA_TO_ASSET_HUB_POLKADOT,
|| (),
construct_and_apply_extrinsic,
);
)
}

#[test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,19 +290,20 @@ fn relayed_incoming_message_works() {
}

#[test]
pub fn complex_relay_extrinsic_works() {
from_parachain::complex_relay_extrinsic_works::<RuntimeTestsAdapter>(
fn free_relay_extrinsic_works() {
// from Polkadot
from_parachain::free_relay_extrinsic_works::<RuntimeTestsAdapter>(
collator_session_keys(),
slot_durations(),
bp_bridge_hub_polkadot::BRIDGE_HUB_POLKADOT_PARACHAIN_ID,
bp_bridge_hub_kusama::BRIDGE_HUB_KUSAMA_PARACHAIN_ID,
SIBLING_PARACHAIN_ID,
BridgeHubKusamaChainId::get(),
SIBLING_PARACHAIN_ID,
Polkadot,
XCM_LANE_FOR_ASSET_HUB_POLKADOT_TO_ASSET_HUB_KUSAMA,
|| (),
construct_and_apply_extrinsic,
);
)
}

#[test]
Expand Down

0 comments on commit e93cfc7

Please sign in to comment.