Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport teleport tests from polkadot-fellows repo #5087

Conversation

programskillforverification
Copy link
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
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