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"