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
+6 -5
View File
@@ -71,12 +71,12 @@ use pezframe_support::{
},
weights::{Weight, WeightMeter},
};
use pezpallet_message_queue::OnQueueChanged;
use pezkuwi_runtime_common::xcm_sender::PriceForMessageDelivery;
use pezkuwi_runtime_teyrchains::{FeeTracker, GetMinFeeFactor};
use scale_info::TypeInfo;
use pezpallet_message_queue::OnQueueChanged;
use pezsp_core::MAX_POSSIBLE_ALLOCATION;
use pezsp_runtime::{FixedU128, RuntimeDebug, SaturatedConversion, WeakBoundedVec};
use scale_info::TypeInfo;
use xcm::{latest::prelude::*, VersionedLocation, VersionedXcm, WrapVersion, MAX_XCM_DECODE_DEPTH};
use xcm_builder::InspectMessageQueues;
use xcm_executor::traits::ConvertOrigin;
@@ -115,7 +115,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>;
/// Information on the available XCMP channels.
type ChannelInfo: GetChannelInfo;
@@ -125,8 +126,8 @@ pub mod pezpallet {
/// Enqueue an inbound horizontal message for later processing.
///
/// This defines the maximal message length via [`crate::MaxXcmpMessageLenOf`]. The pezpallet
/// assumes that this hook will eventually process all the pushed messages.
/// This defines the maximal message length via [`crate::MaxXcmpMessageLenOf`]. The
/// pezpallet assumes that this hook will eventually process all the pushed messages.
type XcmpQueue: EnqueueMessage<ParaId>
+ QueueFootprintQuery<ParaId, MaxMessageLen = MaxXcmpMessageLenOf<Self>>;
@@ -37,7 +37,8 @@ mod v1 {
use codec::{Decode, Encode};
#[pezframe_support::storage_alias]
pub(crate) type QueueConfig<T: Config> = StorageValue<Pezpallet<T>, QueueConfigData, ValueQuery>;
pub(crate) type QueueConfig<T: Config> =
StorageValue<Pezpallet<T>, QueueConfigData, ValueQuery>;
#[derive(Encode, Decode, Debug)]
pub struct QueueConfigData {
@@ -67,7 +68,8 @@ pub mod v2 {
use super::*;
#[pezframe_support::storage_alias]
pub(crate) type QueueConfig<T: Config> = StorageValue<Pezpallet<T>, QueueConfigData, ValueQuery>;
pub(crate) type QueueConfig<T: Config> =
StorageValue<Pezpallet<T>, QueueConfigData, ValueQuery>;
#[derive(Copy, Clone, Eq, PartialEq, Encode, Decode, RuntimeDebug, TypeInfo)]
pub struct QueueConfigData {
+6 -2
View File
@@ -104,7 +104,8 @@ impl pezcumulus_pezpallet_teyrchain_system::Config for Test {
type XcmpMessageHandler = XcmpQueue;
type ReservedXcmpWeight = ();
type CheckAssociatedRelayNumber = AnyRelayNumber;
type ConsensusHook = pezcumulus_pezpallet_teyrchain_system::consensus_hook::ExpectParentIncluded;
type ConsensusHook =
pezcumulus_pezpallet_teyrchain_system::consensus_hook::ExpectParentIncluded;
type RelayParentOffset = ConstU32<0>;
}
@@ -246,7 +247,10 @@ impl Config for Test {
}
pub fn new_test_ext() -> pezsp_io::TestExternalities {
pezframe_system::GenesisConfig::<Test>::default().build_storage().unwrap().into()
pezframe_system::GenesisConfig::<Test>::default()
.build_storage()
.unwrap()
.into()
}
/// A para that we have an HRMP channel with.
@@ -21,13 +21,13 @@ use std::collections::BTreeMap;
use XcmpMessageFormat::*;
use codec::Input;
use mock::{new_test_ext, FirstPagePos, RuntimeOrigin as Origin, Test, TeyrchainSystem, XcmpQueue};
use pezcumulus_primitives_core::{ParaId, XcmpMessageHandler};
use pezframe_support::{
assert_err, assert_noop, assert_ok, assert_storage_noop, hypothetically,
traits::{BatchFootprint, Hooks},
StorageNoopGuard,
};
use mock::{new_test_ext, FirstPagePos, RuntimeOrigin as Origin, Test, TeyrchainSystem, XcmpQueue};
use pezsp_runtime::traits::{BadOrigin, Zero};
use std::iter::{once, repeat};
use xcm::{MAX_INSTRUCTIONS_TO_DECODE, MAX_XCM_DECODE_DEPTH};