snapshot before rebranding

This commit is contained in:
2025-12-14 07:37:21 +03:00
parent 5520d491a5
commit 09735eb97a
1752 changed files with 58116 additions and 15986 deletions
@@ -7,6 +7,8 @@ license = "Apache-2.0"
description = "Common resources for integration testing with xcm-emulator"
homepage.workspace = true
repository.workspace = true
documentation = "https://docs.rs/emulated-integration-tests-common"
publish = false
[lints]
workspace = true
@@ -34,7 +36,7 @@ pezsp-runtime = { workspace = true, default-features = true }
# Pezkuwi
pezpallet-xcm = { features = [
"test-utils",
"test-utils",
], workspace = true, default-features = true }
pezkuwi-primitives = { workspace = true, default-features = true }
pezkuwi-runtime-teyrchains = { workspace = true, default-features = true }
@@ -61,36 +63,36 @@ pezpallet-xcm-bridge-hub = { workspace = true, default-features = true }
[features]
runtime-benchmarks = [
"asset-test-utils/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-xcm-bridge-hub/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-bridge-messages/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
"pezpallet-whitelist/runtime-benchmarks",
"pezpallet-xcm-bridge-hub/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezkuwi-primitives/runtime-benchmarks",
"pezkuwi-runtime-teyrchains/runtime-benchmarks",
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
"pezsc-consensus-grandpa/runtime-benchmarks",
"pezsp-authority-discovery/runtime-benchmarks",
"pezsp-consensus-babe/runtime-benchmarks",
"pezsp-consensus-beefy/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-emulator/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-apis/runtime-benchmarks",
"xcm-simulator/runtime-benchmarks",
"xcm/runtime-benchmarks",
"asset-test-utils/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-xcm-bridge-hub/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-bridge-messages/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
"pezpallet-whitelist/runtime-benchmarks",
"pezpallet-xcm-bridge-hub/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezkuwi-primitives/runtime-benchmarks",
"pezkuwi-runtime-teyrchains/runtime-benchmarks",
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
"pezsc-consensus-grandpa/runtime-benchmarks",
"pezsp-authority-discovery/runtime-benchmarks",
"pezsp-consensus-babe/runtime-benchmarks",
"pezsp-consensus-beefy/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-emulator/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-apis/runtime-benchmarks",
"xcm-simulator/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
@@ -46,9 +46,9 @@ pub use xcm::{
};
// Pezcumulus
pub use cumulus_pallet_teyrchain_system;
pub use cumulus_pallet_xcmp_queue;
pub use cumulus_primitives_core::{
pub use pezcumulus_pallet_teyrchain_system;
pub use pezcumulus_pallet_xcmp_queue;
pub use pezcumulus_primitives_core::{
relay_chain::HrmpChannelId, DmpMessageHandler, Junction, Junctions, NetworkId, ParaId,
XcmpMessageHandler,
};
@@ -516,7 +516,7 @@ macro_rules! impl_assert_events_helpers_for_teyrchain {
Self,
vec![
[<$chain RuntimeEvent>]::<N>::TeyrchainSystem(
$crate::impls::cumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. }
$crate::impls::pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. }
) => {},
]
);
@@ -18,7 +18,7 @@ pub mod macros;
pub mod xcm_helpers;
use codec::Encode;
use cumulus_primitives_core::relay_chain::Slot;
use pezcumulus_primitives_core::relay_chain::Slot;
pub use xcm_emulator;
pub use xcm_simulator;
@@ -43,7 +43,7 @@ pub use xcm_executor::traits::{DropAssets, TransferType};
// Pezcumulus
pub use asset_test_utils;
pub use cumulus_pallet_xcmp_queue;
pub use pezcumulus_pallet_xcmp_queue;
pub use teyrchains_common::AccountId;
pub use xcm_emulator::{
assert_expected_events, Chain, RelayChain, TestArgs, TestContext, TestExt, Teyrchain as Para,
@@ -162,7 +162,7 @@ macro_rules! test_teyrchain_is_trusted_teleporter {
$crate::macros::pezpallet_xcm::Event::Attempted { outcome: $crate::macros::Outcome::Complete { .. } }
) => {},
RuntimeEvent::XcmpQueue(
$crate::macros::cumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }
$crate::macros::pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }
) => {},
RuntimeEvent::Balances(
$crate::macros::pezpallet_balances::Event::Burned { who: sender, amount }