chore: regenerate umbrella crate, fix feature propagation

This commit is contained in:
2025-12-16 11:28:32 +03:00
parent dd6d48f528
commit 620b0e3aa0
1358 changed files with 9464 additions and 7656 deletions
@@ -84,12 +84,18 @@ pub fn child_account_id(para: u32) -> relay_chain::AccountId {
relay_chain::location_converter::LocationConverter::convert_location(&location.into()).unwrap()
}
pub fn child_account_account_id(para: u32, who: pezsp_runtime::AccountId32) -> relay_chain::AccountId {
pub fn child_account_account_id(
para: u32,
who: pezsp_runtime::AccountId32,
) -> relay_chain::AccountId {
let location = (Teyrchain(para), AccountId32 { network: None, id: who.into() });
relay_chain::location_converter::LocationConverter::convert_location(&location.into()).unwrap()
}
pub fn sibling_account_account_id(para: u32, who: pezsp_runtime::AccountId32) -> teyrchain::AccountId {
pub fn sibling_account_account_id(
para: u32,
who: pezsp_runtime::AccountId32,
) -> teyrchain::AccountId {
let location = (Parent, Teyrchain(para), AccountId32 { network: None, id: who.into() });
teyrchain::location_converter::LocationConverter::convert_location(&location.into()).unwrap()
}
@@ -92,7 +92,10 @@ fn ump() {
});
Relay::execute_with(|| {
assert!(system_contains_event!(relay_chain, System(pezframe_system::Event::Remarked { .. })));
assert!(system_contains_event!(
relay_chain,
System(pezframe_system::Event::Remarked { .. })
));
});
}
@@ -190,8 +193,10 @@ fn reserve_transfer_with_error() {
assert!(log_capture.contains("XCM validate_send failed"));
// Verify that XcmPallet::Attempted was NOT emitted (rollback happened)
let xcm_attempted_emitted =
system_contains_event!(relay_chain, XcmPallet(pezpallet_xcm::Event::Attempted { .. }));
let xcm_attempted_emitted = system_contains_event!(
relay_chain,
XcmPallet(pezpallet_xcm::Event::Attempted { .. })
);
assert!(
!xcm_attempted_emitted,
"Expected no XcmPallet::Attempted event due to rollback, but it was emitted"
@@ -30,11 +30,11 @@ use pezsp_runtime::{
MultiAddress, MultiSignature,
};
use pezpallet_xcm::XcmPassthrough;
use pezkuwi_core_primitives::BlockNumber as RelayBlockNumber;
use pezkuwi_teyrchain_primitives::primitives::{
DmpMessageHandler, Id as ParaId, Sibling, XcmpMessageFormat, XcmpMessageHandler,
};
use pezpallet_xcm::XcmPassthrough;
use xcm::{latest::prelude::*, VersionedXcm};
use xcm_builder::{
AccountId32Aliases, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedRateOfFungible,
@@ -158,7 +158,8 @@ pub mod mock_msg_queue {
#[pezpallet::config]
pub trait Config: pezframe_system::Config {
#[allow(deprecated)]
type RuntimeEvent: From<Event<Self>> + IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
type RuntimeEvent: From<Event<Self>>
+ IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
type XcmExecutor: ExecuteXcm<Self::RuntimeCall>;
}
@@ -36,7 +36,8 @@ pub mod pezpallet {
#[pezpallet::config]
pub trait Config: pezframe_system::Config {
#[allow(deprecated)]
type RuntimeEvent: From<Event<Self>> + IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
type RuntimeEvent: From<Event<Self>>
+ IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
type XcmExecutor: ExecuteXcm<Self::RuntimeCall>;
}