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
@@ -16,10 +16,10 @@
//! Bridge definitions that can be used by multiple BridgeHub flavors.
//! All configurations here should be dedicated to a single chain; in other words, we don't need two
//! chains for a single pallet configuration.
//! chains for a single pezpallet configuration.
//!
//! For example, the messaging pallet needs to know the sending and receiving chains, but the
//! GRANDPA tracking pallet only needs to be aware of one chain.
//! For example, the messaging pezpallet needs to know the sending and receiving chains, but the
//! GRANDPA tracking pezpallet only needs to be aware of one chain.
use super::{weights, AccountId, Balance, Balances, BlockNumber, Runtime, RuntimeEvent};
use crate::{
@@ -43,7 +43,7 @@ parameter_types! {
pub const RelayerStakeReserveId: [u8; 8] = *b"brdgrlrs";
}
/// Showcasing that we can handle multiple different rewards with the same pallet.
/// Showcasing that we can handle multiple different rewards with the same pezpallet.
#[derive(
Clone,
Copy,
@@ -53,13 +53,13 @@ use xcm::prelude::{GlobalConsensus, InteriorLocation, Location, PalletInstance,
use xcm_executor::XcmExecutor;
use zagros_runtime_constants::system_teyrchain::ASSET_HUB_ID;
pub const SLOTS_PER_EPOCH: u32 = snowbridge_pezpallet_ethereum_client::config::SLOTS_PER_EPOCH as u32;
pub const SLOTS_PER_EPOCH: u32 = pezsnowbridge_pezpallet_ethereum_client::config::SLOTS_PER_EPOCH as u32;
/// Exports message to the Ethereum Gateway contract.
pub type SnowbridgeExporter = EthereumBlobExporter<
UniversalLocation,
EthereumNetwork,
snowbridge_pezpallet_outbound_queue::Pallet<Runtime>,
pezsnowbridge_pezpallet_outbound_queue::Pezpallet<Runtime>,
pezsnowbridge_core::AgentIdOf,
EthereumSystem,
>;
@@ -100,9 +100,9 @@ parameter_types! {
pub SnowbridgeFrontendLocation: Location = Location::new(1, [Teyrchain(ASSET_HUB_ID), PalletInstance(FRONTEND_PALLET_INDEX)]);
}
impl snowbridge_pezpallet_inbound_queue::Config for Runtime {
impl pezsnowbridge_pezpallet_inbound_queue::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type Verifier = snowbridge_pezpallet_ethereum_client::Pallet<Runtime>;
type Verifier = pezsnowbridge_pezpallet_ethereum_client::Pezpallet<Runtime>;
type Token = Balances;
#[cfg(not(feature = "runtime-benchmarks"))]
type XcmSender = crate::XcmRouter;
@@ -125,12 +125,12 @@ impl snowbridge_pezpallet_inbound_queue::Config for Runtime {
type WeightToFee = WeightToFee;
type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;
type MaxMessageSize = ConstU32<2048>;
type WeightInfo = crate::weights::snowbridge_pezpallet_inbound_queue::WeightInfo<Runtime>;
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_inbound_queue::WeightInfo<Runtime>;
type PricingParameters = EthereumSystem;
type AssetTransactor = <xcm_config::XcmConfig as xcm_executor::Config>::AssetTransactor;
}
impl snowbridge_pezpallet_inbound_queue_v2::Config for Runtime {
impl pezsnowbridge_pezpallet_inbound_queue_v2::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type Verifier = EthereumBeaconClient;
#[cfg(not(feature = "runtime-benchmarks"))]
@@ -140,7 +140,7 @@ impl snowbridge_pezpallet_inbound_queue_v2::Config for Runtime {
type GatewayAddress = EthereumGatewayAddress;
#[cfg(feature = "runtime-benchmarks")]
type Helper = Runtime;
type WeightInfo = crate::weights::snowbridge_pezpallet_inbound_queue_v2::WeightInfo<Runtime>;
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_inbound_queue_v2::WeightInfo<Runtime>;
type AssetHubParaId = AssetHubParaId;
type XcmExecutor = XcmExecutor<XcmConfig>;
type MessageConverter = pezsnowbridge_inbound_queue_primitives::v2::MessageToXcm<
@@ -162,7 +162,7 @@ impl snowbridge_pezpallet_inbound_queue_v2::Config for Runtime {
type RewardPayment = BridgeRelayers;
}
impl snowbridge_pezpallet_outbound_queue::Config for Runtime {
impl pezsnowbridge_pezpallet_outbound_queue::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type Hashing = Keccak256;
type MessageQueue = MessageQueue;
@@ -172,12 +172,12 @@ impl snowbridge_pezpallet_outbound_queue::Config for Runtime {
type GasMeter = ConstantGasMeter;
type Balance = Balance;
type WeightToFee = WeightToFee;
type WeightInfo = crate::weights::snowbridge_pezpallet_outbound_queue::WeightInfo<Runtime>;
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_outbound_queue::WeightInfo<Runtime>;
type PricingParameters = EthereumSystem;
type Channels = EthereumSystem;
}
impl snowbridge_pezpallet_outbound_queue_v2::Config for Runtime {
impl pezsnowbridge_pezpallet_outbound_queue_v2::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type Hashing = Keccak256;
type MessageQueue = MessageQueue;
@@ -185,7 +185,7 @@ impl snowbridge_pezpallet_outbound_queue_v2::Config for Runtime {
type MaxMessagePayloadSize = ConstU32<2048>;
// Maximum number of outbound messages that can be committed per block.
// It's benchmarked, including the entire process flow(initialize,submit,commit) in the
// worst-case, Benchmark results in `../weights/snowbridge_pezpallet_outbound_queue_v2.
// worst-case, Benchmark results in `../weights/pezsnowbridge_pezpallet_outbound_queue_v2.
// rs` show that the `process` function consumes less than 1% of the block capacity, which is
// safe enough.
type MaxMessagesPerBlock = ConstU32<32>;
@@ -194,7 +194,7 @@ impl snowbridge_pezpallet_outbound_queue_v2::Config for Runtime {
type WeightToFee = WeightToFee;
type Verifier = EthereumBeaconClient;
type GatewayAddress = EthereumGatewayAddress;
type WeightInfo = crate::weights::snowbridge_pezpallet_outbound_queue_v2::WeightInfo<Runtime>;
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_outbound_queue_v2::WeightInfo<Runtime>;
type EthereumNetwork = EthereumNetwork;
type RewardKind = BridgeReward;
type DefaultRewardKind = SnowbridgeReward;
@@ -273,21 +273,21 @@ parameter_types! {
};
}
impl snowbridge_pezpallet_ethereum_client::Config for Runtime {
impl pezsnowbridge_pezpallet_ethereum_client::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type ForkVersions = ChainForkVersions;
type FreeHeadersInterval = ConstU32<SLOTS_PER_EPOCH>;
type WeightInfo = crate::weights::snowbridge_pezpallet_ethereum_client::WeightInfo<Runtime>;
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_ethereum_client::WeightInfo<Runtime>;
}
impl snowbridge_pezpallet_system::Config for Runtime {
impl pezsnowbridge_pezpallet_system::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type OutboundQueue = EthereumOutboundQueue;
type SiblingOrigin = EnsureXcm<AllowSiblingsOnly>;
type AgentIdOf = pezsnowbridge_core::AgentIdOf;
type TreasuryAccount = TreasuryAccount;
type Token = Balances;
type WeightInfo = crate::weights::snowbridge_pezpallet_system::WeightInfo<Runtime>;
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_system::WeightInfo<Runtime>;
#[cfg(feature = "runtime-benchmarks")]
type Helper = ();
type DefaultPricingParameters = Parameters;
@@ -307,12 +307,12 @@ impl Contains<Location> for AllowFromEthereumFrontend {
}
}
impl snowbridge_pezpallet_system_v2::Config for Runtime {
impl pezsnowbridge_pezpallet_system_v2::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type OutboundQueue = EthereumOutboundQueueV2;
type InboundQueue = EthereumInboundQueueV2;
type FrontendOrigin = EnsureXcm<AllowFromEthereumFrontend>;
type WeightInfo = crate::weights::snowbridge_pezpallet_system_v2::WeightInfo<Runtime>;
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_system_v2::WeightInfo<Runtime>;
type GovernanceOrigin = EnsureRootWithSuccess<crate::AccountId, RootLocation>;
#[cfg(feature = "runtime-benchmarks")]
type Helper = ();
@@ -329,15 +329,15 @@ pub mod benchmark_helpers {
use hex_literal::hex;
use pezsnowbridge_beacon_primitives::BeaconHeader;
use pezsnowbridge_inbound_queue_primitives::EventFixture;
use snowbridge_pezpallet_inbound_queue::BenchmarkHelper;
use snowbridge_pezpallet_inbound_queue_fixtures::register_token::make_register_token_message;
use snowbridge_pezpallet_inbound_queue_v2::BenchmarkHelper as InboundQueueBenchmarkHelperV2;
use snowbridge_pezpallet_inbound_queue_v2_fixtures::register_token::make_register_token_message as make_register_token_message_v2;
use snowbridge_pezpallet_outbound_queue_v2::BenchmarkHelper as OutboundQueueBenchmarkHelperV2;
use pezsnowbridge_pezpallet_inbound_queue::BenchmarkHelper;
use pezsnowbridge_pezpallet_inbound_queue_fixtures::register_token::make_register_token_message;
use pezsnowbridge_pezpallet_inbound_queue_v2::BenchmarkHelper as InboundQueueBenchmarkHelperV2;
use pezsnowbridge_pezpallet_inbound_queue_v2_fixtures::register_token::make_register_token_message as make_register_token_message_v2;
use pezsnowbridge_pezpallet_outbound_queue_v2::BenchmarkHelper as OutboundQueueBenchmarkHelperV2;
use pezsp_core::H256;
use xcm::latest::{Assets, Location, SendError, SendResult, SendXcm, Xcm, XcmHash};
impl<T: snowbridge_pezpallet_ethereum_client::Config> BenchmarkHelper<T> for Runtime {
impl<T: pezsnowbridge_pezpallet_ethereum_client::Config> BenchmarkHelper<T> for Runtime {
fn initialize_storage() -> EventFixture {
let message = make_register_token_message();
EthereumBeaconClient::store_finalized_header(
@@ -357,7 +357,7 @@ pub mod benchmark_helpers {
}
}
impl<T: snowbridge_pezpallet_inbound_queue_v2::Config> InboundQueueBenchmarkHelperV2<T> for Runtime {
impl<T: pezsnowbridge_pezpallet_inbound_queue_v2::Config> InboundQueueBenchmarkHelperV2<T> for Runtime {
fn initialize_storage() -> EventFixture {
let message = make_register_token_message_v2();
@@ -370,7 +370,7 @@ pub mod benchmark_helpers {
}
}
impl<T: snowbridge_pezpallet_outbound_queue_v2::Config> OutboundQueueBenchmarkHelperV2<T> for Runtime {
impl<T: pezsnowbridge_pezpallet_outbound_queue_v2::Config> OutboundQueueBenchmarkHelperV2<T> for Runtime {
fn initialize_storage(beacon_header: BeaconHeader, block_roots_root: H256) {
EthereumBeaconClient::store_finalized_header(beacon_header, block_roots_root).unwrap();
}
@@ -392,13 +392,13 @@ pub mod benchmark_helpers {
}
}
impl snowbridge_pezpallet_system::BenchmarkHelper<RuntimeOrigin> for () {
impl pezsnowbridge_pezpallet_system::BenchmarkHelper<RuntimeOrigin> for () {
fn make_xcm_origin(location: Location) -> RuntimeOrigin {
RuntimeOrigin::from(pezpallet_xcm::Origin::Xcm(location))
}
}
impl snowbridge_pezpallet_system_v2::BenchmarkHelper<RuntimeOrigin> for () {
impl pezsnowbridge_pezpallet_system_v2::BenchmarkHelper<RuntimeOrigin> for () {
fn make_xcm_origin(location: Location) -> RuntimeOrigin {
RuntimeOrigin::from(pezpallet_xcm::Origin::Xcm(location))
}
@@ -431,8 +431,8 @@ pub(crate) mod migrations {
use pezsnowbridge_core::TokenId;
#[pezframe_support::storage_alias]
pub type OldNativeToForeignId<T: snowbridge_pezpallet_system::Config> = StorageMap<
snowbridge_pezpallet_system::Pallet<T>,
pub type OldNativeToForeignId<T: pezsnowbridge_pezpallet_system::Config> = StorageMap<
pezsnowbridge_pezpallet_system::Pezpallet<T>,
Blake2_128Concat,
xcm::v4::Location,
TokenId,
@@ -440,8 +440,8 @@ pub(crate) mod migrations {
>;
/// One shot migration for NetworkId::Zagros to NetworkId::ByGenesis(ZAGROS_GENESIS_HASH)
pub struct MigrationForXcmV5<T: snowbridge_pezpallet_system::Config>(core::marker::PhantomData<T>);
impl<T: snowbridge_pezpallet_system::Config> pezframe_support::traits::OnRuntimeUpgrade
pub struct MigrationForXcmV5<T: pezsnowbridge_pezpallet_system::Config>(core::marker::PhantomData<T>);
impl<T: pezsnowbridge_pezpallet_system::Config> pezframe_support::traits::OnRuntimeUpgrade
for MigrationForXcmV5<T>
{
fn on_runtime_upgrade() -> Weight {
@@ -451,7 +451,7 @@ pub(crate) mod migrations {
weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1));
Some(xcm::v5::Location::try_from(pre).expect("valid location"))
};
snowbridge_pezpallet_system::ForeignToNativeId::<T>::translate_values(translate_zagros);
pezsnowbridge_pezpallet_system::ForeignToNativeId::<T>::translate_values(translate_zagros);
weight
}
@@ -107,7 +107,7 @@ pub type OnBridgeHubZagrosRefundBridgeHubPezkuwichainMessages = BridgeRelayersTr
>;
pezbp_runtime::generate_static_str_provider!(OnBridgeHubZagrosRefundBridgeHubPezkuwichainMessages);
/// Add GRANDPA bridge pallet to track Pezkuwichain relay chain.
/// Add GRANDPA bridge pezpallet to track Pezkuwichain relay chain.
pub type BridgeGrandpaPezkuwichainInstance = pezpallet_bridge_grandpa::Instance1;
impl pezpallet_bridge_grandpa::Config<BridgeGrandpaPezkuwichainInstance> for Runtime {
type RuntimeEvent = RuntimeEvent;
@@ -118,7 +118,7 @@ impl pezpallet_bridge_grandpa::Config<BridgeGrandpaPezkuwichainInstance> for Run
type WeightInfo = weights::pezpallet_bridge_grandpa::WeightInfo<Runtime>;
}
/// Add teyrchain bridge pallet to track Pezkuwichain BridgeHub teyrchain
/// Add teyrchain bridge pezpallet to track Pezkuwichain BridgeHub teyrchain
pub type BridgeTeyrchainPezkuwichainInstance = pezpallet_bridge_teyrchains::Instance1;
impl pezpallet_bridge_teyrchains::Config<BridgeTeyrchainPezkuwichainInstance> for Runtime {
type RuntimeEvent = RuntimeEvent;
@@ -172,12 +172,12 @@ pub type Migrations = (
bridge_common_config::BridgeRelayersInstance,
bp_messages::LegacyLaneId,
>,
snowbridge_pezpallet_system::migration::v0::InitializeOnUpgrade<
pezsnowbridge_pezpallet_system::migration::v0::InitializeOnUpgrade<
Runtime,
ConstU32<BRIDGE_HUB_ID>,
ConstU32<ASSET_HUB_ID>,
>,
snowbridge_pezpallet_system::migration::FeePerGasMigrationV0ToV1<Runtime>,
pezsnowbridge_pezpallet_system::migration::FeePerGasMigrationV0ToV1<Runtime>,
bridge_to_ethereum_config::migrations::MigrationForXcmV5<Runtime>,
pezpallet_session::migrations::v1::MigrateV0ToV1<
Runtime,
@@ -300,9 +300,9 @@ impl pezframe_system::Config for Runtime {
type AccountData = pezpallet_balances::AccountData<Balance>;
/// The weight of database operations that the runtime can invoke.
type DbWeight = RocksDbWeight;
/// Weight information for the extrinsics of this pallet.
/// Weight information for the extrinsics of this pezpallet.
type SystemWeightInfo = weights::pezframe_system::WeightInfo<Runtime>;
/// Weight information for the transaction extensions of this pallet.
/// Weight information for the transaction extensions of this pezpallet.
type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo<Runtime>;
/// Block & extrinsics weights: base values and limits.
type BlockWeights = RuntimeBlockWeights;
@@ -381,7 +381,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 OutboundXcmpMessageSource = XcmpQueue;
type DmpQueue = pezframe_support::traits::EnqueueWithOrigin<MessageQueue, RelayOrigin>;
type ReservedDmpWeight = ReservedDmpWeight;
@@ -426,7 +426,7 @@ impl pezpallet_message_queue::Config for Runtime {
EthereumOutboundQueueV2,
>;
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 }>;
@@ -542,7 +542,7 @@ impl pezpallet_multisig::Config for Runtime {
type DepositFactor = DepositFactor;
type MaxSignatories = ConstU32<100>;
type WeightInfo = weights::pezpallet_multisig::WeightInfo<Runtime>;
type BlockNumberProvider = pezframe_system::Pallet<Runtime>;
type BlockNumberProvider = pezframe_system::Pezpallet<Runtime>;
}
impl pezpallet_utility::Config for Runtime {
@@ -590,14 +590,14 @@ construct_runtime!(
BridgePezkuwichainMessages: pezpallet_bridge_messages::<Instance1> = 44,
XcmOverBridgeHubPezkuwichain: pezpallet_xcm_bridge_hub::<Instance1> = 45,
EthereumInboundQueue: snowbridge_pezpallet_inbound_queue = 80,
EthereumOutboundQueue: snowbridge_pezpallet_outbound_queue = 81,
EthereumBeaconClient: snowbridge_pezpallet_ethereum_client = 82,
EthereumSystem: snowbridge_pezpallet_system = 83,
EthereumInboundQueue: pezsnowbridge_pezpallet_inbound_queue = 80,
EthereumOutboundQueue: pezsnowbridge_pezpallet_outbound_queue = 81,
EthereumBeaconClient: pezsnowbridge_pezpallet_ethereum_client = 82,
EthereumSystem: pezsnowbridge_pezpallet_system = 83,
EthereumSystemV2: snowbridge_pezpallet_system_v2 = 90,
EthereumInboundQueueV2: snowbridge_pezpallet_inbound_queue_v2 = 91,
EthereumOutboundQueueV2: snowbridge_pezpallet_outbound_queue_v2 = 92,
EthereumSystemV2: pezsnowbridge_pezpallet_system_v2 = 90,
EthereumInboundQueueV2: pezsnowbridge_pezpallet_inbound_queue_v2 = 91,
EthereumOutboundQueueV2: pezsnowbridge_pezpallet_outbound_queue_v2 = 92,
// Message Queue. Importantly, is registered last so that messages are processed after
// the `on_initialize` hooks of bridging pallets.
@@ -652,14 +652,14 @@ mod benches {
[pezpallet_bridge_teyrchains, WithinPezkuwichain]
[pezpallet_bridge_messages, ZagrosToPezkuwichain]
// Ethereum Bridge V1
[snowbridge_pezpallet_system, EthereumSystem]
[snowbridge_pezpallet_ethereum_client, EthereumBeaconClient]
[snowbridge_pezpallet_inbound_queue, EthereumInboundQueue]
[snowbridge_pezpallet_outbound_queue, EthereumOutboundQueue]
[pezsnowbridge_pezpallet_system, EthereumSystem]
[pezsnowbridge_pezpallet_ethereum_client, EthereumBeaconClient]
[pezsnowbridge_pezpallet_inbound_queue, EthereumInboundQueue]
[pezsnowbridge_pezpallet_outbound_queue, EthereumOutboundQueue]
// Ethereum Bridge V2
[snowbridge_pezpallet_system_v2, EthereumSystemV2]
[snowbridge_pezpallet_inbound_queue_v2, EthereumInboundQueueV2]
[snowbridge_pezpallet_outbound_queue_v2, EthereumOutboundQueueV2]
[pezsnowbridge_pezpallet_system_v2, EthereumSystemV2]
[pezsnowbridge_pezpallet_inbound_queue_v2, EthereumInboundQueueV2]
[pezsnowbridge_pezpallet_outbound_queue_v2, EthereumOutboundQueueV2]
[pezcumulus_pezpallet_weight_reclaim, WeightReclaim]
);
@@ -945,29 +945,29 @@ impl_runtime_apis! {
impl pezsnowbridge_outbound_queue_runtime_api::OutboundQueueApi<Block, Balance> for Runtime {
fn prove_message(leaf_index: u64) -> Option<pezsnowbridge_merkle_tree::MerkleProof> {
snowbridge_pezpallet_outbound_queue::api::prove_message::<Runtime>(leaf_index)
pezsnowbridge_pezpallet_outbound_queue::api::prove_message::<Runtime>(leaf_index)
}
fn calculate_fee(command: Command, parameters: Option<PricingParameters<Balance>>) -> Fee<Balance> {
snowbridge_pezpallet_outbound_queue::api::calculate_fee::<Runtime>(command, parameters)
pezsnowbridge_pezpallet_outbound_queue::api::calculate_fee::<Runtime>(command, parameters)
}
}
impl pezsnowbridge_outbound_queue_v2_runtime_api::OutboundQueueV2Api<Block, Balance> for Runtime {
fn prove_message(leaf_index: u64) -> Option<pezsnowbridge_merkle_tree::MerkleProof> {
snowbridge_pezpallet_outbound_queue_v2::api::prove_message::<Runtime>(leaf_index)
pezsnowbridge_pezpallet_outbound_queue_v2::api::prove_message::<Runtime>(leaf_index)
}
}
impl pezsnowbridge_system_runtime_api::ControlApi<Block> for Runtime {
fn agent_id(location: VersionedLocation) -> Option<AgentId> {
snowbridge_pezpallet_system::api::agent_id::<Runtime>(location)
pezsnowbridge_pezpallet_system::api::agent_id::<Runtime>(location)
}
}
impl pezsnowbridge_system_v2_runtime_api::ControlV2Api<Block> for Runtime {
fn agent_id(location: VersionedLocation) -> Option<AgentId> {
snowbridge_pezpallet_system_v2::api::agent_id::<Runtime>(location)
pezsnowbridge_pezpallet_system_v2::api::agent_id::<Runtime>(location)
}
}
@@ -998,22 +998,22 @@ 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 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;
// 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>;
use pezpallet_bridge_relayers::benchmarking::Pallet as BridgeRelayersBench;
use pezpallet_bridge_relayers::benchmarking::Pezpallet as BridgeRelayersBench;
// Change weight file names.
type PezkuwichainFinality = BridgePezkuwichainGrandpa;
type WithinPezkuwichain = pezpallet_bridge_teyrchains::benchmarking::Pallet::<Runtime, bridge_to_pezkuwichain_config::BridgeTeyrchainPezkuwichainInstance>;
type ZagrosToPezkuwichain = pezpallet_bridge_messages::benchmarking::Pallet ::<Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>;
type WithinPezkuwichain = pezpallet_bridge_teyrchains::benchmarking::Pezpallet::<Runtime, bridge_to_pezkuwichain_config::BridgeTeyrchainPezkuwichainInstance>;
type ZagrosToPezkuwichain = pezpallet_bridge_messages::benchmarking::Pezpallet ::<Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>;
let mut list = Vec::<BenchmarkList>::new();
list_benchmarks!(list, extra);
@@ -1029,8 +1029,8 @@ impl_runtime_apis! {
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;
impl pezframe_system_benchmarking::Config for Runtime {
fn setup_set_code_requirements(code: &alloc::vec::Vec<u8>) -> Result<(), BenchmarkError> {
TeyrchainSystem::initialize_for_set_code_benchmark(code.len() as u32);
@@ -1042,7 +1042,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 {}
use xcm::latest::prelude::*;
@@ -1055,7 +1055,7 @@ impl_runtime_apis! {
).into());
}
use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
use pezpallet_xcm::benchmarking::Pezpallet as PalletXcmExtrinsicsBenchmark;
impl pezpallet_xcm::benchmarking::Config for Runtime {
type DeliveryHelper = pezkuwi_runtime_common::xcm_sender::ToTeyrchainDeliveryHelper<
xcm_config::XcmConfig,
@@ -1270,12 +1270,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 PezkuwichainFinality = BridgePezkuwichainGrandpa;
type WithinPezkuwichain = pezpallet_bridge_teyrchains::benchmarking::Pallet::<Runtime, bridge_to_pezkuwichain_config::BridgeTeyrchainPezkuwichainInstance>;
type ZagrosToPezkuwichain = pezpallet_bridge_messages::benchmarking::Pallet ::<Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>;
type WithinPezkuwichain = pezpallet_bridge_teyrchains::benchmarking::Pezpallet::<Runtime, bridge_to_pezkuwichain_config::BridgeTeyrchainPezkuwichainInstance>;
type ZagrosToPezkuwichain = pezpallet_bridge_messages::benchmarking::Pezpallet ::<Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>;
use pezbridge_runtime_common::messages_benchmarking::{
prepare_message_delivery_proof_from_teyrchain,
@@ -1293,7 +1293,7 @@ impl_runtime_apis! {
let bench_lane_id = <Self as BridgeMessagesConfig<bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>>::bench_lane_id();
use pezbp_runtime::Chain;
let bridged_chain_id =<Self as pezpallet_bridge_messages::Config<bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>>::BridgedChain::ID;
pezpallet_bridge_relayers::Pallet::<Runtime, bridge_common_config::BridgeRelayersInstance>::relayer_reward(
pezpallet_bridge_relayers::Pezpallet::<Runtime, bridge_common_config::BridgeRelayersInstance>::relayer_reward(
relayer,
bridge_common_config::BridgeReward::PezkuwichainZagros(
bp_relayers::RewardsAccountParams::new(
@@ -1347,7 +1347,7 @@ impl_runtime_apis! {
use pezbridge_runtime_common::teyrchains_benchmarking::prepare_teyrchain_heads_proof;
use pezpallet_bridge_teyrchains::benchmarking::Config as BridgeTeyrchainsConfig;
use pezpallet_bridge_relayers::benchmarking::{
Pallet as BridgeRelayersBench,
Pezpallet as BridgeRelayersBench,
Config as BridgeRelayersConfig,
};
@@ -46,13 +46,13 @@ pub mod paritydb_weights;
pub mod rocksdb_weights;
pub mod xcm;
pub mod snowbridge_pezpallet_ethereum_client;
pub mod snowbridge_pezpallet_inbound_queue;
pub mod snowbridge_pezpallet_inbound_queue_v2;
pub mod snowbridge_pezpallet_outbound_queue;
pub mod snowbridge_pezpallet_outbound_queue_v2;
pub mod snowbridge_pezpallet_system;
pub mod snowbridge_pezpallet_system_v2;
pub mod pezsnowbridge_pezpallet_ethereum_client;
pub mod pezsnowbridge_pezpallet_inbound_queue;
pub mod pezsnowbridge_pezpallet_inbound_queue_v2;
pub mod pezsnowbridge_pezpallet_outbound_queue;
pub mod pezsnowbridge_pezpallet_outbound_queue_v2;
pub mod pezsnowbridge_pezpallet_system;
pub mod pezsnowbridge_pezpallet_system_v2;
pub use block_weights::constants::BlockExecutionWeight;
pub use extrinsic_weights::constants::ExtrinsicBaseWeight;
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezcumulus_pezpallet_teyrchain_system
// --pezpallet=pezcumulus_pezpallet_teyrchain_system
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezcumulus_pezpallet_weight_reclaim
// --pezpallet=pezcumulus_pezpallet_weight_reclaim
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezcumulus_pezpallet_xcmp_queue
// --pezpallet=pezcumulus_pezpallet_xcmp_queue
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -0,0 +1,77 @@
// 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 32.0.0
//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
// Executed Command:
// frame-omni-bencher
// v1
// benchmark
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pezpallet=pezcumulus_pezpallet_teyrchain_system
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
// --steps=50
// --repeat=20
// --heap-pages=4096
// --no-storage-info
// --no-min-squares
// --no-median-slopes
#![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_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: `TeyrchainSystem::LastDmqMqcHead` (`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(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
/// Storage: `TeyrchainSystem::ProcessedDownwardMessages` (r:0 w:1)
/// Proof: `TeyrchainSystem::ProcessedDownwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `MessageQueue::Pages` (r:0 w:1000)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, 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: `3601`
// Minimum execution time: 2_335_000 picoseconds.
Weight::from_parts(2_390_000, 0)
.saturating_add(Weight::from_parts(0, 3601))
// Standard Error: 44_053
.saturating_add(Weight::from_parts(353_908_674, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
}
}
@@ -0,0 +1,61 @@
// 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: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
// Executed Command:
// frame-omni-bencher
// v1
// benchmark
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pezpallet=pezcumulus_pezpallet_weight_reclaim
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
// --steps=50
// --repeat=20
// --heap-pages=4096
// --no-storage-info
// --no-min-squares
// --no-median-slopes
#![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> {
fn storage_weight_reclaim() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_944_000 picoseconds.
Weight::from_parts(4_190_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
}
@@ -0,0 +1,258 @@
// 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 32.0.0
//! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `4e9548205c14`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
// Executed Command:
// frame-omni-bencher
// v1
// benchmark
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pezpallet=pezcumulus_pezpallet_xcmp_queue
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
// --steps=50
// --repeat=20
// --heap-pages=4096
// --no-storage-info
// --no-min-squares
// --no-median-slopes
#![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: `142`
// Estimated: `1497`
// Minimum execution time: 5_323_000 picoseconds.
Weight::from_parts(5_553_000, 0)
.saturating_add(Weight::from_parts(0, 1497))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// 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(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, 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(105549), added: 108024, 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: `148`
// Estimated: `5487`
// Minimum execution time: 14_253_000 picoseconds.
Weight::from_parts(9_710_247, 0)
.saturating_add(Weight::from_parts(0, 5487))
// Standard Error: 7
.saturating_add(Weight::from_parts(977, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// 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(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, 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(105549), added: 108024, 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: `148`
// Estimated: `5487`
// Minimum execution time: 12_057_000 picoseconds.
Weight::from_parts(16_879_007, 0)
.saturating_add(Weight::from_parts(0, 5487))
// Standard Error: 186
.saturating_add(Weight::from_parts(148_560, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `Measured`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `Measured`)
/// Storage: `MessageQueue::Pages` (r:1 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `Measured`)
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`)
/// The range of component `n` is `[0, 105457]`.
fn enqueue_empty_xcmp_message_at(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `330 + n * (1 ±0)`
// Estimated: `3793 + n * (1 ±0)`
// Minimum execution time: 21_701_000 picoseconds.
Weight::from_parts(13_042_218, 0)
.saturating_add(Weight::from_parts(0, 3793))
// Standard Error: 11
.saturating_add(Weight::from_parts(2_049, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_parts(0, 1).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(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, 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(105549), added: 108024, mode: `MaxEncodedLen`)
/// The range of component `n` is `[0, 100]`.
fn enqueue_n_full_pages(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `183`
// Estimated: `5487`
// Minimum execution time: 13_587_000 picoseconds.
Weight::from_parts(13_780_000, 0)
.saturating_add(Weight::from_parts(0, 5487))
// Standard Error: 76_544
.saturating_add(Weight::from_parts(91_330_251, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
.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: `Measured`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `Measured`)
/// Storage: `MessageQueue::Pages` (r:1 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `Measured`)
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`)
fn enqueue_1000_small_xcmp_messages() -> Weight {
// Proof Size summary in bytes:
// Measured: `53063`
// Estimated: `56528`
// Minimum execution time: 274_744_000 picoseconds.
Weight::from_parts(283_085_000, 0)
.saturating_add(Weight::from_parts(0, 56528))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
/// 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: `142`
// Estimated: `2767`
// Minimum execution time: 3_318_000 picoseconds.
Weight::from_parts(3_560_000, 0)
.saturating_add(Weight::from_parts(0, 2767))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// 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: `177`
// Estimated: `2767`
// Minimum execution time: 4_724_000 picoseconds.
Weight::from_parts(4_920_000, 0)
.saturating_add(Weight::from_parts(0, 2767))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// 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: 2_067_000 picoseconds.
Weight::from_parts(2_441_904, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 126
.saturating_add(Weight::from_parts(17_623, 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(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, 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(105549), added: 108024, mode: `MaxEncodedLen`)
fn on_idle_good_msg() -> Weight {
// Proof Size summary in bytes:
// Measured: `105713`
// Estimated: `109178`
// Minimum execution time: 179_516_000 picoseconds.
Weight::from_parts(184_410_000, 0)
.saturating_add(Weight::from_parts(0, 109178))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(5))
}
/// 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(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, 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(105549), added: 108024, mode: `MaxEncodedLen`)
fn on_idle_large_msg() -> Weight {
// Proof Size summary in bytes:
// Measured: `65782`
// Estimated: `69247`
// Minimum execution time: 118_325_000 picoseconds.
Weight::from_parts(121_904_000, 0)
.saturating_add(Weight::from_parts(0, 69247))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(5))
}
}
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezframe_system
// --pezpallet=pezframe_system
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_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/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_balances
// --pezpallet=pezpallet_balances
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_bridge_grandpa
// --pezpallet=pezpallet_bridge_grandpa
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_bridge_messages
// --pezpallet=pezpallet_bridge_messages
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_bridge_relayers
// --pezpallet=pezpallet_bridge_relayers
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_bridge_teyrchains
// --pezpallet=pezpallet_bridge_teyrchains
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_collator_selection
// --pezpallet=pezpallet_collator_selection
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_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/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_multisig
// --pezpallet=pezpallet_multisig
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_session
// --pezpallet=pezpallet_session
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_timestamp
// --pezpallet=pezpallet_timestamp
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_transaction_payment
// --pezpallet=pezpallet_transaction_payment
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_utility
// --pezpallet=pezpallet_utility
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_xcm
// --pezpallet=pezpallet_xcm
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `snowbridge_pezpallet_ethereum_client`
//! Autogenerated weights for `pezsnowbridge_pezpallet_ethereum_client`
//!
//! 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: `[]`
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=snowbridge_pezpallet_ethereum_client
// --pezpallet=pezsnowbridge_pezpallet_ethereum_client
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-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 `snowbridge_pezpallet_ethereum_client`.
/// Weight functions for `pezsnowbridge_pezpallet_ethereum_client`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> snowbridge_pezpallet_ethereum_client::WeightInfo for WeightInfo<T> {
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_ethereum_client::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumBeaconClient::FinalizedBeaconStateIndex` (r:1 w:1)
/// Proof: `EthereumBeaconClient::FinalizedBeaconStateIndex` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::FinalizedBeaconStateMapping` (r:1 w:1)
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `snowbridge_pezpallet_inbound_queue`
//! Autogenerated weights for `pezsnowbridge_pezpallet_inbound_queue`
//!
//! 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: `[]`
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=snowbridge_pezpallet_inbound_queue
// --pezpallet=pezsnowbridge_pezpallet_inbound_queue
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-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 `snowbridge_pezpallet_inbound_queue`.
/// Weight functions for `pezsnowbridge_pezpallet_inbound_queue`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> snowbridge_pezpallet_inbound_queue::WeightInfo for WeightInfo<T> {
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_inbound_queue::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumInboundQueue::OperatingMode` (r:1 w:0)
/// Proof: `EthereumInboundQueue::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `snowbridge_pezpallet_inbound_queue_v2`
//! Autogenerated weights for `pezsnowbridge_pezpallet_inbound_queue_v2`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
@@ -24,14 +24,14 @@
// Executed Command:
// ./target/release/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain
// bridge-hub-zagros-dev
// --pallet=snowbridge-pezpallet-inbound-queue-v2
// --pezpallet=pezsnowbridge-pezpallet-inbound-queue-v2
// --extrinsic=*
// --wasm-execution=compiled
// --output
// pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pezpallet_inbound_queue_v2.rs
// pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezsnowbridge_pezpallet_inbound_queue_v2.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -41,9 +41,9 @@
use pezframe_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `snowbridge_pezpallet_inbound_queue_v2`.
/// Weight functions for `pezsnowbridge_pezpallet_inbound_queue_v2`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> snowbridge_pezpallet_inbound_queue_v2::WeightInfo for WeightInfo<T> {
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_inbound_queue_v2::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumInboundQueueV2::OperatingMode` (r:1 w:0)
/// Proof: `EthereumInboundQueueV2::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `snowbridge_pezpallet_outbound_queue`
//! Autogenerated weights for `pezsnowbridge_pezpallet_outbound_queue`
//!
//! 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: `[]`
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=snowbridge_pezpallet_outbound_queue
// --pezpallet=pezsnowbridge_pezpallet_outbound_queue
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-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 `snowbridge_pezpallet_outbound_queue`.
/// Weight functions for `pezsnowbridge_pezpallet_outbound_queue`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> snowbridge_pezpallet_outbound_queue::WeightInfo for WeightInfo<T> {
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_outbound_queue::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumOutboundQueue::MessageLeaves` (r:1 w:1)
/// Proof: `EthereumOutboundQueue::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `EthereumOutboundQueue::Nonce` (r:1 w:1)
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `snowbridge_pezpallet_outbound_queue_v2`
//! Autogenerated weights for `pezsnowbridge_pezpallet_outbound_queue_v2`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-03-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
@@ -25,10 +25,10 @@
// target/release/frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --runtime
// target/release/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=snowbridge_pezpallet_outbound_queue_v2
// --pezpallet=pezsnowbridge_pezpallet_outbound_queue_v2
// --extrinsic
// *
// --header=./pezcumulus/file_header.txt
@@ -44,9 +44,9 @@
use pezframe_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `snowbridge_pezpallet_outbound_queue_v2`.
/// Weight functions for `pezsnowbridge_pezpallet_outbound_queue_v2`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> snowbridge_pezpallet_outbound_queue_v2::WeightInfo for WeightInfo<T> {
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_outbound_queue_v2::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:1 w:1)
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `EthereumOutboundQueueV2::Nonce` (r:1 w:1)
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `snowbridge_pezpallet_system`
//! Autogenerated weights for `pezsnowbridge_pezpallet_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: `[]`
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=snowbridge_pezpallet_system
// --pezpallet=pezsnowbridge_pezpallet_system
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-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 `snowbridge_pezpallet_system`.
/// Weight functions for `pezsnowbridge_pezpallet_system`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> snowbridge_pezpallet_system::WeightInfo for WeightInfo<T> {
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_system::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
@@ -24,15 +24,15 @@
// Executed Command:
// target/release/pezkuwi-teyrchain
// benchmark
// pallet
// pezpallet
// --chain
// bridge-hub-pezkuwichain-dev
// --pallet=snowbridge_pezpallet_system
// --pezpallet=pezsnowbridge_pezpallet_system
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --output
// teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pezpallet_system.rs
// teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezsnowbridge_pezpallet_system.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -44,7 +44,7 @@ use core::marker::PhantomData;
/// Weight functions for `snowbridge_system`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> snowbridge_pezpallet_system_v2::WeightInfo for WeightInfo<T> {
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_system_v2::WeightInfo for WeightInfo<T> {
fn register_token() -> Weight {
// Proof Size summary in bytes:
// Measured: `256`
@@ -0,0 +1,126 @@
// 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 `pezsnowbridge_pezpallet_ethereum_client`
//!
//! 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: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
// Executed Command:
// frame-omni-bencher
// v1
// benchmark
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pezpallet=pezsnowbridge_pezpallet_ethereum_client
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
// --steps=50
// --repeat=20
// --heap-pages=4096
// --no-storage-info
// --no-min-squares
// --no-median-slopes
#![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 `pezsnowbridge_pezpallet_ethereum_client`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_ethereum_client::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumBeaconClient::FinalizedBeaconStateIndex` (r:1 w:1)
/// Proof: `EthereumBeaconClient::FinalizedBeaconStateIndex` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::FinalizedBeaconStateMapping` (r:1 w:1)
/// Proof: `EthereumBeaconClient::FinalizedBeaconStateMapping` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::NextSyncCommittee` (r:0 w:1)
/// Proof: `EthereumBeaconClient::NextSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::InitialCheckpointRoot` (r:0 w:1)
/// Proof: `EthereumBeaconClient::InitialCheckpointRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::ValidatorsRoot` (r:0 w:1)
/// Proof: `EthereumBeaconClient::ValidatorsRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:0 w:1)
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::CurrentSyncCommittee` (r:0 w:1)
/// Proof: `EthereumBeaconClient::CurrentSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:0 w:1)
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
fn force_checkpoint() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3501`
// Minimum execution time: 105_684_862_000 picoseconds.
Weight::from_parts(105_818_568_000, 0)
.saturating_add(Weight::from_parts(0, 3501))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(8))
}
/// Storage: `EthereumBeaconClient::OperatingMode` (r:1 w:0)
/// Proof: `EthereumBeaconClient::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:1 w:0)
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::NextSyncCommittee` (r:1 w:0)
/// Proof: `EthereumBeaconClient::NextSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::CurrentSyncCommittee` (r:1 w:0)
/// Proof: `EthereumBeaconClient::CurrentSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::ValidatorsRoot` (r:1 w:0)
/// Proof: `EthereumBeaconClient::ValidatorsRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::LatestSyncCommitteeUpdatePeriod` (r:1 w:0)
/// Proof: `EthereumBeaconClient::LatestSyncCommitteeUpdatePeriod` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
fn submit() -> Weight {
// Proof Size summary in bytes:
// Measured: `92738`
// Estimated: `93857`
// Minimum execution time: 27_295_666_000 picoseconds.
Weight::from_parts(27_351_060_000, 0)
.saturating_add(Weight::from_parts(0, 93857))
.saturating_add(T::DbWeight::get().reads(7))
}
/// Storage: `EthereumBeaconClient::OperatingMode` (r:1 w:0)
/// Proof: `EthereumBeaconClient::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:1 w:0)
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::NextSyncCommittee` (r:1 w:1)
/// Proof: `EthereumBeaconClient::NextSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::CurrentSyncCommittee` (r:1 w:0)
/// Proof: `EthereumBeaconClient::CurrentSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::ValidatorsRoot` (r:1 w:0)
/// Proof: `EthereumBeaconClient::ValidatorsRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::LatestSyncCommitteeUpdatePeriod` (r:1 w:1)
/// Proof: `EthereumBeaconClient::LatestSyncCommitteeUpdatePeriod` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
fn submit_with_sync_committee() -> Weight {
// Proof Size summary in bytes:
// Measured: `92738`
// Estimated: `93857`
// Minimum execution time: 133_134_525_000 picoseconds.
Weight::from_parts(133_396_722_000, 0)
.saturating_add(Weight::from_parts(0, 93857))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -0,0 +1,79 @@
// 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 `pezsnowbridge_pezpallet_inbound_queue`
//!
//! 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: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
// Executed Command:
// frame-omni-bencher
// v1
// benchmark
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pezpallet=pezsnowbridge_pezpallet_inbound_queue
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
// --steps=50
// --repeat=20
// --heap-pages=4096
// --no-storage-info
// --no-min-squares
// --no-median-slopes
#![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 `pezsnowbridge_pezpallet_inbound_queue`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_inbound_queue::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumInboundQueue::OperatingMode` (r:1 w:0)
/// Proof: `EthereumInboundQueue::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:1 w:0)
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
/// Proof: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
/// Storage: `EthereumInboundQueue::Nonce` (r:1 w:1)
/// Proof: `EthereumInboundQueue::Nonce` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn submit() -> Weight {
// Proof Size summary in bytes:
// Measured: `657`
// Estimated: `4122`
// Minimum execution time: 167_375_000 picoseconds.
Weight::from_parts(171_989_000, 0)
.saturating_add(Weight::from_parts(0, 4122))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -0,0 +1,71 @@
// 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 `pezsnowbridge_pezpallet_inbound_queue_v2`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `Mac`, CPU: `<UNKNOWN>`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("bridge-hub-zagros-dev")`, DB CACHE: 1024
// Executed Command:
// ./target/release/pezkuwi-teyrchain
// benchmark
// pezpallet
// --chain
// bridge-hub-zagros-dev
// --pezpallet=pezsnowbridge-pezpallet-inbound-queue-v2
// --extrinsic=*
// --wasm-execution=compiled
// --output
// pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezsnowbridge_pezpallet_inbound_queue_v2.rs
#![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 `pezsnowbridge_pezpallet_inbound_queue_v2`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_inbound_queue_v2::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumInboundQueueV2::OperatingMode` (r:1 w:0)
/// Proof: `EthereumInboundQueueV2::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:1 w:0)
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
/// Proof: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
/// Storage: `EthereumInboundQueueV2::NonceBitmap` (r:1 w:1)
/// Proof: `EthereumInboundQueueV2::NonceBitmap` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `TeyrchainInfo::TeyrchainId` (r:1 w:0)
/// Proof: `TeyrchainInfo::TeyrchainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `BridgeRelayers::RelayerRewards` (r:1 w:1)
/// Proof: `BridgeRelayers::RelayerRewards` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)
fn submit() -> Weight {
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `3774`
// Minimum execution time: 59_000_000 picoseconds.
Weight::from_parts(60_000_000, 0)
.saturating_add(Weight::from_parts(0, 3774))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -0,0 +1,93 @@
// 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 `pezsnowbridge_pezpallet_outbound_queue`
//!
//! 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: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
// Executed Command:
// frame-omni-bencher
// v1
// benchmark
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pezpallet=pezsnowbridge_pezpallet_outbound_queue
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
// --steps=50
// --repeat=20
// --heap-pages=4096
// --no-storage-info
// --no-min-squares
// --no-median-slopes
#![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 `pezsnowbridge_pezpallet_outbound_queue`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_outbound_queue::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumOutboundQueue::MessageLeaves` (r:1 w:1)
/// Proof: `EthereumOutboundQueue::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `EthereumOutboundQueue::Nonce` (r:1 w:1)
/// Proof: `EthereumOutboundQueue::Nonce` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
/// Storage: `EthereumOutboundQueue::Messages` (r:1 w:1)
/// Proof: `EthereumOutboundQueue::Messages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn do_process_message() -> Weight {
// Proof Size summary in bytes:
// Measured: `80`
// Estimated: `3513`
// Minimum execution time: 34_948_000 picoseconds.
Weight::from_parts(35_561_000, 0)
.saturating_add(Weight::from_parts(0, 3513))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `EthereumOutboundQueue::MessageLeaves` (r:1 w:0)
/// Proof: `EthereumOutboundQueue::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn commit() -> Weight {
// Proof Size summary in bytes:
// Measured: `1057`
// Estimated: `2542`
// Minimum execution time: 29_045_000 picoseconds.
Weight::from_parts(29_579_000, 0)
.saturating_add(Weight::from_parts(0, 2542))
.saturating_add(T::DbWeight::get().reads(1))
}
/// Storage: `EthereumOutboundQueue::MessageLeaves` (r:1 w:0)
/// Proof: `EthereumOutboundQueue::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn commit_single() -> Weight {
// Proof Size summary in bytes:
// Measured: `64`
// Estimated: `1549`
// Minimum execution time: 9_471_000 picoseconds.
Weight::from_parts(9_940_000, 0)
.saturating_add(Weight::from_parts(0, 1549))
.saturating_add(T::DbWeight::get().reads(1))
}
}
@@ -0,0 +1,139 @@
// 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 `pezsnowbridge_pezpallet_outbound_queue_v2`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-03-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `yangdebijibendiannao.local`, CPU: `<UNKNOWN>`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
// Executed Command:
// target/release/frame-omni-bencher
// v1
// benchmark
// pezpallet
// --runtime
// target/release/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pezpallet=pezsnowbridge_pezpallet_outbound_queue_v2
// --extrinsic
// *
// --header=./pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
// --extra
#![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 `pezsnowbridge_pezpallet_outbound_queue_v2`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_outbound_queue_v2::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:1 w:1)
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `EthereumOutboundQueueV2::Nonce` (r:1 w:1)
/// Proof: `EthereumOutboundQueueV2::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
/// Storage: `EthereumOutboundQueueV2::Messages` (r:1 w:1)
/// Proof: `EthereumOutboundQueueV2::Messages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `EthereumOutboundQueueV2::PendingOrders` (r:0 w:1)
/// Proof: `EthereumOutboundQueueV2::PendingOrders` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
fn do_process_message() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `1527`
// Minimum execution time: 18_000_000 picoseconds.
Weight::from_parts(19_000_000, 0)
.saturating_add(Weight::from_parts(0, 1527))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:1 w:0)
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn commit() -> Weight {
// Proof Size summary in bytes:
// Measured: `1128`
// Estimated: `2613`
// Minimum execution time: 25_000_000 picoseconds.
Weight::from_parts(26_000_000, 0)
.saturating_add(Weight::from_parts(0, 2613))
.saturating_add(T::DbWeight::get().reads(1))
}
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:1 w:0)
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn commit_single() -> Weight {
// Proof Size summary in bytes:
// Measured: `135`
// Estimated: `1620`
// Minimum execution time: 9_000_000 picoseconds.
Weight::from_parts(10_000_000, 0)
.saturating_add(Weight::from_parts(0, 1620))
.saturating_add(T::DbWeight::get().reads(1))
}
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:0 w:1)
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `EthereumOutboundQueueV2::Messages` (r:0 w:1)
/// Proof: `EthereumOutboundQueueV2::Messages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn on_initialize() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0_000 picoseconds.
Weight::from_parts(1_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `EthereumOutboundQueueV2::Nonce` (r:1 w:1)
/// Proof: `EthereumOutboundQueueV2::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
/// Storage: `EthereumOutboundQueueV2::PendingOrders` (r:0 w:32)
/// Proof: `EthereumOutboundQueueV2::PendingOrders` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:0 w:1)
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `EthereumOutboundQueueV2::Messages` (r:0 w:1)
/// Proof: `EthereumOutboundQueueV2::Messages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn process() -> Weight {
// Proof Size summary in bytes:
// Measured: `113`
// Estimated: `1493`
// Minimum execution time: 502_000_000 picoseconds.
Weight::from_parts(521_000_000, 0)
.saturating_add(Weight::from_parts(0, 1493))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(35))
}
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:1 w:0)
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
/// Proof: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
/// Storage: `EthereumOutboundQueueV2::PendingOrders` (r:1 w:1)
/// Proof: `EthereumOutboundQueueV2::PendingOrders` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
fn submit_delivery_receipt() -> Weight {
// Proof Size summary in bytes:
// Measured: `320`
// Estimated: `3785`
// Minimum execution time: 67_000_000 picoseconds.
Weight::from_parts(68_000_000, 0)
.saturating_add(Weight::from_parts(0, 3785))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -0,0 +1,161 @@
// 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 `pezsnowbridge_pezpallet_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: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
// Executed Command:
// frame-omni-bencher
// v1
// benchmark
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pezpallet=pezsnowbridge_pezpallet_system
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
// --wasm-execution=compiled
// --steps=50
// --repeat=20
// --heap-pages=4096
// --no-storage-info
// --no-min-squares
// --no-median-slopes
#![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 `pezsnowbridge_pezpallet_system`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_system::WeightInfo for WeightInfo<T> {
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
fn upgrade() -> Weight {
// Proof Size summary in bytes:
// Measured: `218`
// Estimated: `3601`
// Minimum execution time: 38_129_000 picoseconds.
Weight::from_parts(39_195_000, 0)
.saturating_add(Weight::from_parts(0, 3601))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
fn set_operating_mode() -> Weight {
// Proof Size summary in bytes:
// Measured: `218`
// Estimated: `3601`
// Minimum execution time: 29_658_000 picoseconds.
Weight::from_parts(30_447_000, 0)
.saturating_add(Weight::from_parts(0, 3601))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::PricingParameters` (r:0 w:1)
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
fn set_pricing_parameters() -> Weight {
// Proof Size summary in bytes:
// Measured: `218`
// Estimated: `3601`
// Minimum execution time: 34_149_000 picoseconds.
Weight::from_parts(35_016_000, 0)
.saturating_add(Weight::from_parts(0, 3601))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
fn set_token_transfer_fees() -> Weight {
// Proof Size summary in bytes:
// Measured: `218`
// Estimated: `3601`
// Minimum execution time: 31_403_000 picoseconds.
Weight::from_parts(32_813_000, 0)
.saturating_add(Weight::from_parts(0, 3601))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `TeyrchainInfo::TeyrchainId` (r:1 w:0)
/// Proof: `TeyrchainInfo::TeyrchainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::ForeignToNativeId` (r:1 w:1)
/// Proof: `EthereumSystem::ForeignToNativeId` (`max_values`: None, `max_size`: Some(650), added: 3125, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
/// Storage: `EthereumOutboundQueue::OperatingMode` (r:1 w:0)
/// Proof: `EthereumOutboundQueue::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
/// Storage: `MessageQueue::Pages` (r:0 w:1)
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
/// Storage: `EthereumSystem::NativeToForeignId` (r:0 w:1)
/// Proof: `EthereumSystem::NativeToForeignId` (`max_values`: None, `max_size`: Some(650), added: 3125, mode: `MaxEncodedLen`)
fn register_token() -> Weight {
// Proof Size summary in bytes:
// Measured: `293`
// Estimated: `4115`
// Minimum execution time: 55_903_000 picoseconds.
Weight::from_parts(58_248_000, 0)
.saturating_add(Weight::from_parts(0, 4115))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
}
@@ -0,0 +1,110 @@
// 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 `snowbridge_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-10-09, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `crake.local`, CPU: `<UNKNOWN>`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-pezkuwichain-dev"), DB CACHE: 1024
// Executed Command:
// target/release/pezkuwi-teyrchain
// benchmark
// pezpallet
// --chain
// bridge-hub-pezkuwichain-dev
// --pezpallet=pezsnowbridge_pezpallet_system
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --output
// teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezsnowbridge_pezpallet_system.rs
#![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 `snowbridge_system`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_system_v2::WeightInfo for WeightInfo<T> {
fn register_token() -> Weight {
// Proof Size summary in bytes:
// Measured: `256`
// Estimated: `6044`
// Minimum execution time: 45_000_000 picoseconds.
Weight::from_parts(45_000_000, 6044)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: TeyrchainInfo TeyrchainId (r:1 w:0)
/// Proof: TeyrchainInfo TeyrchainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: EthereumOutboundQueue PezpalletOperatingMode (r:1 w:0)
/// Proof: EthereumOutboundQueue PezpalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, 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: MessageQueue Pages (r:0 w:1)
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)
fn upgrade() -> Weight {
// Proof Size summary in bytes:
// Measured: `80`
// Estimated: `3517`
// Minimum execution time: 47_000_000 picoseconds.
Weight::from_parts(47_000_000, 0)
.saturating_add(Weight::from_parts(0, 3517))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: TeyrchainInfo TeyrchainId (r:1 w:0)
/// Proof: TeyrchainInfo TeyrchainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: EthereumOutboundQueue PezpalletOperatingMode (r:1 w:0)
/// Proof: EthereumOutboundQueue PezpalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, 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: MessageQueue Pages (r:0 w:1)
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)
fn set_operating_mode() -> Weight {
// Proof Size summary in bytes:
// Measured: `80`
// Estimated: `3517`
// Minimum execution time: 30_000_000 picoseconds.
Weight::from_parts(30_000_000, 0)
.saturating_add(Weight::from_parts(0, 3517))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
fn add_tip() -> Weight {
// Proof Size summary in bytes:
// Measured: `80`
// Estimated: `3517`
// Minimum execution time: 30_000_000 picoseconds.
Weight::from_parts(30_000_000, 0)
.saturating_add(Weight::from_parts(0, 3517))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_xcm_benchmarks::fungible
// --pezpallet=pezpallet_xcm_benchmarks::fungible
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm
// --wasm-execution=compiled
@@ -25,10 +25,10 @@
// frame-omni-bencher
// v1
// benchmark
// pallet
// pezpallet
// --extrinsic=*
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
// --pallet=pezpallet_xcm_benchmarks::generic
// --pezpallet=pezpallet_xcm_benchmarks::generic
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm
// --wasm-execution=compiled
@@ -127,7 +127,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>,
);
@@ -161,7 +161,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) and relay treasury pallet
// Parent, its pluralities (i.e. governance bodies) and relay treasury pezpallet
// get free execution.
AllowExplicitUnpaidExecutionFrom<(
ParentOrParentsPlurality,