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
@@ -28,10 +28,8 @@ mod imports {
pub(crate) use zagros_system_emulated_network::{
self,
asset_hub_zagros_emulated_chain::AssetHubZagrosParaPallet as AssetHubZagrosPallet,
pezbridge_hub_zagros_emulated_chain::BridgeHubZagrosParaPallet as BridgeHubZagrosPallet,
collectives_zagros_emulated_chain::CollectivesZagrosParaPallet as CollectivesZagrosPallet,
coretime_zagros_emulated_chain::CoretimeZagrosParaPallet as CoretimeZagrosPallet,
pez_penpal_emulated_chain::{PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet},
people_zagros_emulated_chain::{
people_zagros_runtime::{
self, xcm_config::XcmConfig as PeopleZagrosXcmConfig,
@@ -39,6 +37,8 @@ mod imports {
},
PeopleZagrosParaPallet as PeopleZagrosPallet,
},
pez_penpal_emulated_chain::{PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet},
pezbridge_hub_zagros_emulated_chain::BridgeHubZagrosParaPallet as BridgeHubZagrosPallet,
zagros_emulated_chain::{genesis::ED as ZAGROS_ED, ZagrosRelayPallet as ZagrosPallet},
AssetHubZagrosPara as AssetHubZagros, AssetHubZagrosParaReceiver as AssetHubZagrosReceiver,
BridgeHubZagrosPara as BridgeHubZagros, CollectivesZagrosPara as CollectivesZagros,
@@ -16,8 +16,8 @@
use crate::imports::*;
use codec::Encode;
use pezframe_support::pezsp_runtime::traits::Dispatchable;
use people_zagros_runtime::people::IdentityInfo;
use pezframe_support::pezsp_runtime::traits::Dispatchable;
use teyrchains_common::AccountId;
use zagros_runtime::{
governance::pezpallet_custom_origins::Origin::GeneralAdmin as GeneralAdminOrigin, Dmp,
@@ -260,12 +260,11 @@ fn relay_commands_kill_identity_wrong_origin() {
Dmp::make_teyrchain_reachable(1004);
let kill_identity_call =
PeopleCall::Identity(pezpallet_identity::Call::<PeopleRuntime>::kill_identity {
target: people_zagros_runtime::MultiAddress::Id(PeopleZagros::account_id_of(
ALICE,
)),
});
let kill_identity_call = PeopleCall::Identity(pezpallet_identity::Call::<
PeopleRuntime,
>::kill_identity {
target: people_zagros_runtime::MultiAddress::Id(PeopleZagros::account_id_of(ALICE)),
});
let xcm_message = RuntimeCall::XcmPallet(pezpallet_xcm::Call::<Runtime>::send {
dest: bx!(VersionedLocation::from(Location::new(0, [Teyrchain(1004)]))),
@@ -312,12 +311,13 @@ fn relay_commands_add_remove_username_authority() {
Dmp::make_teyrchain_reachable(1004);
let add_username_authority =
PeopleCall::Identity(pezpallet_identity::Call::<PeopleRuntime>::add_username_authority {
authority: people_zagros_runtime::MultiAddress::Id(people_zagros_alice.clone()),
suffix: b"suffix1".into(),
allocation: 10,
});
let add_username_authority = PeopleCall::Identity(pezpallet_identity::Call::<
PeopleRuntime,
>::add_username_authority {
authority: people_zagros_runtime::MultiAddress::Id(people_zagros_alice.clone()),
suffix: b"suffix1".into(),
allocation: 10,
});
let add_authority_xcm_msg = RuntimeCall::XcmPallet(pezpallet_xcm::Call::<Runtime>::send {
dest: bx!(VersionedLocation::from(Location::new(0, [Teyrchain(1004)]))),
@@ -410,17 +410,18 @@ fn relay_commands_add_remove_username_authority() {
suffix: b"suffix1".into(),
});
let remove_authority_xcm_msg = RuntimeCall::XcmPallet(pezpallet_xcm::Call::<Runtime>::send {
dest: bx!(VersionedLocation::from(Location::new(0, [Teyrchain(1004)]))),
message: bx!(VersionedXcm::from(Xcm(vec![
UnpaidExecution { weight_limit: Unlimited, check_origin: None },
Transact {
origin_kind,
call: remove_username_authority.encode().into(),
fallback_max_weight: None
}
]))),
});
let remove_authority_xcm_msg =
RuntimeCall::XcmPallet(pezpallet_xcm::Call::<Runtime>::send {
dest: bx!(VersionedLocation::from(Location::new(0, [Teyrchain(1004)]))),
message: bx!(VersionedXcm::from(Xcm(vec![
UnpaidExecution { weight_limit: Unlimited, check_origin: None },
Transact {
origin_kind,
call: remove_username_authority.encode().into(),
fallback_max_weight: None
}
]))),
});
assert_ok!(remove_authority_xcm_msg.dispatch(origin));
@@ -476,17 +477,18 @@ fn relay_commands_add_remove_username_authority_wrong_origin() {
allocation: 10,
});
let add_authority_xcm_msg = RuntimeCall::XcmPallet(pezpallet_xcm::Call::<Runtime>::send {
dest: bx!(VersionedLocation::from(Location::new(0, [Teyrchain(1004)]))),
message: bx!(VersionedXcm::from(Xcm(vec![
UnpaidExecution { weight_limit: Unlimited, check_origin: None },
Transact {
origin_kind,
call: add_username_authority.encode().into(),
fallback_max_weight: None
}
]))),
});
let add_authority_xcm_msg =
RuntimeCall::XcmPallet(pezpallet_xcm::Call::<Runtime>::send {
dest: bx!(VersionedLocation::from(Location::new(0, [Teyrchain(1004)]))),
message: bx!(VersionedXcm::from(Xcm(vec![
UnpaidExecution { weight_limit: Unlimited, check_origin: None },
Transact {
origin_kind,
call: add_username_authority.encode().into(),
fallback_max_weight: None
}
]))),
});
assert_ok!(add_authority_xcm_msg.dispatch(origin.clone()));
assert_expected_events!(
@@ -18,9 +18,9 @@
use crate::imports::*;
use codec::Encode;
use emulated_integration_tests_common::accounts::ALICE;
use people_zagros_runtime::people::{IdentityField, IdentityInfo};
use pezframe_support::BoundedVec;
use pezpallet_identity::Data;
use people_zagros_runtime::people::{IdentityField, IdentityInfo};
use xcm::latest::AssetTransferFilter;
#[test]