snapshot before rebranding
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ use crate::{
|
||||
*,
|
||||
};
|
||||
use alloc::{vec, vec::Vec};
|
||||
use cumulus_primitives_core::ParaId;
|
||||
use pezcumulus_primitives_core::ParaId;
|
||||
use pezframe_support::build_struct_json_patch;
|
||||
use hex_literal::hex;
|
||||
use pezsp_core::crypto::UncheckedInto;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
pub mod benchmarks {
|
||||
use crate::TeyrchainSystem;
|
||||
use core::marker::PhantomData;
|
||||
use cumulus_primitives_core::{ChannelStatus, GetChannelInfo};
|
||||
use pezcumulus_primitives_core::{ChannelStatus, GetChannelInfo};
|
||||
use pezframe_support::traits::{
|
||||
tokens::{Pay, PaymentStatus},
|
||||
Get,
|
||||
|
||||
@@ -48,8 +48,8 @@ use assets_common::{
|
||||
};
|
||||
use bp_asset_hub_zagros::CreateForeignAssetDeposit;
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use cumulus_pallet_teyrchain_system::{RelayNumberMonotonicallyIncreases, RelaychainDataProvider};
|
||||
use cumulus_primitives_core::{relay_chain::AccountIndex, AggregateMessageOrigin, ParaId};
|
||||
use pezcumulus_pallet_teyrchain_system::{RelayNumberMonotonicallyIncreases, RelaychainDataProvider};
|
||||
use pezcumulus_primitives_core::{relay_chain::AccountIndex, AggregateMessageOrigin, ParaId};
|
||||
use pezframe_support::{
|
||||
construct_runtime, derive_impl,
|
||||
dispatch::DispatchClass,
|
||||
@@ -201,14 +201,14 @@ impl pezframe_system::Config for Runtime {
|
||||
type SystemWeightInfo = weights::pezframe_system::WeightInfo<Runtime>;
|
||||
type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo<Runtime>;
|
||||
type SS58Prefix = SS58Prefix;
|
||||
type OnSetCode = cumulus_pallet_teyrchain_system::TeyrchainSetCode<Self>;
|
||||
type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode<Self>;
|
||||
type MaxConsumers = pezframe_support::traits::ConstU32<16>;
|
||||
type MultiBlockMigrator = MultiBlockMigrations;
|
||||
type SingleBlockMigrations = Migrations;
|
||||
}
|
||||
|
||||
impl cumulus_pallet_weight_reclaim::Config for Runtime {
|
||||
type WeightInfo = weights::cumulus_pallet_weight_reclaim::WeightInfo<Runtime>;
|
||||
impl pezcumulus_pallet_weight_reclaim::Config for Runtime {
|
||||
type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
impl pezpallet_timestamp::Config for Runtime {
|
||||
@@ -890,8 +890,8 @@ parameter_types! {
|
||||
pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
|
||||
}
|
||||
|
||||
impl cumulus_pallet_teyrchain_system::Config for Runtime {
|
||||
type WeightInfo = weights::cumulus_pallet_teyrchain_system::WeightInfo<Runtime>;
|
||||
impl pezcumulus_pallet_teyrchain_system::Config for Runtime {
|
||||
type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo<Runtime>;
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type OnSystemEvent = ();
|
||||
type SelfParaId = teyrchain_info::Pallet<Runtime>;
|
||||
@@ -905,7 +905,7 @@ impl cumulus_pallet_teyrchain_system::Config for Runtime {
|
||||
type RelayParentOffset = ConstU32<0>;
|
||||
}
|
||||
|
||||
type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook<
|
||||
type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook<
|
||||
Runtime,
|
||||
RELAY_CHAIN_SLOT_DURATION_MILLIS,
|
||||
BLOCK_PROCESSING_VELOCITY,
|
||||
@@ -923,7 +923,7 @@ impl pezpallet_message_queue::Config for Runtime {
|
||||
type WeightInfo = weights::pezpallet_message_queue::WeightInfo<Runtime>;
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
type MessageProcessor = pezpallet_message_queue::mock_helpers::NoopMessageProcessor<
|
||||
cumulus_primitives_core::AggregateMessageOrigin,
|
||||
pezcumulus_primitives_core::AggregateMessageOrigin,
|
||||
>;
|
||||
#[cfg(not(feature = "runtime-benchmarks"))]
|
||||
type MessageProcessor = xcm_builder::ProcessXcmMessage<
|
||||
@@ -941,7 +941,7 @@ impl pezpallet_message_queue::Config for Runtime {
|
||||
type IdleMaxServiceWeight = MessageQueueServiceWeight;
|
||||
}
|
||||
|
||||
impl cumulus_pallet_aura_ext::Config for Runtime {}
|
||||
impl pezcumulus_pallet_aura_ext::Config for Runtime {}
|
||||
|
||||
parameter_types! {
|
||||
/// The asset ID for the asset that we use to pay for message delivery fees.
|
||||
@@ -957,7 +957,7 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender::
|
||||
XcmpQueue,
|
||||
>;
|
||||
|
||||
impl cumulus_pallet_xcmp_queue::Config for Runtime {
|
||||
impl pezcumulus_pallet_xcmp_queue::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type ChannelInfo = TeyrchainSystem;
|
||||
type VersionWrapper = PezkuwiXcm;
|
||||
@@ -970,11 +970,11 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime {
|
||||
type MaxPageSize = ConstU32<{ 103 * 1024 }>;
|
||||
type ControllerOrigin = EnsureRoot<AccountId>;
|
||||
type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin;
|
||||
type WeightInfo = weights::cumulus_pallet_xcmp_queue::WeightInfo<Runtime>;
|
||||
type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo<Runtime>;
|
||||
type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery;
|
||||
}
|
||||
|
||||
impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime {
|
||||
impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime {
|
||||
// This must be the same as the `ChannelInfo` from the `Config`:
|
||||
type ChannelList = TeyrchainSystem;
|
||||
}
|
||||
@@ -1169,7 +1169,7 @@ impl pezpallet_xcm_bridge_hub_router::Config<ToPezkuwichainXcmRouterInstance> fo
|
||||
>;
|
||||
type ToBridgeHubSender = XcmpQueue;
|
||||
type LocalXcmChannelManager =
|
||||
cumulus_pallet_xcmp_queue::bridging::InAndOutXcmpChannelStatusProvider<Runtime>;
|
||||
pezcumulus_pallet_xcmp_queue::bridging::InAndOutXcmpChannelStatusProvider<Runtime>;
|
||||
|
||||
type ByteFee = xcm_config::bridging::XcmBridgeHubRouterByteFee;
|
||||
type FeeAsset = xcm_config::bridging::XcmBridgeHubRouterFeeAssetId;
|
||||
@@ -1308,11 +1308,11 @@ construct_runtime!(
|
||||
{
|
||||
// System support stuff.
|
||||
System: pezframe_system = 0,
|
||||
TeyrchainSystem: cumulus_pallet_teyrchain_system = 1,
|
||||
TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1,
|
||||
// RandomnessCollectiveFlip = 2 removed
|
||||
Timestamp: pezpallet_timestamp = 3,
|
||||
TeyrchainInfo: teyrchain_info = 4,
|
||||
WeightReclaim: cumulus_pallet_weight_reclaim = 5,
|
||||
WeightReclaim: pezcumulus_pallet_weight_reclaim = 5,
|
||||
MultiBlockMigrations: pezpallet_migrations = 6,
|
||||
Preimage: pezpallet_preimage = 7,
|
||||
Scheduler: pezpallet_scheduler = 8,
|
||||
@@ -1330,12 +1330,12 @@ construct_runtime!(
|
||||
CollatorSelection: pezpallet_collator_selection = 21,
|
||||
Session: pezpallet_session = 22,
|
||||
Aura: pezpallet_aura = 23,
|
||||
AuraExt: cumulus_pallet_aura_ext = 24,
|
||||
AuraExt: pezcumulus_pallet_aura_ext = 24,
|
||||
|
||||
// XCM helpers.
|
||||
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
|
||||
XcmpQueue: pezcumulus_pallet_xcmp_queue = 30,
|
||||
PezkuwiXcm: pezpallet_xcm = 31,
|
||||
CumulusXcm: cumulus_pallet_xcm = 32,
|
||||
CumulusXcm: pezcumulus_pallet_xcm = 32,
|
||||
// Bridge utilities.
|
||||
ToPezkuwichainXcmRouter: pezpallet_xcm_bridge_hub_router::<Instance1> = 34,
|
||||
MessageQueue: pezpallet_message_queue = 35,
|
||||
@@ -1406,7 +1406,7 @@ pub type SignedBlock = generic::SignedBlock<Block>;
|
||||
/// BlockId type as expected by this runtime.
|
||||
pub type BlockId = generic::BlockId<Block>;
|
||||
/// The extension to the basic transaction logic.
|
||||
pub type TxExtension = cumulus_pallet_weight_reclaim::StorageWeightReclaim<
|
||||
pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim<
|
||||
Runtime,
|
||||
(
|
||||
pezframe_system::AuthorizeCall<Runtime>,
|
||||
@@ -1466,8 +1466,8 @@ pub type Migrations = (
|
||||
// unreleased
|
||||
DeleteUndecodableStorage,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
cumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5<Runtime>,
|
||||
pezcumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
pezcumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5<Runtime>,
|
||||
// unreleased
|
||||
pezpallet_assets::migration::next_asset_id::SetNextAssetId<
|
||||
ConstU32<50_000_000>,
|
||||
@@ -1484,7 +1484,7 @@ pub type Migrations = (
|
||||
>,
|
||||
// permanent
|
||||
pezpallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
cumulus_pallet_aura_ext::migration::MigrateV0ToV1<Runtime>,
|
||||
pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1<Runtime>,
|
||||
);
|
||||
|
||||
/// Asset Hub Zagros has some undecodable storage, delete it.
|
||||
@@ -1605,26 +1605,26 @@ pub struct AssetConversionTxHelper;
|
||||
impl
|
||||
pezpallet_asset_conversion_tx_payment::BenchmarkHelperTrait<
|
||||
AccountId,
|
||||
cumulus_primitives_core::Location,
|
||||
cumulus_primitives_core::Location,
|
||||
pezcumulus_primitives_core::Location,
|
||||
pezcumulus_primitives_core::Location,
|
||||
> for AssetConversionTxHelper
|
||||
{
|
||||
fn create_asset_id_parameter(
|
||||
seed: u32,
|
||||
) -> (cumulus_primitives_core::Location, cumulus_primitives_core::Location) {
|
||||
) -> (pezcumulus_primitives_core::Location, pezcumulus_primitives_core::Location) {
|
||||
// Use a different teyrchain foreign assets pallet so that the asset is indeed foreign.
|
||||
let asset_id = cumulus_primitives_core::Location::new(
|
||||
let asset_id = pezcumulus_primitives_core::Location::new(
|
||||
1,
|
||||
[
|
||||
cumulus_primitives_core::Junction::Teyrchain(3000),
|
||||
cumulus_primitives_core::Junction::PalletInstance(53),
|
||||
cumulus_primitives_core::Junction::GeneralIndex(seed.into()),
|
||||
pezcumulus_primitives_core::Junction::Teyrchain(3000),
|
||||
pezcumulus_primitives_core::Junction::PalletInstance(53),
|
||||
pezcumulus_primitives_core::Junction::GeneralIndex(seed.into()),
|
||||
],
|
||||
);
|
||||
(asset_id.clone(), asset_id)
|
||||
}
|
||||
|
||||
fn setup_balances_and_pool(asset_id: cumulus_primitives_core::Location, account: AccountId) {
|
||||
fn setup_balances_and_pool(asset_id: pezcumulus_primitives_core::Location, account: AccountId) {
|
||||
use pezframe_support::{assert_ok, traits::fungibles::Mutate};
|
||||
assert_ok!(ForeignAssets::force_create(
|
||||
RuntimeOrigin::root(),
|
||||
@@ -1643,9 +1643,9 @@ impl
|
||||
u64::MAX.into()
|
||||
));
|
||||
|
||||
let token_native = alloc::boxed::Box::new(cumulus_primitives_core::Location::new(
|
||||
let token_native = alloc::boxed::Box::new(pezcumulus_primitives_core::Location::new(
|
||||
1,
|
||||
cumulus_primitives_core::Junctions::Here,
|
||||
pezcumulus_primitives_core::Junctions::Here,
|
||||
));
|
||||
let token_second = alloc::boxed::Box::new(asset_id);
|
||||
|
||||
@@ -1701,8 +1701,8 @@ mod benches {
|
||||
[pezpallet_timestamp, Timestamp]
|
||||
[pezpallet_transaction_payment, TransactionPayment]
|
||||
[pezpallet_collator_selection, CollatorSelection]
|
||||
[cumulus_pallet_teyrchain_system, TeyrchainSystem]
|
||||
[cumulus_pallet_xcmp_queue, XcmpQueue]
|
||||
[pezcumulus_pallet_teyrchain_system, TeyrchainSystem]
|
||||
[pezcumulus_pallet_xcmp_queue, XcmpQueue]
|
||||
[pezpallet_treasury, Treasury]
|
||||
[pezpallet_vesting, Vesting]
|
||||
[pezpallet_whitelist, Whitelist]
|
||||
@@ -1714,7 +1714,7 @@ mod benches {
|
||||
// NOTE: Make sure you point to the individual modules below.
|
||||
[pezpallet_xcm_benchmarks::fungible, XcmBalances]
|
||||
[pezpallet_xcm_benchmarks::generic, XcmGeneric]
|
||||
[cumulus_pallet_weight_reclaim, WeightReclaim]
|
||||
[pezcumulus_pallet_weight_reclaim, WeightReclaim]
|
||||
[snowbridge_pallet_system_frontend, SnowbridgeSystemFrontend]
|
||||
);
|
||||
}
|
||||
@@ -1735,28 +1735,28 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!(
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_core::RelayParentOffsetApi<Block> for Runtime {
|
||||
impl pezcumulus_primitives_core::RelayParentOffsetApi<Block> for Runtime {
|
||||
fn relay_parent_offset() -> u32 {
|
||||
0
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_core::GetTeyrchainInfo<Block> for Runtime {
|
||||
impl pezcumulus_primitives_core::GetTeyrchainInfo<Block> for Runtime {
|
||||
fn teyrchain_id() -> ParaId {
|
||||
TeyrchainInfo::teyrchain_id()
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_core::TargetBlockRate<Block> for Runtime {
|
||||
impl pezcumulus_primitives_core::TargetBlockRate<Block> for Runtime {
|
||||
fn target_block_rate() -> u32 {
|
||||
1
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
|
||||
impl pezcumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
|
||||
fn can_build_upon(
|
||||
included_hash: <Block as BlockT>::Hash,
|
||||
slot: cumulus_primitives_aura::Slot,
|
||||
slot: pezcumulus_primitives_aura::Slot,
|
||||
) -> bool {
|
||||
ConsensusHook::can_build_upon(included_hash, slot)
|
||||
}
|
||||
@@ -2066,8 +2066,8 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!(
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
|
||||
fn collect_collation_info(header: &<Block as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {
|
||||
impl pezcumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
|
||||
fn collect_collation_info(header: &<Block as BlockT>::Header) -> pezcumulus_primitives_core::CollationInfo {
|
||||
TeyrchainSystem::collect_collation_info(header)
|
||||
}
|
||||
}
|
||||
@@ -2168,7 +2168,7 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!(
|
||||
use pezframe_support::traits::StorageInfoTrait;
|
||||
use pezframe_system_benchmarking::Pallet as SystemBench;
|
||||
use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench;
|
||||
use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
|
||||
use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench;
|
||||
use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
|
||||
use pezpallet_xcm_bridge_hub_router::benchmarking::Pallet as XcmBridgeHubRouterBench;
|
||||
|
||||
@@ -2211,14 +2211,14 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!(
|
||||
}
|
||||
|
||||
fn verify_set_code() {
|
||||
System::assert_last_event(cumulus_pallet_teyrchain_system::Event::<Runtime>::ValidationFunctionStored.into());
|
||||
System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::<Runtime>::ValidationFunctionStored.into());
|
||||
}
|
||||
}
|
||||
|
||||
use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
|
||||
use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench;
|
||||
use xcm_config::{MaxAssetsIntoHolding, ZagrosLocation};
|
||||
|
||||
impl cumulus_pallet_session_benchmarking::Config for Runtime {}
|
||||
impl pezcumulus_pallet_session_benchmarking::Config for Runtime {}
|
||||
use testnet_teyrchains_constants::zagros::locations::{PeopleParaId, PeopleLocation};
|
||||
parameter_types! {
|
||||
pub ExistentialDepositAsset: Option<Asset> = Some((
|
||||
@@ -2370,7 +2370,7 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!(
|
||||
|
||||
impl XcmBridgeHubRouterConfig<ToPezkuwichainXcmRouterInstance> for Runtime {
|
||||
fn make_congested() {
|
||||
cumulus_pallet_xcmp_queue::bridging::suspend_channel_for_benchmarks::<Runtime>(
|
||||
pezcumulus_pallet_xcmp_queue::bridging::suspend_channel_for_benchmarks::<Runtime>(
|
||||
xcm_config::bridging::SiblingBridgeHubParaId::get().into()
|
||||
);
|
||||
}
|
||||
@@ -2645,9 +2645,9 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!(
|
||||
}
|
||||
);
|
||||
|
||||
cumulus_pallet_teyrchain_system::register_validate_block! {
|
||||
pezcumulus_pallet_teyrchain_system::register_validate_block! {
|
||||
Runtime = Runtime,
|
||||
BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,
|
||||
BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
///! Staking, and election related pallet configurations.
|
||||
use super::*;
|
||||
use cumulus_primitives_core::relay_chain::SessionIndex;
|
||||
use pezcumulus_primitives_core::relay_chain::SessionIndex;
|
||||
use pezframe_election_provider_support::{ElectionDataProvider, SequentialPhragmen};
|
||||
use pezframe_support::traits::EitherOf;
|
||||
use pezpallet_election_provider_multi_block::{self as multi_block, SolutionAccuracyOf};
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
// limitations under the License.
|
||||
|
||||
pub mod block_weights;
|
||||
pub mod cumulus_pallet_teyrchain_system;
|
||||
pub mod cumulus_pallet_weight_reclaim;
|
||||
pub mod cumulus_pallet_xcmp_queue;
|
||||
pub mod pezcumulus_pallet_teyrchain_system;
|
||||
pub mod pezcumulus_pallet_weight_reclaim;
|
||||
pub mod pezcumulus_pallet_xcmp_queue;
|
||||
pub mod extrinsic_weights;
|
||||
pub mod pezframe_system;
|
||||
pub mod pezframe_system_extensions;
|
||||
|
||||
+4
-4
@@ -13,7 +13,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! Autogenerated weights for `cumulus_pallet_teyrchain_system`
|
||||
//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
@@ -28,7 +28,7 @@
|
||||
// pallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/asset-hub-zagros-runtime/asset_hub_zagros_runtime.wasm
|
||||
// --pallet=cumulus_pallet_teyrchain_system
|
||||
// --pallet=pezcumulus_pallet_teyrchain_system
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
@@ -47,9 +47,9 @@
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `cumulus_pallet_teyrchain_system`.
|
||||
/// Weight functions for `pezcumulus_pallet_teyrchain_system`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> cumulus_pallet_teyrchain_system::WeightInfo for WeightInfo<T> {
|
||||
impl<T: pezframe_system::Config> pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1)
|
||||
/// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
|
||||
+4
-4
@@ -13,7 +13,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! Autogenerated weights for `cumulus_pallet_weight_reclaim`
|
||||
//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
@@ -28,7 +28,7 @@
|
||||
// pallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/asset-hub-zagros-runtime/asset_hub_zagros_runtime.wasm
|
||||
// --pallet=cumulus_pallet_weight_reclaim
|
||||
// --pallet=pezcumulus_pallet_weight_reclaim
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
@@ -47,9 +47,9 @@
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `cumulus_pallet_weight_reclaim`.
|
||||
/// Weight functions for `pezcumulus_pallet_weight_reclaim`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> cumulus_pallet_weight_reclaim::WeightInfo for WeightInfo<T> {
|
||||
impl<T: pezframe_system::Config> pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo<T> {
|
||||
fn storage_weight_reclaim() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
|
||||
+4
-4
@@ -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: `[]`
|
||||
@@ -28,7 +28,7 @@
|
||||
// pallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/asset-hub-zagros-runtime/asset_hub_zagros_runtime.wasm
|
||||
// --pallet=cumulus_pallet_xcmp_queue
|
||||
// --pallet=pezcumulus_pallet_xcmp_queue
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
@@ -47,9 +47,9 @@
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `cumulus_pallet_xcmp_queue`.
|
||||
/// Weight functions for `pezcumulus_pallet_xcmp_queue`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||
impl<T: pezframe_system::Config> pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:1)
|
||||
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
|
||||
fn set_config_with_u32() -> Weight {
|
||||
|
||||
@@ -72,7 +72,7 @@ parameter_types! {
|
||||
pub const RootLocation: Location = Location::here();
|
||||
pub const ZagrosLocation: Location = Location::parent();
|
||||
pub const RelayNetwork: Option<NetworkId> = Some(NetworkId::ByGenesis(ZAGROS_GENESIS_HASH));
|
||||
pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
|
||||
pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into();
|
||||
pub UniversalLocation: InteriorLocation =
|
||||
[GlobalConsensus(RelayNetwork::get().unwrap()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into();
|
||||
pub UniversalLocationNetworkId: NetworkId = UniversalLocation::get().global_consensus().unwrap();
|
||||
@@ -256,7 +256,7 @@ pub type XcmOriginToTransactDispatchOrigin = (
|
||||
RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>,
|
||||
// Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when
|
||||
// recognised.
|
||||
SiblingTeyrchainAsNative<cumulus_pallet_xcm::Origin, RuntimeOrigin>,
|
||||
SiblingTeyrchainAsNative<pezcumulus_pallet_xcm::Origin, RuntimeOrigin>,
|
||||
// Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a
|
||||
// transaction from the Root origin.
|
||||
ParentAsSuperuser<RuntimeOrigin>,
|
||||
@@ -432,7 +432,7 @@ impl xcm_executor::Config for XcmConfig {
|
||||
Balances,
|
||||
ResolveTo<StakingPot, Balances>,
|
||||
>,
|
||||
cumulus_primitives_utility::SwapFirstAssetTrader<
|
||||
pezcumulus_primitives_utility::SwapFirstAssetTrader<
|
||||
ZagrosLocation,
|
||||
crate::AssetConversion,
|
||||
WeightToFee,
|
||||
@@ -523,7 +523,7 @@ pub type PriceForParentDelivery =
|
||||
/// For routing XCM messages which do not cross local consensus boundary.
|
||||
type LocalXcmRouter = (
|
||||
// Two routers - use UMP to communicate with the relay chain:
|
||||
cumulus_primitives_utility::ParentAsUmp<TeyrchainSystem, PezkuwiXcm, PriceForParentDelivery>,
|
||||
pezcumulus_primitives_utility::ParentAsUmp<TeyrchainSystem, PezkuwiXcm, PriceForParentDelivery>,
|
||||
// ..and XCMP to communicate with the sibling chains.
|
||||
XcmpQueue,
|
||||
);
|
||||
@@ -594,7 +594,7 @@ impl pezpallet_xcm::Config for Runtime {
|
||||
>;
|
||||
}
|
||||
|
||||
impl cumulus_pallet_xcm::Config for Runtime {
|
||||
impl pezcumulus_pallet_xcm::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type XcmExecutor = XcmExecutor<XcmConfig>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user