Refactoring Checkpoint: (WIP)

This commit is contained in:
2025-12-14 10:29:31 +03:00
parent 09735eb97a
commit c89d7cac55
1424 changed files with 6415 additions and 6064 deletions
@@ -4,7 +4,7 @@ version = "1.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
description = "Collectives Zagros runtime integration tests with xcm-emulator"
description = "Collectives Zagros runtime integration tests with xcm-pez-emulator"
publish = false
documentation = "https://docs.rs/collectives-zagros-integration-tests"
repository = { workspace = true }
@@ -22,14 +22,14 @@ mod imports {
pub(crate) use emulated_integration_tests_common::{
accounts::ALICE,
test_teyrchain_is_trusted_teleporter,
xcm_emulator::{assert_expected_events, bx, Chain, TestExt, Teyrchain},
xcm_pez_emulator::{assert_expected_events, bx, Chain, TestExt, Teyrchain},
};
pub(crate) use zagros_system_emulated_network::{
asset_hub_zagros_emulated_chain::{
asset_hub_zagros_runtime::xcm_config::LocationToAccountId as AssetHubLocationToAccountId,
genesis::ED as ASSET_HUB_ZAGROS_ED, AssetHubZagrosParaPallet as AssetHubZagrosPallet,
},
bridge_hub_zagros_emulated_chain::BridgeHubZagrosParaPallet as BridgeHubZagrosPallet,
pezbridge_hub_zagros_emulated_chain::BridgeHubZagrosParaPallet as BridgeHubZagrosPallet,
collectives_zagros_emulated_chain::{
collectives_zagros_runtime::{
fellowship as collectives_fellowship,
@@ -39,7 +39,7 @@ mod imports {
CollectivesZagrosParaPallet as CollectivesZagrosPallet,
},
coretime_zagros_emulated_chain::CoretimeZagrosParaPallet as CoretimeZagrosPallet,
penpal_emulated_chain::{PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet},
pez_penpal_emulated_chain::{PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet},
people_zagros_emulated_chain::PeopleZagrosParaPallet as PeopleZagrosPallet,
zagros_emulated_chain::{
genesis::ED as ZAGROS_ED,
@@ -51,7 +51,7 @@ fn pay_salary_technical_fellowship() {
assert_expected_events!(
CollectivesZagros,
vec![
RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},
RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},
]
);
});
@@ -93,7 +93,7 @@ fn pay_salary_secretary() {
assert_expected_events!(
CollectivesZagros,
vec![
RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},
RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},
]
);
});
@@ -160,7 +160,7 @@ fn fellowship_treasury_spend() {
AssetHubZagros,
vec![
RuntimeEvent::Balances(pezpallet_balances::Event::Transfer { .. }) => {},
RuntimeEvent::TeyrchainSystem(pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. }) => {},
RuntimeEvent::TeyrchainSystem(pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. }) => {},
RuntimeEvent::MessageQueue(pezpallet_message_queue::Event::Processed { success: true ,.. }) => {},
]
);
@@ -234,7 +234,7 @@ fn fellowship_treasury_spend() {
AssetHubZagros,
vec![
RuntimeEvent::Balances(pezpallet_balances::Event::Transfer { .. }) => {},
RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},
RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},
RuntimeEvent::MessageQueue(pezpallet_message_queue::Event::Processed { success: true ,.. }) => {},
]
);