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
@@ -33,13 +33,13 @@ mod imports {
pub(crate) use xcm_executor::traits::TransferType;
// Pezcumulus
pub(crate) use asset_test_utils::xcm_helpers;
pub(crate) use asset_test_pezutils::xcm_helpers;
pub(crate) use emulated_integration_tests_common::{
accounts::DUMMY_EMPTY,
test_relay_is_trusted_teleporter, test_teyrchain_is_trusted_teleporter,
test_teyrchain_is_trusted_teleporter_for_relay,
test_xcm_fee_querying_apis_work_for_asset_hub,
xcm_emulator::{
xcm_pez_emulator::{
assert_expected_events, bx, Chain, RelayChain as Relay, Test, TestArgs, TestContext,
TestExt, Teyrchain as Para,
},
@@ -62,8 +62,8 @@ mod imports {
genesis::{AssetHubPezkuwichainAssetOwner, ED as ASSET_HUB_PEZKUWICHAIN_ED},
AssetHubPezkuwichainParaPallet as AssetHubPezkuwichainPallet,
},
penpal_emulated_chain::{
penpal_runtime::xcm_config::{
pez_penpal_emulated_chain::{
pez_penpal_runtime::xcm_config::{
CustomizableAssetFromSystemAssetHub as PenpalCustomizableAssetFromSystemAssetHub,
LocalReservableFromAssetHub as PenpalLocalReservableFromAssetHub,
LocalTeleportableToAssetHub as PenpalLocalTeleportableToAssetHub,
@@ -159,7 +159,7 @@ fn spend_roc_on_asset_hub() {
AssetHubPezkuwichain,
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 ,.. }) => {},
]
);
@@ -240,7 +240,7 @@ fn create_and_claim_treasury_spend_in_usdt() {
to: to == &alice,
amount: amount == &SPEND_AMOUNT,
},
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 ,.. }) => {},
]
);
@@ -18,7 +18,7 @@
use crate::imports::*;
use emulated_integration_tests_common::test_can_estimate_and_pay_exact_fees;
use pezframe_support::dispatch::RawOrigin;
use xcm_runtime_apis::{
use xcm_runtime_pezapis::{
dry_run::runtime_decl_for_dry_run_api::DryRunApiV2,
fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV2,
};