Skip to content

Backport teleport tests from polkadot-fellows repo#5087

Closed
programskillforverification wants to merge 26 commits intoparitytech:masterfrom
programskillforverification:backport-tests-for-teleport
Closed

Backport teleport tests from polkadot-fellows repo#5087
programskillforverification wants to merge 26 commits intoparitytech:masterfrom
programskillforverification:backport-tests-for-teleport

Conversation

@programskillforverification
Copy link
Copy Markdown
Contributor

Description

This is continue of the work to backport emulated-integration-tests-common, if you want to understand the full context start with reading #4930

Zihan Zhao and others added 26 commits July 16, 2024 03:31
Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>
@programskillforverification
Copy link
Copy Markdown
Contributor Author

programskillforverification commented Jul 20, 2024

@acatangiu @franciscoaguirre
Because of no test_parachain_is_trusted_teleporter in Polkadot-Fellowships/runtime PR, I try to add dry-run to test_parachain_is_trusted_teleporter, but test teleport_to_other_system_parachains_works failed

#[test]
fn teleport_to_other_system_parachains_works() {
let amount = ASSET_HUB_ROCOCO_ED * 100;
let native_asset: Assets = (Parent, amount).into();
test_parachain_is_trusted_teleporter!(
AssetHubRococo, // Origin
AssetHubRococoXcmConfig, // XCM Configuration
vec![BridgeHubRococo], // Destinations
(native_asset, amount)
);
}

It shows

BridgeHubRococo::RuntimeEvent::Balances(::emulated_integration_tests_common::macros::pallet_balances::Event::Minted {
who: receiver, .. }) was never received. All events:
[]

BridgeHubRococo::RuntimeEvent::MessageQueue(::emulated_integration_tests_common::macros::pallet_message_queue::Event::Processed {
success: true, .. }) was never received. All events:
[]

@programskillforverification programskillforverification marked this pull request as ready for review July 26, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants