fix: Complete snowbridge pezpallet rebrand and critical bug fixes

- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs)
- pallet/ directories → pezpallet/ (4 locations)
- Fixed pezpallet.rs self-include recursion bug
- Fixed sc-chain-spec hardcoded crate name in derive macro
- Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API)
- Added BizinikiwiConfig type alias for zombienet tests
- Deleted obsolete session state files

Verified: pezsnowbridge-pezpallet-*, pezpallet-staking,
pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
This commit is contained in:
2025-12-16 09:57:23 +03:00
parent eea003e14d
commit 3139ffa25e
3022 changed files with 42157 additions and 23579 deletions
@@ -115,7 +115,7 @@ parameter_types! {
pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry");
pub const PayoutSpendPeriod: BlockNumber = 30 * DAYS;
// The asset's interior location for the paying account. This is the Treasury
// pallet instance (which sits at index 37).
// pezpallet instance (which sits at index 37).
pub TreasuryInteriorLocation: InteriorLocation = PalletInstance(37).into();
pub const TipCountdown: BlockNumber = 1 * DAYS;
@@ -19,16 +19,16 @@
pub use pezpallet_custom_origins::*;
#[pezframe_support::pallet]
#[pezframe_support::pezpallet]
pub mod pezpallet_custom_origins {
use crate::{Balance, CENTS, GRAND};
use pezframe_support::pezpallet_prelude::*;
#[pallet::config]
#[pezpallet::config]
pub trait Config: pezframe_system::Config {}
#[pallet::pallet]
pub struct Pallet<T>(_);
#[pezpallet::pezpallet]
pub struct Pezpallet<T>(_);
#[derive(
PartialEq,
@@ -41,7 +41,7 @@ pub mod pezpallet_custom_origins {
TypeInfo,
RuntimeDebug,
)]
#[pallet::origin]
#[pezpallet::origin]
pub enum Origin {
/// Origin for cancelling slashes.
StakingAdmin,
@@ -261,7 +261,7 @@ parameter_types! {
pub type AssetsForceOrigin = EnsureRoot<AccountId>;
// Called "Trust Backed" assets because these are generally registered by some account, and users of
// the asset assume it has some claimed backing. The pallet is called `Assets` in
// the asset assume it has some claimed backing. The pezpallet is called `Assets` in
// `construct_runtime` to avoid breaking changes on storage reads.
pub type TrustBackedAssetsInstance = pezpallet_assets::Instance1;
type TrustBackedAssetsCall = pezpallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
@@ -290,7 +290,7 @@ impl pezpallet_assets::Config<TrustBackedAssetsInstance> for Runtime {
type BenchmarkHelper = ();
}
// Allow Freezes for the `Assets` pallet
// Allow Freezes for the `Assets` pezpallet
pub type AssetsFreezerInstance = pezpallet_assets_freezer::Instance1;
impl pezpallet_assets_freezer::Config<AssetsFreezerInstance> for Runtime {
type RuntimeFreezeReason = RuntimeFreezeReason;
@@ -334,7 +334,7 @@ impl pezpallet_assets::Config<PoolAssetsInstance> for Runtime {
type BenchmarkHelper = ();
}
// Allow Freezes for the `PoolAssets` pallet
// Allow Freezes for the `PoolAssets` pezpallet
pub type PoolAssetsFreezerInstance = pezpallet_assets_freezer::Instance3;
impl pezpallet_assets_freezer::Config<PoolAssetsFreezerInstance> for Runtime {
type RuntimeFreezeReason = RuntimeFreezeReason;
@@ -447,7 +447,7 @@ impl pezpallet_asset_conversion::Config for Runtime {
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = assets_common::benchmarks::AssetPairFactory<
ZagrosLocation,
teyrchain_info::Pallet<Runtime>,
teyrchain_info::Pezpallet<Runtime>,
xcm_config::TrustBackedAssetsPalletIndex,
xcm::v5::Location,
>;
@@ -515,7 +515,7 @@ impl pezpallet_asset_rewards::Config for Runtime {
ConstantStoragePrice<StakePoolCreationDeposit, Balance>,
>;
type WeightInfo = weights::pezpallet_asset_rewards::WeightInfo<Runtime>;
type BlockNumberProvider = pezframe_system::Pallet<Runtime>;
type BlockNumberProvider = pezframe_system::Pezpallet<Runtime>;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = PalletAssetRewardsBenchmarkHelper;
}
@@ -556,7 +556,7 @@ impl pezpallet_assets::Config<ForeignAssetsInstance> for Runtime {
type Currency = Balances;
type CreateOrigin = ForeignCreators<
(
FromSiblingTeyrchain<teyrchain_info::Pallet<Runtime>, xcm::v5::Location>,
FromSiblingTeyrchain<teyrchain_info::Pezpallet<Runtime>, xcm::v5::Location>,
FromNetwork<xcm_config::UniversalLocation, EthereumNetwork, xcm::v5::Location>,
xcm_config::bridging::to_pezkuwichain::PezkuwichainAssetFromAssetHubPezkuwichain,
),
@@ -581,7 +581,7 @@ impl pezpallet_assets::Config<ForeignAssetsInstance> for Runtime {
type BenchmarkHelper = assets_common::benchmarks::LocationAssetsBenchmarkHelper;
}
// Allow Freezes for the `ForeignAssets` pallet
// Allow Freezes for the `ForeignAssets` pezpallet
pub type ForeignAssetsFreezerInstance = pezpallet_assets_freezer::Instance2;
impl pezpallet_assets_freezer::Config<ForeignAssetsFreezerInstance> for Runtime {
type RuntimeFreezeReason = RuntimeFreezeReason;
@@ -805,7 +805,7 @@ impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime {
type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo<Runtime>;
type RuntimeEvent = RuntimeEvent;
type OnSystemEvent = ();
type SelfParaId = teyrchain_info::Pallet<Runtime>;
type SelfParaId = teyrchain_info::Pezpallet<Runtime>;
type DmpQueue = pezframe_support::traits::EnqueueWithOrigin<MessageQueue, RelayOrigin>;
type ReservedDmpWeight = ReservedDmpWeight;
type OutboundXcmpMessageSource = XcmpQueue;
@@ -846,7 +846,7 @@ impl pezpallet_message_queue::Config for Runtime {
RuntimeCall,
>;
type Size = u32;
// The XCMP queue pallet is only ever able to handle the `Sibling(ParaId)` origin:
// The XCMP queue pezpallet is only ever able to handle the `Sibling(ParaId)` origin:
type QueueChangeHandler = NarrowOriginToSibling<XcmpQueue>;
type QueuePausedQuery = NarrowOriginToSibling<XcmpQueue>;
type HeapSize = pezsp_core::ConstU32<{ 103 * 1024 }>;
@@ -1203,7 +1203,7 @@ construct_runtime!(
Sudo: pezpallet_sudo = 110,
PresetStore: pezpallet_staking_async_preset_store = 111,
// TODO: the pallet instance should be removed once all pools have migrated
// TODO: the pezpallet instance should be removed once all pools have migrated
// to the new account IDs.
AssetConversionMigration: pezpallet_asset_conversion_ops = 200,
}
@@ -1265,7 +1265,7 @@ impl
fn create_asset_id_parameter(
seed: u32,
) -> (pezcumulus_primitives_core::Location, pezcumulus_primitives_core::Location) {
// Use a different teyrchain' foreign assets pallet so that the asset is indeed foreign.
// Use a different teyrchain' foreign assets pezpallet so that the asset is indeed foreign.
let asset_id = pezcumulus_primitives_core::Location::new(
1,
[
@@ -1803,25 +1803,25 @@ impl_runtime_apis! {
) {
use pezframe_benchmarking::BenchmarkList;
use pezframe_support::traits::StorageInfoTrait;
use pezframe_system_benchmarking::Pallet as SystemBench;
use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench;
use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench;
use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
use pezpallet_xcm_bridge_hub_router::benchmarking::Pallet as XcmBridgeHubRouterBench;
use pezframe_system_benchmarking::Pezpallet as SystemBench;
use pezframe_system_benchmarking::extensions::Pezpallet as SystemExtensionsBench;
use pezcumulus_pezpallet_session_benchmarking::Pezpallet as SessionBench;
use pezpallet_xcm::benchmarking::Pezpallet as PalletXcmExtrinsicsBenchmark;
use pezpallet_xcm_bridge_hub_router::benchmarking::Pezpallet as XcmBridgeHubRouterBench;
// This is defined once again in dispatch_benchmark, because list_benchmarks!
// and add_benchmarks! are macros exported by define_benchmarks! macros and those types
// are referenced in that call.
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pallet::<Runtime>;
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pallet::<Runtime>;
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pezpallet::<Runtime>;
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pezpallet::<Runtime>;
// Benchmark files generated for `Assets/ForeignAssets` instances are by default
// `pezpallet_assets_assets.rs / pezpallet_assets_foreign_assets`, which is not really nice,
// so with this redefinition we can change names to nicer:
// `pezpallet_assets_local.rs / pezpallet_assets_foreign.rs`.
type Local = pezpallet_assets::Pallet::<Runtime, TrustBackedAssetsInstance>;
type Foreign = pezpallet_assets::Pallet::<Runtime, ForeignAssetsInstance>;
type Pool = pezpallet_assets::Pallet::<Runtime, PoolAssetsInstance>;
type Local = pezpallet_assets::Pezpallet::<Runtime, TrustBackedAssetsInstance>;
type Foreign = pezpallet_assets::Pezpallet::<Runtime, ForeignAssetsInstance>;
type Pool = pezpallet_assets::Pezpallet::<Runtime, PoolAssetsInstance>;
type ToPezkuwichain = XcmBridgeHubRouterBench<Runtime, ToPezkuwichainXcmRouterInstance>;
@@ -1837,8 +1837,8 @@ impl_runtime_apis! {
) -> Result<Vec<pezframe_benchmarking::BenchmarkBatch>, alloc::string::String> {
use pezframe_benchmarking::{BenchmarkBatch, BenchmarkError};
use pezsp_storage::TrackedStorageKey;
use pezframe_system_benchmarking::Pallet as SystemBench;
use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench;
use pezframe_system_benchmarking::Pezpallet as SystemBench;
use pezframe_system_benchmarking::extensions::Pezpallet as SystemExtensionsBench;
use xcm::prelude::WeightLimit;
// add a few custom keys to benchmarks.
@@ -1869,7 +1869,7 @@ impl_runtime_apis! {
}
}
use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench;
use pezcumulus_pezpallet_session_benchmarking::Pezpallet as SessionBench;
impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {}
parameter_types! {
@@ -1880,7 +1880,7 @@ impl_runtime_apis! {
pub const RandomParaId: ParaId = ParaId::new(43211234);
}
use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
use pezpallet_xcm::benchmarking::Pezpallet as PalletXcmExtrinsicsBenchmark;
impl pezpallet_xcm::benchmarking::Config for Runtime {
type DeliveryHelper = (
pezcumulus_primitives_utility::ToParentDeliveryHelper<
@@ -1980,7 +1980,7 @@ impl_runtime_apis! {
}
use pezpallet_xcm_bridge_hub_router::benchmarking::{
Pallet as XcmBridgeHubRouterBench,
Pezpallet as XcmBridgeHubRouterBench,
Config as XcmBridgeHubRouterConfig,
};
@@ -2138,12 +2138,12 @@ impl_runtime_apis! {
}
}
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pallet::<Runtime>;
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pallet::<Runtime>;
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pezpallet::<Runtime>;
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pezpallet::<Runtime>;
type Local = pezpallet_assets::Pallet::<Runtime, TrustBackedAssetsInstance>;
type Foreign = pezpallet_assets::Pallet::<Runtime, ForeignAssetsInstance>;
type Pool = pezpallet_assets::Pallet::<Runtime, PoolAssetsInstance>;
type Local = pezpallet_assets::Pezpallet::<Runtime, TrustBackedAssetsInstance>;
type Foreign = pezpallet_assets::Pezpallet::<Runtime, ForeignAssetsInstance>;
type Pool = pezpallet_assets::Pezpallet::<Runtime, PoolAssetsInstance>;
type ToPezkuwichain = XcmBridgeHubRouterBench<Runtime, ToPezkuwichainXcmRouterInstance>;
@@ -2236,7 +2236,7 @@ impl pezpallet_state_trie_migration::Config for Runtime {
type RuntimeHoldReason = RuntimeHoldReason;
type SignedDepositPerItem = MigrationSignedDepositPerItem;
type SignedDepositBase = MigrationSignedDepositBase;
// An origin that can control the whole pallet: should be Root, or a part of your council.
// An origin that can control the whole pezpallet: should be Root, or a part of your council.
type ControlOrigin = pezframe_system::EnsureSignedBy<RootMigController, AccountId>;
// specific account for the migration, can trigger the signed migrations.
type SignedFilter = pezframe_system::EnsureSignedBy<MigController, AccountId>;
@@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
///! Staking, and election related pallet configurations.
///! Staking, and election related pezpallet configurations.
use super::*;
use pezcumulus_primitives_core::relay_chain::SessionIndex;
use pezframe_election_provider_support::{ElectionDataProvider, SequentialPhragmen};
@@ -703,7 +703,7 @@ mod tests {
pezsp_tracing::try_init_simple();
pezsp_io::TestExternalities::default().execute_with(|| {
super::enable_hez_preset(false);
let duration = mb::Pallet::<Runtime>::average_election_duration();
let duration = mb::Pezpallet::<Runtime>::average_election_duration();
let pezkuwi_session = 6 * HOURS;
log::info!(
target: "runtime",
@@ -716,7 +716,7 @@ mod tests {
pezsp_io::TestExternalities::default().execute_with(|| {
super::enable_ksm_preset(false);
let duration = mb::Pallet::<Runtime>::average_election_duration();
let duration = mb::Pezpallet::<Runtime>::average_election_duration();
let kusama_session = 1 * HOURS;
log::info!(
target: "runtime",
@@ -799,8 +799,8 @@ mod tests {
pezsp_core::crypto::set_default_ss58_version(1u8.into());
super::enable_hez_preset(true);
// prepare all snapshot in EPMB pallet.
mb::Pallet::<Runtime>::asap();
// prepare all snapshot in EPMB pezpallet.
mb::Pezpallet::<Runtime>::asap();
for page in 1..=32 {
mb::unsigned::miner::OffchainWorkerMiner::<Runtime>::mine_solution(page, true)
.inspect(|p| log::info!(target: "runtime", "{:?}", p.score.pretty("HEZ", 10)))
@@ -26,10 +26,10 @@
// Executed Command:
// ./target/release/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain
// statemine-dev
// --pallet
// --pezpallet
// pezcumulus_pezpallet_teyrchain_system
// --extrinsic
// *
@@ -26,14 +26,14 @@
// Executed Command:
// target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pallet=pezcumulus_pezpallet_weight_reclaim
// --pezpallet=pezcumulus_pezpallet_weight_reclaim
// --chain=asset-hub-next-zagros-dev
// --header=./pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/
@@ -26,8 +26,8 @@
// Executed Command:
// ./target/release/pezkuwi-teyrchain
// benchmark
// pallet
// --pallet
// pezpallet
// --pezpallet
// pezcumulus-pezpallet-xcmp-queue
// --chain
// asset-hub-next-zagros-dev
@@ -0,0 +1,82 @@
// This file is part of Bizinikiwi.
// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `i9`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
// Executed Command:
// ./target/release/pezkuwi-teyrchain
// benchmark
// pezpallet
// --chain
// statemine-dev
// --pezpallet
// pezcumulus_pezpallet_teyrchain_system
// --extrinsic
// *
// --execution
// wasm
// --wasm-execution
// compiled
// --output
// teyrchains/runtimes/assets/statemine/src/weights
// --steps
// 50
// --repeat
// 20
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
use pezframe_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo<T> {
/// Storage: TeyrchainSystem LastDmqMqcHead (r:1 w:1)
/// Proof Skipped: TeyrchainSystem LastDmqMqcHead (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TeyrchainSystem ReservedDmpWeightOverride (r:1 w:0)
/// Proof Skipped: TeyrchainSystem ReservedDmpWeightOverride (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: MessageQueue BookStateFor (r:1 w:1)
/// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
/// Storage: MessageQueue ServiceHead (r:1 w:1)
/// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen)
/// Storage: TeyrchainSystem ProcessedDownwardMessages (r:0 w:1)
/// Proof Skipped: TeyrchainSystem ProcessedDownwardMessages (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: MessageQueue Pages (r:0 w:16)
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 1000]`.
fn enqueue_inbound_downward_messages(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `12`
// Estimated: `8013`
// Minimum execution time: 1_622_000 picoseconds.
Weight::from_parts(1_709_000, 0)
.saturating_add(Weight::from_parts(0, 8013))
// Standard Error: 22_138
.saturating_add(Weight::from_parts(23_923_169, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
}
@@ -0,0 +1,68 @@
// This file is part of Bizinikiwi.
// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-12-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-ys-ssygq-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-next-zagros-dev")`, DB CACHE: 1024
// Executed Command:
// target/production/pezkuwi-teyrchain
// benchmark
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pezpallet=pezcumulus_pezpallet_weight_reclaim
// --chain=asset-hub-next-zagros-dev
// --header=./pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use pezframe_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo<T> {
/// Storage: `System::BlockWeight` (r:1 w:1)
/// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
/// Storage: `System::ExtrinsicWeightReclaimed` (r:1 w:1)
/// Proof: `System::ExtrinsicWeightReclaimed` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `System::AllExtrinsicsLen` (r:1 w:0)
/// Proof: `System::AllExtrinsicsLen` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn storage_weight_reclaim() -> Weight {
// Proof Size summary in bytes:
// Measured: `24`
// Estimated: `1533`
// Minimum execution time: 7_470_000 picoseconds.
Weight::from_parts(7_695_000, 0)
.saturating_add(Weight::from_parts(0, 1533))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -0,0 +1,245 @@
// This file is part of Bizinikiwi.
// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-09-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `Olivers-MacBook-Pro.local`, CPU: `<UNKNOWN>`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-next-zagros-dev")`, DB CACHE: 1024
// Executed Command:
// ./target/release/pezkuwi-teyrchain
// benchmark
// pezpallet
// --pezpallet
// pezcumulus-pezpallet-xcmp-queue
// --chain
// asset-hub-next-zagros-dev
// --output
// pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/pezcumulus_pezpallet_xcmp_queue.rs
// --extrinsic
//
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use pezframe_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> pezcumulus_pezpallet_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 {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `1497`
// Minimum execution time: 3_562_000 picoseconds.
Weight::from_parts(4_749_000, 1497)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
/// The range of component `n` is `[0, 105467]`.
fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `151`
// Estimated: `5487`
// Minimum execution time: 10_685_000 picoseconds.
Weight::from_parts(8_747_868, 5487)
// Standard Error: 6
.saturating_add(Weight::from_parts(696, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
/// The range of component `n` is `[0, 1000]`.
fn enqueue_n_empty_xcmp_messages(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `151`
// Estimated: `5487`
// Minimum execution time: 9_498_000 picoseconds.
Weight::from_parts(14_113_868, 5487)
// Standard Error: 298
.saturating_add(Weight::from_parts(109_652, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:1 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
/// The range of component `n` is `[0, 105457]`.
fn enqueue_empty_xcmp_message_at(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `334 + n * (1 ±0)`
// Estimated: `108986`
// Minimum execution time: 12_000_000 picoseconds.
Weight::from_parts(11_015_940, 108986)
// Standard Error: 32
.saturating_add(Weight::from_parts(911, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:100)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
/// The range of component `n` is `[0, 100]`.
fn enqueue_n_full_pages(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `186`
// Estimated: `5487`
// Minimum execution time: 10_685_000 picoseconds.
Weight::from_parts(10_686_000, 5487)
// Standard Error: 51_426
.saturating_add(Weight::from_parts(64_394_224, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
}
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
fn enqueue_1000_small_xcmp_messages() -> Weight {
// Proof Size summary in bytes:
// Measured: `53067`
// Estimated: `108986`
// Minimum execution time: 139_000_000 picoseconds.
Weight::from_parts(148_000_000, 108986)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
fn suspend_channel() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `2767`
// Minimum execution time: 2_374_000 picoseconds.
Weight::from_parts(3_562_000, 2767)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
fn resume_channel() -> Weight {
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `2767`
// Minimum execution time: 3_561_000 picoseconds.
Weight::from_parts(4_749_000, 2767)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// The range of component `n` is `[0, 92]`.
fn take_first_concatenated_xcm(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_000_000 picoseconds.
Weight::from_parts(1_806_940, 0)
// Standard Error: 541
.saturating_add(Weight::from_parts(46_068, 0).saturating_mul(n.into()))
}
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
fn on_idle_good_msg() -> Weight {
// Proof Size summary in bytes:
// Measured: `105716`
// Estimated: `109181`
// Minimum execution time: 131_791_000 picoseconds.
Weight::from_parts(134_166_000, 109181)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
fn on_idle_large_msg() -> Weight {
// Proof Size summary in bytes:
// Measured: `65785`
// Estimated: `69250`
// Minimum execution time: 80_737_000 picoseconds.
Weight::from_parts(83_111_000, 69250)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
}
@@ -26,10 +26,10 @@
// Executed Command:
// ./target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --wasm-execution=compiled
// --pallet=pezframe_system
// --pezpallet=pezframe_system
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -27,10 +27,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/release/wbuild/asset-hub-next-zagros-runtime/asset_hub_next_zagros_runtime.wasm
// --pallet=pezframe_system_extensions
// --pezpallet=pezframe_system_extensions
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights
// --wasm-execution=compiled
@@ -26,11 +26,11 @@
// Executed Command:
// ./target/debug/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --steps=20
// --repeat=2
// --pallet=pezpallet-asset-conversion
// --pezpallet=pezpallet-asset-conversion
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
@@ -26,11 +26,11 @@
// Executed Command:
// ./target/debug/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --steps=10
// --repeat=2
// --pallet=pezpallet-asset-conversion-ops
// --pezpallet=pezpallet-asset-conversion-ops
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
@@ -26,9 +26,9 @@
// Executed Command:
// ./target/debug/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --wasm-execution=compiled
// --pallet=pezpallet_asset_conversion_tx_payment
// --pezpallet=pezpallet_asset_conversion_tx_payment
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -26,11 +26,11 @@
// Executed Command:
// ./target/debug/pezkuwi
// benchmark
// pallet
// pezpallet
// --chain=pezkuwi-dev
// --steps=50
// --repeat=2
// --pallet=pezpallet_asset_rate
// --pezpallet=pezpallet_asset_rate
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
@@ -26,14 +26,14 @@
// Executed Command:
// target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pallet=pezpallet_asset_rewards
// --pezpallet=pezpallet_asset_rewards
// --chain=asset-hub-next-zagros-dev
// --header=./pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/asset-hub-pezkuwichain-runtime/asset_hub_pezkuwichain_runtime.wasm
// --pallet=pezpallet_assets
// --pezpallet=pezpallet_assets
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/asset-hub-pezkuwichain-runtime/asset_hub_pezkuwichain_runtime.wasm
// --pallet=pezpallet_assets
// --pezpallet=pezpallet_assets
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/asset-hub-pezkuwichain-runtime/asset_hub_pezkuwichain_runtime.wasm
// --pallet=pezpallet_assets
// --pezpallet=pezpallet_assets
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights
// --wasm-execution=compiled
@@ -26,14 +26,14 @@
// Executed Command:
// ./target/production/pezkuwi
// benchmark
// pallet
// pezpallet
// --chain=zagros-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --pallet=pezpallet_bags_list
// --pezpallet=pezpallet_bags_list
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -26,14 +26,14 @@
// Executed Command:
// target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pallet=pezpallet_balances
// --pezpallet=pezpallet_balances
// --chain=asset-hub-next-zagros-dev
// --header=./pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/
@@ -26,10 +26,10 @@
// Executed Command:
// ./target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --wasm-execution=compiled
// --pallet=pezpallet_collator_selection
// --pezpallet=pezpallet_collator_selection
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -26,7 +26,7 @@
// Executed Command:
// target/production/pezkuwi
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
@@ -34,7 +34,7 @@
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi/.git/.artifacts/bench.json
// --pallet=pezpallet_conviction_voting
// --pezpallet=pezpallet_conviction_voting
// --chain=zagros-dev
// --header=./file_header.txt
// --output=./runtime/zagros/src/weights/
@@ -26,14 +26,14 @@
// Executed Command:
// ./target/production/pezkuwi
// benchmark
// pallet
// pezpallet
// --chain=zagros-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --pallet=pezpallet_fast_unstake
// --pezpallet=pezpallet_fast_unstake
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -27,10 +27,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/asset-hub-next-zagros-runtime/asset_hub_next_zagros_runtime.wasm
// --pallet=pezpallet_message_queue
// --pezpallet=pezpallet_message_queue
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights
// --wasm-execution=compiled
@@ -27,10 +27,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/asset-hub-next-zagros-runtime/asset_hub_next_zagros_runtime.wasm
// --pallet=pezpallet_migrations
// --pezpallet=pezpallet_migrations
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights
// --wasm-execution=compiled
@@ -26,10 +26,10 @@
// Executed Command:
// target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --chain=asset-hub-next-zagros-dev
// --pallet=pezpallet_multisig
// --pezpallet=pezpallet_multisig
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights
// --wasm-execution=compiled
@@ -26,10 +26,10 @@
// Executed Command:
// ./target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --wasm-execution=compiled
// --pallet=pezpallet_nft_fractionalization
// --pezpallet=pezpallet_nft_fractionalization
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -26,10 +26,10 @@
// Executed Command:
// ./target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --wasm-execution=compiled
// --pallet=pezpallet_nfts
// --pezpallet=pezpallet_nfts
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -26,14 +26,14 @@
// Executed Command:
// target/production/pezkuwi
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pallet=pezpallet_nomination_pools
// --pezpallet=pezpallet_nomination_pools
// --chain=zagros-dev
// --header=./pezkuwi/file_header.txt
// --output=./pezkuwi/runtime/zagros/src/weights/
@@ -26,14 +26,14 @@
// Executed Command:
// ./target/production/pezkuwi
// benchmark
// pallet
// pezpallet
// --chain=zagros-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --pallet=pezpallet_preimage
// --pezpallet=pezpallet_preimage
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -26,10 +26,10 @@
// Executed Command:
// ./target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --wasm-execution=compiled
// --pallet=pezpallet_proxy
// --pezpallet=pezpallet_proxy
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -25,14 +25,14 @@
// Executed Command:
// ./target/production/pezkuwi
// benchmark
// pallet
// pezpallet
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --pallet=pezpallet_referenda
// --pezpallet=pezpallet_referenda
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -25,14 +25,14 @@
// Executed Command:
// target/production/pezkuwi
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pallet=pezpallet_scheduler
// --pezpallet=pezpallet_scheduler
// --chain=zagros-dev
// --header=./pezkuwi/file_header.txt
// --output=./pezkuwi/runtime/zagros/src/weights/
@@ -24,10 +24,10 @@
// Executed Command:
// ./target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --wasm-execution=compiled
// --pallet=pezpallet_session
// --pezpallet=pezpallet_session
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -28,10 +28,10 @@
// ./target/release/frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --runtime
// ./target/release/wbuild/pezpallet-staking-async-teyrchain-runtime/pezpallet_staking_async_teyrchain_runtime.compact.compressed.wasm
// --pallet
// --pezpallet
// pezpallet_staking_async
// --extrinsic
// *
@@ -25,14 +25,14 @@
// Executed Command:
// target/production/pezkuwi
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pallet=pezpallet_sudo
// --pezpallet=pezpallet_sudo
// --chain=zagros-dev
// --header=./pezkuwi/file_header.txt
// --output=./pezkuwi/runtime/zagros/src/weights/
@@ -24,10 +24,10 @@
// Executed Command:
// ./target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --wasm-execution=compiled
// --pallet=pezpallet_timestamp
// --pezpallet=pezpallet_timestamp
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -28,9 +28,9 @@
// Executed Command:
// ./target/release/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --wasm-execution=compiled
// --pallet=pezpallet_transaction_payment
// --pezpallet=pezpallet_transaction_payment
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -25,11 +25,11 @@
// Executed Command:
// ./target/debug/pezkuwi
// benchmark
// pallet
// pezpallet
// --chain=pezkuwichain-dev
// --steps=50
// --repeat=2
// --pallet=pezpallet_treasury
// --pezpallet=pezpallet_treasury
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
@@ -24,10 +24,10 @@
// Executed Command:
// ./target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --wasm-execution=compiled
// --pallet=pezpallet_uniques
// --pezpallet=pezpallet_uniques
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -24,10 +24,10 @@
// Executed Command:
// ./target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain=asset-hub-next-zagros-dev
// --wasm-execution=compiled
// --pallet=pezpallet_utility
// --pezpallet=pezpallet_utility
// --no-storage-info
// --no-median-slopes
// --no-min-squares
@@ -25,14 +25,14 @@
// Executed Command:
// ./target/production/pezkuwi
// benchmark
// pallet
// pezpallet
// --chain=zagros-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --pallet=pezpallet_vesting
// --pezpallet=pezpallet_vesting
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -25,14 +25,14 @@
// Executed Command:
// target/production/pezkuwi
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi/.git/.artifacts/bench.json
// --pallet=pezpallet_whitelist
// --pezpallet=pezpallet_whitelist
// --chain=zagros-dev
// --header=./file_header.txt
// --output=./runtime/zagros/src/weights/
@@ -25,10 +25,10 @@
// Executed Command:
// target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --chain=asset-hub-next-zagros-dev
// --pallet=pezpallet_xcm
// --pezpallet=pezpallet_xcm
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights
// --wasm-execution=compiled
@@ -25,14 +25,14 @@
// Executed Command:
// target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pallet=pezpallet_xcm_bridge_hub_router
// --pezpallet=pezpallet_xcm_bridge_hub_router
// --chain=asset-hub-next-zagros-dev
// --header=./pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/
@@ -26,14 +26,14 @@
// Executed Command:
// target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pallet=pezpallet_xcm_benchmarks::fungible
// --pezpallet=pezpallet_xcm_benchmarks::fungible
// --chain=asset-hub-next-zagros-dev
// --header=./pezcumulus/file_header.txt
// --template=./pezcumulus/templates/xcm-bench-template.hbs
@@ -26,14 +26,14 @@
// Executed Command:
// target/production/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pallet=pezpallet_xcm_benchmarks::generic
// --pezpallet=pezpallet_xcm_benchmarks::generic
// --chain=asset-hub-next-zagros-dev
// --header=./pezcumulus/file_header.txt
// --template=./pezcumulus/templates/xcm-bench-template.hbs
@@ -150,7 +150,7 @@ pub type UniquesConvertedConcreteId =
pub type UniquesTransactor = NonFungiblesAdapter<
// Use this non-fungibles implementation:
Uniques,
// This adapter will handle any non-fungible asset from the uniques pallet.
// This adapter will handle any non-fungible asset from the uniques pezpallet.
UniquesConvertedConcreteId,
// Convert an XCM Location into a local account id:
LocationToAccountId,
@@ -244,7 +244,7 @@ pub type XcmOriginToTransactDispatchOrigin = (
// Native signed account converter; this just converts an `AccountId32` origin into a normal
// `RuntimeOrigin::Signed` origin of the same 32-byte value.
SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>,
// Xcm origins can be represented natively under the Xcm pallet's Xcm origin.
// Xcm origins can be represented natively under the Xcm pezpallet's Xcm origin.
XcmPassthrough<RuntimeOrigin>,
);
@@ -300,7 +300,7 @@ pub type Barrier = TrailingSetTopicAsId<
// If the message is one that immediately attempts to pay for execution, then
// allow it.
AllowTopLevelPaidExecutionFrom<Everything>,
// Parent, its pluralities (i.e. governance bodies), relay treasury pallet and
// Parent, its pluralities (i.e. governance bodies), relay treasury pezpallet and
// sibling teyrchains get free execution.
AllowExplicitUnpaidExecutionFrom<(
ParentOrParentsPlurality,
@@ -321,7 +321,7 @@ pub type Barrier = TrailingSetTopicAsId<
>,
>;
// TODO: This calls into the Assets pallet's default `BalanceToAssetBalance` implementation, which
// TODO: This calls into the Assets pezpallet's default `BalanceToAssetBalance` implementation, which
// uses the ratio of minimum balances and requires asset sufficiency. This means that purchasing
// weight within XCM programs will still use the old way, and paying fees via asset conversion will
// only be possible when transacting locally. We should add an impl of this trait that does asset
@@ -360,7 +360,7 @@ pub type WaivedLocations = (
/// - Sibling teyrchains' assets from where they originate (as `ForeignCreators`).
pub type TrustedTeleporters = (
ConcreteAssetFromSystem<ZagrosLocation>,
IsForeignConcreteAsset<FromSiblingTeyrchain<teyrchain_info::Pallet<Runtime>>>,
IsForeignConcreteAsset<FromSiblingTeyrchain<teyrchain_info::Pezpallet<Runtime>>>,
);
/// Asset converter for pool assets.
@@ -515,7 +515,7 @@ pub type FellowshipAdminToPlurality =
/// Type to convert the `Treasurer` origin to a Plurality `Location` value.
pub type TreasurerToPlurality = OriginToPluralityVoice<RuntimeOrigin, Treasurer, TreasurerBodyId>;
/// Type to convert a pallet `Origin` type value into a `Location` value which represents an
/// Type to convert a pezpallet `Origin` type value into a `Location` value which represents an
/// interior location of this chain for a destination chain.
pub type LocalPalletOriginToLocation = (
// GeneralAdmin origin to be used in XCM as a corresponding Plurality `Location` value.