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
@@ -63,8 +63,8 @@ pub mod fee {
WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial,
};
use pezkuwi_primitives::Balance;
use smallvec::smallvec;
pub use pezsp_runtime::Perbill;
use smallvec::smallvec;
/// The block saturation level. Fees will be updates based on this value.
pub const TARGET_BLOCK_FULLNESS: Perbill = Perbill::from_percent(25);
@@ -25,8 +25,8 @@ use alloc::format;
use alloc::{string::ToString, vec, vec::Vec};
use core::panic;
use pezframe_support::build_struct_json_patch;
use pezpallet_staking_async_rc_runtime_constants::currency::UNITS as ZGR;
use pezkuwi_primitives::{AccountId, AssignmentId, SchedulerParams, ValidatorId};
use pezpallet_staking_async_rc_runtime_constants::currency::UNITS as ZGR;
use pezsp_authority_discovery::AuthorityId as AuthorityDiscoveryId;
use pezsp_consensus_babe::AuthorityId as BabeId;
use pezsp_consensus_beefy::ecdsa_crypto::AuthorityId as BeefyId;
@@ -20,9 +20,9 @@ use codec::{Decode, Encode};
use core::marker::PhantomData;
use pezframe_support::pezpallet_prelude::DispatchResult;
use pezframe_system::RawOrigin;
use pezpallet_staking_async_rc_runtime_constants::currency::*;
use pezkuwi_primitives::Balance;
use pezkuwi_runtime_common::identity_migrator::{OnReapIdentity, WeightInfo};
use pezpallet_staking_async_rc_runtime_constants::currency::*;
use xcm::{latest::prelude::*, VersionedLocation, VersionedXcm};
use xcm_executor::traits::TransactAsset;
@@ -47,17 +47,6 @@ use pezframe_support::{
};
pub use pezframe_system::Call as SystemCall;
use pezframe_system::{EnsureRoot, EnsureSigned};
pub use pezpallet_balances::Call as BalancesCall;
use pezpallet_grandpa::{fg_primitives, AuthorityId as GrandpaId};
use pezpallet_identity::legacy::IdentityInfo;
use pezpallet_session::{
disabling::{DisablingDecision, DisablingStrategy},
historical as session_historical,
};
use pezpallet_staking_async_ah_client::{self as ah_client};
use pezpallet_staking_async_rc_client::{self as rc_client};
pub use pezpallet_timestamp::Call as TimestampCall;
use pezpallet_transaction_payment::{FeeDetails, FungibleAdapter, RuntimeDispatchInfo};
use pezkuwi_primitives::{
async_backing::Constraints, slashing, AccountId, AccountIndex, ApprovalVotingParams, Balance,
BlockNumber, CandidateEvent, CandidateHash,
@@ -94,7 +83,17 @@ use pezkuwi_runtime_teyrchains::{
scheduler as teyrchains_scheduler, session_info as teyrchains_session_info,
shared as teyrchains_shared,
};
use scale_info::TypeInfo;
pub use pezpallet_balances::Call as BalancesCall;
use pezpallet_grandpa::{fg_primitives, AuthorityId as GrandpaId};
use pezpallet_identity::legacy::IdentityInfo;
use pezpallet_session::{
disabling::{DisablingDecision, DisablingStrategy},
historical as session_historical,
};
use pezpallet_staking_async_ah_client::{self as ah_client};
use pezpallet_staking_async_rc_client::{self as rc_client};
pub use pezpallet_timestamp::Call as TimestampCall;
use pezpallet_transaction_payment::{FeeDetails, FungibleAdapter, RuntimeDispatchInfo};
use pezsp_authority_discovery::AuthorityId as AuthorityDiscoveryId;
use pezsp_consensus_beefy::{
ecdsa_crypto::{AuthorityId as BeefyId, Signature as BeefySignature},
@@ -116,6 +115,7 @@ use pezsp_staking::{offence::OffenceSeverity, SessionIndex};
#[cfg(any(feature = "std", test))]
use pezsp_version::NativeVersion;
use pezsp_version::RuntimeVersion;
use scale_info::TypeInfo;
use xcm::{
latest::prelude::*, VersionedAsset, VersionedAssetId, VersionedAssets, VersionedLocation,
VersionedXcm,
@@ -143,7 +143,9 @@ pub mod pezpallet_reward_point_filler {
use super::*;
#[pezpallet::config]
pub trait Config: pezframe_system::Config + pezpallet_staking_async_ah_client::Config {
pub trait Config:
pezframe_system::Config + pezpallet_staking_async_ah_client::Config
{
type FillValidatorPointsTo: Get<u32>;
}
@@ -192,8 +194,8 @@ use impls::ToTeyrchainIdentityReaper;
// Governance and configurations.
pub mod governance;
use governance::{
pezpallet_custom_origins, AuctionAdmin, FellowshipAdmin, GeneralAdmin, LeaseAdmin, StakingAdmin,
Treasurer, TreasurySpender,
pezpallet_custom_origins, AuctionAdmin, FellowshipAdmin, GeneralAdmin, LeaseAdmin,
StakingAdmin, Treasurer, TreasurySpender,
};
#[cfg(test)]
@@ -236,10 +238,10 @@ pub fn native_version() -> NativeVersion {
NativeVersion { runtime_version: VERSION, can_author_with: Default::default() }
}
/// A type to identify calls to the Identity pezpallet. These will be filtered to prevent invocation,
/// locking the state of the pezpallet and preventing further updates to identities and sub-identities.
/// The locked state will be the genesis state of a new system chain and then removed from the Relay
/// Chain.
/// A type to identify calls to the Identity pezpallet. These will be filtered to prevent
/// invocation, locking the state of the pezpallet and preventing further updates to identities and
/// sub-identities. The locked state will be the genesis state of a new system chain and then
/// removed from the Relay Chain.
pub struct IsIdentityCall;
impl Contains<RuntimeCall> for IsIdentityCall {
fn contains(c: &RuntimeCall) -> bool {
@@ -1743,8 +1745,8 @@ parameter_types! {
impl pezpallet_migrations::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
// For this test runtime, always use MockedMigrations to satisfy both regular and benchmark
// builds. When runtime-benchmarks is enabled on pezframe-support (via --benches), the Migrations
// type must implement MockedMigrations, but LazyMigrationV1ToV2 doesn't.
// builds. When runtime-benchmarks is enabled on pezframe-support (via --benches), the
// Migrations type must implement MockedMigrations, but LazyMigrationV1ToV2 doesn't.
type Migrations = pezpallet_migrations::mock_helpers::MockedMigrations;
type CursorMaxLen = ConstU32<65_536>;
type IdentifierMaxLen = ConstU32<256>;
@@ -17,6 +17,22 @@
pub mod pezframe_system;
pub mod pezframe_system_extensions;
pub mod pezkuwi_runtime_common_assigned_slots;
pub mod pezkuwi_runtime_common_auctions;
pub mod pezkuwi_runtime_common_crowdloan;
pub mod pezkuwi_runtime_common_identity_migrator;
pub mod pezkuwi_runtime_common_paras_registrar;
pub mod pezkuwi_runtime_common_slots;
pub mod pezkuwi_runtime_teyrchains_configuration;
pub mod pezkuwi_runtime_teyrchains_coretime;
pub mod pezkuwi_runtime_teyrchains_disputes;
pub mod pezkuwi_runtime_teyrchains_disputes_slashing;
pub mod pezkuwi_runtime_teyrchains_hrmp;
pub mod pezkuwi_runtime_teyrchains_inclusion;
pub mod pezkuwi_runtime_teyrchains_initializer;
pub mod pezkuwi_runtime_teyrchains_on_demand;
pub mod pezkuwi_runtime_teyrchains_paras;
pub mod pezkuwi_runtime_teyrchains_paras_inherent;
pub mod pezpallet_asset_rate;
pub mod pezpallet_balances;
pub mod pezpallet_beefy_mmr;
@@ -41,20 +57,4 @@ pub mod pezpallet_utility;
pub mod pezpallet_vesting;
pub mod pezpallet_whitelist;
pub mod pezpallet_xcm;
pub mod pezkuwi_runtime_common_assigned_slots;
pub mod pezkuwi_runtime_common_auctions;
pub mod pezkuwi_runtime_common_crowdloan;
pub mod pezkuwi_runtime_common_identity_migrator;
pub mod pezkuwi_runtime_common_paras_registrar;
pub mod pezkuwi_runtime_common_slots;
pub mod pezkuwi_runtime_teyrchains_configuration;
pub mod pezkuwi_runtime_teyrchains_coretime;
pub mod pezkuwi_runtime_teyrchains_disputes;
pub mod pezkuwi_runtime_teyrchains_disputes_slashing;
pub mod pezkuwi_runtime_teyrchains_hrmp;
pub mod pezkuwi_runtime_teyrchains_inclusion;
pub mod pezkuwi_runtime_teyrchains_initializer;
pub mod pezkuwi_runtime_teyrchains_on_demand;
pub mod pezkuwi_runtime_teyrchains_paras;
pub mod pezkuwi_runtime_teyrchains_paras_inherent;
pub mod xcm;
@@ -29,14 +29,14 @@ use pezframe_support::{
},
};
use pezframe_system::EnsureRoot;
use pezpallet_staking_async_rc_runtime_constants::{
currency::CENTS, system_teyrchain::*, xcm::body::FELLOWSHIP_ADMIN_INDEX,
};
use pezpallet_xcm::XcmPassthrough;
use pezkuwi_runtime_common::{
xcm_sender::{ChildTeyrchainRouter, ExponentialPrice},
ToAuthor,
};
use pezpallet_staking_async_rc_runtime_constants::{
currency::CENTS, system_teyrchain::*, xcm::body::FELLOWSHIP_ADMIN_INDEX,
};
use pezpallet_xcm::XcmPassthrough;
use pezsp_core::ConstU32;
use xcm::latest::{prelude::*, ZAGROS_GENESIS_HASH};
use xcm_builder::{