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:
+10
-10
@@ -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 bp_relayers::RewardsAccountParams;
|
||||
@@ -40,7 +40,7 @@ parameter_types! {
|
||||
pub storage DeliveryRewardInBalance: u64 = 1_000_000;
|
||||
}
|
||||
|
||||
/// Add GRANDPA bridge pallet to track Zagros relay chain.
|
||||
/// Add GRANDPA bridge pezpallet to track Zagros relay chain.
|
||||
pub type BridgeGrandpaZagrosInstance = pezpallet_bridge_grandpa::Instance3;
|
||||
impl pezpallet_bridge_grandpa::Config<BridgeGrandpaZagrosInstance> for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
@@ -51,7 +51,7 @@ impl pezpallet_bridge_grandpa::Config<BridgeGrandpaZagrosInstance> for Runtime {
|
||||
type WeightInfo = weights::pezpallet_bridge_grandpa::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
/// Add teyrchain bridge pallet to track Zagros BridgeHub teyrchain
|
||||
/// Add teyrchain bridge pezpallet to track Zagros BridgeHub teyrchain
|
||||
pub type BridgeTeyrchainZagrosInstance = pezpallet_bridge_teyrchains::Instance3;
|
||||
impl pezpallet_bridge_teyrchains::Config<BridgeTeyrchainZagrosInstance> for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
@@ -72,7 +72,7 @@ impl pezpallet_bridge_relayers::Config<RelayersForLegacyLaneIdsMessagesInstance>
|
||||
type RewardBalance = Balance;
|
||||
type Reward = RewardsAccountParams<bp_messages::LegacyLaneId>;
|
||||
type PaymentProcedure = bp_relayers::PayRewardFromAccount<
|
||||
pezpallet_balances::Pallet<Runtime>,
|
||||
pezpallet_balances::Pezpallet<Runtime>,
|
||||
AccountId,
|
||||
bp_messages::LegacyLaneId,
|
||||
Self::RewardBalance,
|
||||
@@ -96,7 +96,7 @@ impl pezpallet_bridge_relayers::Config<RelayersForPermissionlessLanesInstance> f
|
||||
type RewardBalance = Balance;
|
||||
type Reward = RewardsAccountParams<bp_messages::HashedLaneId>;
|
||||
type PaymentProcedure = bp_relayers::PayRewardFromAccount<
|
||||
pezpallet_balances::Pallet<Runtime>,
|
||||
pezpallet_balances::Pezpallet<Runtime>,
|
||||
AccountId,
|
||||
bp_messages::HashedLaneId,
|
||||
Self::RewardBalance,
|
||||
@@ -113,7 +113,7 @@ impl pezpallet_bridge_relayers::Config<RelayersForPermissionlessLanesInstance> f
|
||||
type WeightInfo = weights::pezpallet_bridge_relayers_permissionless_lanes::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
/// Add GRANDPA bridge pallet to track Pezkuwichain Bulletin chain.
|
||||
/// Add GRANDPA bridge pezpallet to track Pezkuwichain Bulletin chain.
|
||||
pub type BridgeGrandpaPezkuwichainBulletinInstance = pezpallet_bridge_grandpa::Instance4;
|
||||
impl pezpallet_bridge_grandpa::Config<BridgeGrandpaPezkuwichainBulletinInstance> for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
@@ -121,13 +121,13 @@ impl pezpallet_bridge_grandpa::Config<BridgeGrandpaPezkuwichainBulletinInstance>
|
||||
type MaxFreeHeadersPerBlock = ConstU32<4>;
|
||||
type FreeHeadersInterval = ConstU32<5>;
|
||||
type HeadersToKeep = RelayChainHeadersToKeep;
|
||||
// Technically this is incorrect - we have two pallet instances and ideally we shall
|
||||
// Technically this is incorrect - we have two pezpallet instances and ideally we shall
|
||||
// benchmark every instance separately. But the benchmarking engine has a flaw - it
|
||||
// messes with components. E.g. in Kusama maximal validators count is 1024 and in
|
||||
// Bulletin chain it is 100. But benchmarking engine runs Bulletin benchmarks using
|
||||
// components range, computed for Kusama => it causes an error.
|
||||
//
|
||||
// In practice, however, GRANDPA pallet works the same way for all bridged chains, so
|
||||
// In practice, however, GRANDPA pezpallet works the same way for all bridged chains, so
|
||||
// weights are also the same for both bridges.
|
||||
type WeightInfo = weights::pezpallet_bridge_grandpa::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ use xcm::{
|
||||
use xcm_builder::{BridgeBlobDispatcher, ParentIsPreset, SiblingTeyrchainConvertsVia};
|
||||
|
||||
parameter_types! {
|
||||
/// Interior location (relative to this runtime) of the with-PezkuwichainBulletin messages pallet.
|
||||
/// Interior location (relative to this runtime) of the with-PezkuwichainBulletin messages pezpallet.
|
||||
pub BridgePezkuwichainToPezkuwichainBulletinMessagesPalletInstance: InteriorLocation = [
|
||||
PalletInstance(<BridgePezkuwichainBulletinMessages as PalletInfoAccess>::index() as u8)
|
||||
].into();
|
||||
|
||||
+15
-15
@@ -51,7 +51,7 @@ use xcm::prelude::{GlobalConsensus, InteriorLocation, Location, Teyrchain};
|
||||
pub type SnowbridgeExporter = EthereumBlobExporter<
|
||||
UniversalLocation,
|
||||
EthereumNetwork,
|
||||
snowbridge_pezpallet_outbound_queue::Pallet<Runtime>,
|
||||
pezsnowbridge_pezpallet_outbound_queue::Pezpallet<Runtime>,
|
||||
pezsnowbridge_core::AgentIdOf,
|
||||
EthereumSystem,
|
||||
>;
|
||||
@@ -73,9 +73,9 @@ parameter_types! {
|
||||
pub EthereumUniversalLocation: InteriorLocation = [GlobalConsensus(EthereumNetwork::get())].into();
|
||||
}
|
||||
|
||||
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 = XcmRouter;
|
||||
@@ -98,12 +98,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_outbound_queue::Config for Runtime {
|
||||
impl pezsnowbridge_pezpallet_outbound_queue::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type Hashing = Keccak256;
|
||||
type MessageQueue = MessageQueue;
|
||||
@@ -113,7 +113,7 @@ impl snowbridge_pezpallet_outbound_queue::Config for Runtime {
|
||||
type GasMeter = crate::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;
|
||||
}
|
||||
@@ -186,24 +186,24 @@ parameter_types! {
|
||||
};
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
impl snowbridge_pezpallet_ethereum_client::Config for Runtime {
|
||||
impl pezsnowbridge_pezpallet_ethereum_client::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type ForkVersions = ChainForkVersions;
|
||||
// Free consensus update every epoch. Works out to be 225 updates per day.
|
||||
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;
|
||||
@@ -217,11 +217,11 @@ pub mod benchmark_helpers {
|
||||
use crate::{EthereumBeaconClient, Runtime, RuntimeOrigin};
|
||||
use codec::Encode;
|
||||
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 pezsnowbridge_pezpallet_inbound_queue::BenchmarkHelper;
|
||||
use pezsnowbridge_pezpallet_inbound_queue_fixtures::register_token::make_register_token_message;
|
||||
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(
|
||||
@@ -249,7 +249,7 @@ 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))
|
||||
}
|
||||
|
||||
@@ -156,12 +156,12 @@ pub type Migrations = (
|
||||
// unreleased
|
||||
pezcumulus_pezpallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
pezcumulus_pezpallet_xcmp_queue::migration::v5::MigrateV4ToV5<Runtime>,
|
||||
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>,
|
||||
pezpallet_bridge_messages::migration::v1::MigrationToV1<
|
||||
Runtime,
|
||||
bridge_to_zagros_config::WithBridgeHubZagrosMessagesInstance,
|
||||
@@ -312,9 +312,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 extensions of this pallet.
|
||||
/// Weight information for the extensions of this pezpallet.
|
||||
type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo<Runtime>;
|
||||
/// Block & extrinsics weights: base values and limits.
|
||||
type BlockWeights = RuntimeBlockWeights;
|
||||
@@ -393,7 +393,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;
|
||||
@@ -441,7 +441,7 @@ impl pezpallet_message_queue::Config for Runtime {
|
||||
EthereumOutboundQueue,
|
||||
>;
|
||||
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 }>;
|
||||
@@ -558,7 +558,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 {
|
||||
@@ -599,7 +599,7 @@ construct_runtime!(
|
||||
Utility: pezpallet_utility = 40,
|
||||
Multisig: pezpallet_multisig = 36,
|
||||
|
||||
// Bridge relayers pallet, used by several bridges here.
|
||||
// Bridge relayers pezpallet, used by several bridges here.
|
||||
BridgeRelayers: pezpallet_bridge_relayers = 47,
|
||||
|
||||
// With-Zagros GRANDPA bridge module.
|
||||
@@ -608,7 +608,7 @@ construct_runtime!(
|
||||
BridgeZagrosTeyrchains: pezpallet_bridge_teyrchains::<Instance3> = 49,
|
||||
// With-Zagros messaging bridge module.
|
||||
BridgeZagrosMessages: pezpallet_bridge_messages::<Instance3> = 51,
|
||||
// With-Zagros bridge hub pallet.
|
||||
// With-Zagros bridge hub pezpallet.
|
||||
XcmOverBridgeHubZagros: pezpallet_xcm_bridge_hub::<Instance1> = 52,
|
||||
|
||||
// With-Pezkuwichain Bulletin GRANDPA bridge module.
|
||||
@@ -623,16 +623,16 @@ construct_runtime!(
|
||||
// will be used for both Pezkuwichain and Pezkuwi Bulletin chains AND this name affects runtime
|
||||
// storage keys, used by this runtime and the relayer process.
|
||||
BridgePezkuwiBulletinMessages: pezpallet_bridge_messages::<Instance4> = 61,
|
||||
// With-Pezkuwichain Bulletin bridge hub pallet.
|
||||
// With-Pezkuwichain Bulletin bridge hub pezpallet.
|
||||
XcmOverPezkuwiBulletin: pezpallet_xcm_bridge_hub::<Instance2> = 62,
|
||||
|
||||
// Bridge relayers pallet, used by several bridges here (another instance).
|
||||
// Bridge relayers pezpallet, used by several bridges here (another instance).
|
||||
BridgeRelayersForPermissionlessLanes: pezpallet_bridge_relayers::<Instance2> = 63,
|
||||
|
||||
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,
|
||||
|
||||
// Message Queue. Importantly, is registered last so that messages are processed after
|
||||
// the `on_initialize` hooks of bridging pallets.
|
||||
@@ -640,11 +640,11 @@ construct_runtime!(
|
||||
}
|
||||
);
|
||||
|
||||
/// Proper alias for bridge GRANDPA pallet used to bridge with the bulletin chain.
|
||||
/// Proper alias for bridge GRANDPA pezpallet used to bridge with the bulletin chain.
|
||||
pub type BridgePezkuwichainBulletinGrandpa = BridgePezkuwiBulletinGrandpa;
|
||||
/// Proper alias for bridge messages pallet used to bridge with the bulletin chain.
|
||||
/// Proper alias for bridge messages pezpallet used to bridge with the bulletin chain.
|
||||
pub type BridgePezkuwichainBulletinMessages = BridgePezkuwiBulletinMessages;
|
||||
/// Proper alias for bridge messages pallet used to bridge with the bulletin chain.
|
||||
/// Proper alias for bridge messages pezpallet used to bridge with the bulletin chain.
|
||||
pub type XcmOverPezkuwichainBulletin = XcmOverPezkuwiBulletin;
|
||||
|
||||
pezbridge_runtime_common::generate_bridge_reject_obsolete_headers_and_messages! {
|
||||
@@ -704,10 +704,10 @@ mod benches {
|
||||
[pezpallet_bridge_relayers, Legacy]
|
||||
[pezpallet_bridge_relayers, PermissionlessLanes]
|
||||
// Ethereum Bridge
|
||||
[snowbridge_pezpallet_inbound_queue, EthereumInboundQueue]
|
||||
[snowbridge_pezpallet_outbound_queue, EthereumOutboundQueue]
|
||||
[snowbridge_pezpallet_system, EthereumSystem]
|
||||
[snowbridge_pezpallet_ethereum_client, EthereumBeaconClient]
|
||||
[pezsnowbridge_pezpallet_inbound_queue, EthereumInboundQueue]
|
||||
[pezsnowbridge_pezpallet_outbound_queue, EthereumOutboundQueue]
|
||||
[pezsnowbridge_pezpallet_system, EthereumSystem]
|
||||
[pezsnowbridge_pezpallet_ethereum_client, EthereumBeaconClient]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1016,17 +1016,17 @@ 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_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)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1057,23 +1057,23 @@ 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 ZagrosFinality = BridgeZagrosGrandpa;
|
||||
type WithinZagros = pezpallet_bridge_teyrchains::benchmarking::Pallet::<Runtime, bridge_common_config::BridgeTeyrchainZagrosInstance>;
|
||||
type PezkuwichainToZagros = pezpallet_bridge_messages::benchmarking::Pallet ::<Runtime, bridge_to_zagros_config::WithBridgeHubZagrosMessagesInstance>;
|
||||
type PezkuwichainToPezkuwichainBulletin = pezpallet_bridge_messages::benchmarking::Pallet ::<Runtime, bridge_to_bulletin_config::WithPezkuwichainBulletinMessagesInstance>;
|
||||
type WithinZagros = pezpallet_bridge_teyrchains::benchmarking::Pezpallet::<Runtime, bridge_common_config::BridgeTeyrchainZagrosInstance>;
|
||||
type PezkuwichainToZagros = pezpallet_bridge_messages::benchmarking::Pezpallet ::<Runtime, bridge_to_zagros_config::WithBridgeHubZagrosMessagesInstance>;
|
||||
type PezkuwichainToPezkuwichainBulletin = pezpallet_bridge_messages::benchmarking::Pezpallet ::<Runtime, bridge_to_bulletin_config::WithPezkuwichainBulletinMessagesInstance>;
|
||||
type Legacy = BridgeRelayersBench::<Runtime, bridge_common_config::RelayersForLegacyLaneIdsMessagesInstance>;
|
||||
type PermissionlessLanes = BridgeRelayersBench::<Runtime, bridge_common_config::RelayersForPermissionlessLanesInstance>;
|
||||
|
||||
@@ -1091,8 +1091,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);
|
||||
@@ -1104,7 +1104,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::*;
|
||||
@@ -1117,7 +1117,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,
|
||||
@@ -1326,13 +1326,13 @@ 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 ZagrosFinality = BridgeZagrosGrandpa;
|
||||
type WithinZagros = pezpallet_bridge_teyrchains::benchmarking::Pallet::<Runtime, bridge_common_config::BridgeTeyrchainZagrosInstance>;
|
||||
type PezkuwichainToZagros = pezpallet_bridge_messages::benchmarking::Pallet ::<Runtime, bridge_to_zagros_config::WithBridgeHubZagrosMessagesInstance>;
|
||||
type PezkuwichainToPezkuwichainBulletin = pezpallet_bridge_messages::benchmarking::Pallet ::<Runtime, bridge_to_bulletin_config::WithPezkuwichainBulletinMessagesInstance>;
|
||||
type WithinZagros = pezpallet_bridge_teyrchains::benchmarking::Pezpallet::<Runtime, bridge_common_config::BridgeTeyrchainZagrosInstance>;
|
||||
type PezkuwichainToZagros = pezpallet_bridge_messages::benchmarking::Pezpallet ::<Runtime, bridge_to_zagros_config::WithBridgeHubZagrosMessagesInstance>;
|
||||
type PezkuwichainToPezkuwichainBulletin = pezpallet_bridge_messages::benchmarking::Pezpallet ::<Runtime, bridge_to_bulletin_config::WithPezkuwichainBulletinMessagesInstance>;
|
||||
type Legacy = BridgeRelayersBench::<Runtime, bridge_common_config::RelayersForLegacyLaneIdsMessagesInstance>;
|
||||
type PermissionlessLanes = BridgeRelayersBench::<Runtime, bridge_common_config::RelayersForPermissionlessLanesInstance>;
|
||||
|
||||
@@ -1354,7 +1354,7 @@ impl_runtime_apis! {
|
||||
let bench_lane_id = <Self as BridgeMessagesConfig<bridge_to_zagros_config::WithBridgeHubZagrosMessagesInstance>>::bench_lane_id();
|
||||
use pezbp_runtime::Chain;
|
||||
let bridged_chain_id =<Self as pezpallet_bridge_messages::Config<bridge_to_zagros_config::WithBridgeHubZagrosMessagesInstance>>::BridgedChain::ID;
|
||||
pezpallet_bridge_relayers::Pallet::<Runtime, bridge_common_config::RelayersForLegacyLaneIdsMessagesInstance>::relayer_reward(
|
||||
pezpallet_bridge_relayers::Pezpallet::<Runtime, bridge_common_config::RelayersForLegacyLaneIdsMessagesInstance>::relayer_reward(
|
||||
relayer,
|
||||
bp_relayers::RewardsAccountParams::new(
|
||||
bench_lane_id,
|
||||
@@ -1451,7 +1451,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,
|
||||
};
|
||||
|
||||
|
||||
+4
-4
@@ -46,10 +46,10 @@ pub mod pezpallet_utility;
|
||||
pub mod pezpallet_xcm;
|
||||
pub mod paritydb_weights;
|
||||
pub mod rocksdb_weights;
|
||||
pub mod snowbridge_pezpallet_ethereum_client;
|
||||
pub mod snowbridge_pezpallet_inbound_queue;
|
||||
pub mod snowbridge_pezpallet_outbound_queue;
|
||||
pub mod snowbridge_pezpallet_system;
|
||||
pub mod pezsnowbridge_pezpallet_ethereum_client;
|
||||
pub mod pezsnowbridge_pezpallet_inbound_queue;
|
||||
pub mod pezsnowbridge_pezpallet_outbound_queue;
|
||||
pub mod pezsnowbridge_pezpallet_system;
|
||||
pub mod xcm;
|
||||
|
||||
pub use block_weights::constants::BlockExecutionWeight;
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+77
@@ -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: `814af52b0d43`, 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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/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: `82`
|
||||
// Estimated: `3601`
|
||||
// Minimum execution time: 2_312_000 picoseconds.
|
||||
Weight::from_parts(282_321_153, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3601))
|
||||
// Standard Error: 151_164
|
||||
.saturating_add(Weight::from_parts(333_773_743, 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())))
|
||||
}
|
||||
}
|
||||
+61
@@ -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: `814af52b0d43`, 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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/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: 4_003_000 picoseconds.
|
||||
Weight::from_parts(4_199_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
}
|
||||
}
|
||||
+258
@@ -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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/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: `4`
|
||||
// Estimated: `1497`
|
||||
// Minimum execution time: 4_512_000 picoseconds.
|
||||
Weight::from_parts(4_765_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: `80`
|
||||
// Estimated: `5487`
|
||||
// Minimum execution time: 14_700_000 picoseconds.
|
||||
Weight::from_parts(10_409_861, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5487))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_parts(957, 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: `80`
|
||||
// Estimated: `5487`
|
||||
// Minimum execution time: 12_049_000 picoseconds.
|
||||
Weight::from_parts(16_501_830, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5487))
|
||||
// Standard Error: 286
|
||||
.saturating_add(Weight::from_parts(143_661, 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: `263 + n * (1 ±0)`
|
||||
// Estimated: `3726 + n * (1 ±0)`
|
||||
// Minimum execution time: 23_682_000 picoseconds.
|
||||
Weight::from_parts(15_809_305, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3726))
|
||||
// Standard Error: 11
|
||||
.saturating_add(Weight::from_parts(2_032, 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: `115`
|
||||
// Estimated: `5487`
|
||||
// Minimum execution time: 13_463_000 picoseconds.
|
||||
Weight::from_parts(13_905_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5487))
|
||||
// Standard Error: 70_729
|
||||
.saturating_add(Weight::from_parts(91_024_339, 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: `52996`
|
||||
// Estimated: `56461`
|
||||
// Minimum execution time: 268_839_000 picoseconds.
|
||||
Weight::from_parts(273_942_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 56461))
|
||||
.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: `4`
|
||||
// Estimated: `2767`
|
||||
// Minimum execution time: 2_729_000 picoseconds.
|
||||
Weight::from_parts(2_879_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: `39`
|
||||
// Estimated: `2767`
|
||||
// Minimum execution time: 3_908_000 picoseconds.
|
||||
Weight::from_parts(4_056_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_010_000 picoseconds.
|
||||
Weight::from_parts(2_371_341, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 216
|
||||
.saturating_add(Weight::from_parts(18_290, 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: `105645`
|
||||
// Estimated: `109110`
|
||||
// Minimum execution time: 175_547_000 picoseconds.
|
||||
Weight::from_parts(179_082_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 109110))
|
||||
.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: `65714`
|
||||
// Estimated: `69179`
|
||||
// Minimum execution time: 117_753_000 picoseconds.
|
||||
Weight::from_parts(119_939_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 69179))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+5
-5
@@ -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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/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)
|
||||
|
||||
+5
-5
@@ -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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/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)
|
||||
|
||||
+5
-5
@@ -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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/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)
|
||||
|
||||
+5
-5
@@ -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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/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)
|
||||
|
||||
+126
@@ -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: `814af52b0d43`, 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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/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: `76`
|
||||
// Estimated: `3501`
|
||||
// Minimum execution time: 100_740_313_000 picoseconds.
|
||||
Weight::from_parts(100_821_746_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: `92772`
|
||||
// Estimated: `93857`
|
||||
// Minimum execution time: 25_926_518_000 picoseconds.
|
||||
Weight::from_parts(25_962_652_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: `92772`
|
||||
// Estimated: `93857`
|
||||
// Minimum execution time: 126_820_767_000 picoseconds.
|
||||
Weight::from_parts(127_012_438_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 93857))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
}
|
||||
+79
@@ -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: `814af52b0d43`, 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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/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: `586`
|
||||
// Estimated: `4051`
|
||||
// Minimum execution time: 165_953_000 picoseconds.
|
||||
Weight::from_parts(171_518_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4051))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
}
|
||||
+93
@@ -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: `814af52b0d43`, 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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/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: 33_257_000 picoseconds.
|
||||
Weight::from_parts(33_909_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_196_000 picoseconds.
|
||||
Weight::from_parts(29_668_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_364_000 picoseconds.
|
||||
Weight::from_parts(9_651_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1549))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
}
|
||||
+161
@@ -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: `814af52b0d43`, 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-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm
|
||||
// --pezpallet=pezsnowbridge_pezpallet_system
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/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: `288`
|
||||
// Estimated: `3601`
|
||||
// Minimum execution time: 42_090_000 picoseconds.
|
||||
Weight::from_parts(43_493_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: `288`
|
||||
// Estimated: `3601`
|
||||
// Minimum execution time: 34_271_000 picoseconds.
|
||||
Weight::from_parts(35_339_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: `288`
|
||||
// Estimated: `3601`
|
||||
// Minimum execution time: 38_328_000 picoseconds.
|
||||
Weight::from_parts(39_529_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: `288`
|
||||
// Estimated: `3601`
|
||||
// Minimum execution time: 36_562_000 picoseconds.
|
||||
Weight::from_parts(37_687_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: `326`
|
||||
// Estimated: `4115`
|
||||
// Minimum execution time: 56_257_000 picoseconds.
|
||||
Weight::from_parts(57_664_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4115))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights/xcm
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_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-pezkuwichain/src/weights/xcm
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -126,7 +126,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>,
|
||||
);
|
||||
|
||||
@@ -150,7 +150,7 @@ pub type Barrier = TrailingSetTopicAsId<
|
||||
// If the message is one that immediately attempts to pay for execution, then
|
||||
// allow it.
|
||||
AllowTopLevelPaidExecutionFrom<Everything>,
|
||||
// Parent, its pluralities (i.e. governance bodies), relay treasury pallet
|
||||
// Parent, its pluralities (i.e. governance bodies), relay treasury pezpallet
|
||||
// and sibling People get free execution.
|
||||
AllowExplicitUnpaidExecutionFrom<(
|
||||
ParentOrParentsPlurality,
|
||||
|
||||
Reference in New Issue
Block a user