snapshot before rebranding

This commit is contained in:
2025-12-14 07:37:21 +03:00
parent ef79d9968f
commit 6588d9a1f2
1752 changed files with 58116 additions and 15986 deletions
@@ -14,7 +14,7 @@
// limitations under the License.
use crate::{pallet, OutboundState};
use cumulus_primitives_core::ParaId;
use pezcumulus_primitives_core::ParaId;
use xcm::latest::prelude::*;
/// Adapter implementation for `bp_xcm_bridge_hub_router::XcmChannelStatusProvider` which checks
+1 -1
View File
@@ -58,7 +58,7 @@ extern crate alloc;
use alloc::{collections::BTreeSet, vec, vec::Vec};
use bounded_collections::{BoundedBTreeSet, BoundedSlice, BoundedVec};
use codec::{Compact, Decode, DecodeLimit, Encode, MaxEncodedLen};
use cumulus_primitives_core::{
use pezcumulus_primitives_core::{
relay_chain::BlockNumber as RelayBlockNumber, ChannelStatus, GetChannelInfo, MessageSendError,
ParaId, XcmpMessageFormat, XcmpMessageHandler, XcmpMessageSource,
};
@@ -20,7 +20,7 @@ pub mod v5;
use crate::{Config, OverweightIndex, Pallet, QueueConfig, QueueConfigData, DEFAULT_POV_SIZE};
use alloc::vec::Vec;
use cumulus_primitives_core::XcmpMessageFormat;
use pezcumulus_primitives_core::XcmpMessageFormat;
use pezframe_support::{
pezpallet_prelude::*,
traits::{EnqueueMessage, StorageVersion, UncheckedOnRuntimeUpgrade},
@@ -18,7 +18,7 @@
use crate::*;
use alloc::vec::Vec;
use cumulus_primitives_core::ListChannelInfos;
use pezcumulus_primitives_core::ListChannelInfos;
use pezframe_support::{pezpallet_prelude::*, traits::UncheckedOnRuntimeUpgrade};
/// Configs needed to run the V5 migration.
+6 -6
View File
@@ -17,8 +17,8 @@ use super::*;
use crate as xcmp_queue;
use alloc::collections::BTreeMap;
use core::marker::PhantomData;
use cumulus_pallet_teyrchain_system::AnyRelayNumber;
use cumulus_primitives_core::{ChannelInfo, IsSystem, ParaId};
use pezcumulus_pallet_teyrchain_system::AnyRelayNumber;
use pezcumulus_primitives_core::{ChannelInfo, IsSystem, ParaId};
use pezframe_support::{
derive_impl, parameter_types,
traits::{BatchesFootprints, ConstU32, Everything, OriginTrait},
@@ -41,7 +41,7 @@ pezframe_support::construct_runtime!(
{
System: pezframe_system::{Pallet, Call, Config<T>, Storage, Event<T>},
Balances: pezpallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>},
TeyrchainSystem: cumulus_pallet_teyrchain_system::{
TeyrchainSystem: pezcumulus_pallet_teyrchain_system::{
Pallet, Call, Config<T>, Storage, Inherent, Event<T>,
},
XcmpQueue: xcmp_queue::{Pallet, Call, Storage, Event<T>},
@@ -76,7 +76,7 @@ impl pezframe_system::Config for Test {
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = SS58Prefix;
type OnSetCode = cumulus_pallet_teyrchain_system::TeyrchainSetCode<Test>;
type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode<Test>;
type MaxConsumers = pezframe_support::traits::ConstU32<16>;
}
@@ -92,7 +92,7 @@ impl pezpallet_balances::Config for Test {
type AccountStore = System;
}
impl cumulus_pallet_teyrchain_system::Config for Test {
impl pezcumulus_pallet_teyrchain_system::Config for Test {
type WeightInfo = ();
type RuntimeEvent = RuntimeEvent;
type OnSystemEvent = ();
@@ -104,7 +104,7 @@ impl cumulus_pallet_teyrchain_system::Config for Test {
type XcmpMessageHandler = XcmpQueue;
type ReservedXcmpWeight = ();
type CheckAssociatedRelayNumber = AnyRelayNumber;
type ConsensusHook = cumulus_pallet_teyrchain_system::consensus_hook::ExpectParentIncluded;
type ConsensusHook = pezcumulus_pallet_teyrchain_system::consensus_hook::ExpectParentIncluded;
type RelayParentOffset = ConstU32<0>;
}
+4 -4
View File
@@ -21,7 +21,7 @@ use std::collections::BTreeMap;
use XcmpMessageFormat::*;
use codec::Input;
use cumulus_primitives_core::{ParaId, XcmpMessageHandler};
use pezcumulus_primitives_core::{ParaId, XcmpMessageHandler};
use pezframe_support::{
assert_err, assert_noop, assert_ok, assert_storage_noop, hypothetically,
traits::{BatchFootprint, Hooks},
@@ -756,7 +756,7 @@ fn hrmp_signals_are_prioritized() {
TeyrchainSystem::open_custom_outbound_hrmp_channel_for_benchmarks_or_tests(
sibling_para_id,
cumulus_primitives_core::AbridgedHrmpChannel {
pezcumulus_primitives_core::AbridgedHrmpChannel {
max_capacity: 128,
max_total_size: 1 << 16,
max_message_size: 128,
@@ -1053,7 +1053,7 @@ fn xcmp_queue_send_too_big_xcm_fails() {
// open HRMP channel to the sibling_para_id with a set `max_message_size`
TeyrchainSystem::open_custom_outbound_hrmp_channel_for_benchmarks_or_tests(
sibling_para_id,
cumulus_primitives_core::AbridgedHrmpChannel {
pezcumulus_primitives_core::AbridgedHrmpChannel {
max_message_size,
max_capacity: 10,
max_total_size: 10_000_000_u32,
@@ -1088,7 +1088,7 @@ fn xcmp_queue_send_too_big_xcm_fails() {
#[test]
fn verify_fee_factor_increase_and_decrease() {
use cumulus_primitives_core::AbridgedHrmpChannel;
use pezcumulus_primitives_core::AbridgedHrmpChannel;
use pezsp_runtime::FixedU128;
let sibling_para_id = ParaId::from(12345);
+3 -3
View File
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
@@ -45,7 +45,7 @@
use pezframe_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use core::marker::PhantomData;
/// Weight functions needed for `cumulus_pallet_xcmp_queue`.
/// Weight functions needed for `pezcumulus_pallet_xcmp_queue`.
pub trait WeightInfo {
fn set_config_with_u32() -> Weight;
fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight;
@@ -60,7 +60,7 @@ pub trait WeightInfo {
fn on_idle_large_msg() -> Weight;
}
/// Weights for `cumulus_pallet_xcmp_queue` using the Bizinikiwi node and recommended hardware.
/// Weights for `pezcumulus_pallet_xcmp_queue` using the Bizinikiwi node and recommended hardware.
pub struct BizinikiwiWeight<T>(PhantomData<T>);
impl<T: pezframe_system::Config> WeightInfo for BizinikiwiWeight<T> {
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:1)