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:
@@ -106,7 +106,7 @@ PEZKUWI_TEYRCHAIN_BINARY=~/local_bridge_testing/bin/pezkuwi-teyrchain \
|
||||
### Init bridge and run relayer between BridgeHubpezkuwichain and BridgeHubzagros
|
||||
|
||||
**Accounts of BridgeHub teyrchains:**
|
||||
- `Bob` is pallet owner of all bridge pallets
|
||||
- `Bob` is pezpallet owner of all bridge pallets
|
||||
|
||||
#### Run with script
|
||||
```
|
||||
@@ -116,15 +116,15 @@ cd <pezkuwi-sdk-git-repo-dir>
|
||||
```
|
||||
|
||||
**Check relay-chain headers relaying:**
|
||||
- pezkuwichain teyrchain: - https://pezkuwichain.io/?rpc=ws%3A%2F%2F127.0.0.1%3A8943#/chainstate - Pallet:
|
||||
- pezkuwichain teyrchain: - https://pezkuwichain.io/?rpc=ws%3A%2F%2F127.0.0.1%3A8943#/chainstate - Pezpallet:
|
||||
**bridgezagrosGrandpa** - Keys: **bestFinalized()**
|
||||
- zagros teyrchain: - https://pezkuwichain.io/?rpc=ws%3A%2F%2F127.0.0.1%3A8945#/chainstate - Pallet:
|
||||
- zagros teyrchain: - https://pezkuwichain.io/?rpc=ws%3A%2F%2F127.0.0.1%3A8945#/chainstate - Pezpallet:
|
||||
**bridgepezkuwichainGrandpa** - Keys: **bestFinalized()**
|
||||
|
||||
**Check teyrchain headers relaying:**
|
||||
- pezkuwichain teyrchain: - https://pezkuwichain.io/?rpc=ws%3A%2F%2F127.0.0.1%3A8943#/chainstate - Pallet:
|
||||
- pezkuwichain teyrchain: - https://pezkuwichain.io/?rpc=ws%3A%2F%2F127.0.0.1%3A8943#/chainstate - Pezpallet:
|
||||
**bridgezagrosTeyrchains** - Keys: **parasInfo(None)**
|
||||
- zagros teyrchain: - https://pezkuwichain.io/?rpc=ws%3A%2F%2F127.0.0.1%3A8945#/chainstate - Pallet:
|
||||
- zagros teyrchain: - https://pezkuwichain.io/?rpc=ws%3A%2F%2F127.0.0.1%3A8945#/chainstate - Pezpallet:
|
||||
**bridgepezkuwichainTeyrchains** - Keys: **parasInfo(None)**
|
||||
|
||||
### Initialize configuration for transfer asset over bridge (TYRs/WNDs)
|
||||
|
||||
@@ -114,11 +114,11 @@ pezsnowbridge-inbound-queue-primitives = { workspace = true }
|
||||
pezsnowbridge-merkle-tree = { workspace = true }
|
||||
pezsnowbridge-outbound-queue-primitives = { workspace = true }
|
||||
pezsnowbridge-outbound-queue-runtime-api = { workspace = true }
|
||||
snowbridge-pezpallet-ethereum-client = { workspace = true }
|
||||
snowbridge-pezpallet-inbound-queue = { workspace = true }
|
||||
snowbridge-pezpallet-inbound-queue-fixtures = { workspace = true }
|
||||
snowbridge-pezpallet-outbound-queue = { workspace = true }
|
||||
snowbridge-pezpallet-system = { workspace = true }
|
||||
pezsnowbridge-pezpallet-ethereum-client = { workspace = true }
|
||||
pezsnowbridge-pezpallet-inbound-queue = { workspace = true }
|
||||
pezsnowbridge-pezpallet-inbound-queue-fixtures = { workspace = true }
|
||||
pezsnowbridge-pezpallet-outbound-queue = { workspace = true }
|
||||
pezsnowbridge-pezpallet-system = { workspace = true }
|
||||
pezsnowbridge-system-runtime-api = { workspace = true }
|
||||
|
||||
bridge-hub-common = { workspace = true }
|
||||
@@ -198,11 +198,11 @@ std = [
|
||||
"pezsnowbridge-merkle-tree/std",
|
||||
"pezsnowbridge-outbound-queue-primitives/std",
|
||||
"pezsnowbridge-outbound-queue-runtime-api/std",
|
||||
"snowbridge-pezpallet-ethereum-client/std",
|
||||
"snowbridge-pezpallet-inbound-queue-fixtures/std",
|
||||
"snowbridge-pezpallet-inbound-queue/std",
|
||||
"snowbridge-pezpallet-outbound-queue/std",
|
||||
"snowbridge-pezpallet-system/std",
|
||||
"pezsnowbridge-pezpallet-ethereum-client/std",
|
||||
"pezsnowbridge-pezpallet-inbound-queue-fixtures/std",
|
||||
"pezsnowbridge-pezpallet-inbound-queue/std",
|
||||
"pezsnowbridge-pezpallet-outbound-queue/std",
|
||||
"pezsnowbridge-pezpallet-system/std",
|
||||
"pezsnowbridge-system-runtime-api/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-block-builder/std",
|
||||
@@ -290,11 +290,11 @@ runtime-benchmarks = [
|
||||
"pezsnowbridge-merkle-tree/runtime-benchmarks",
|
||||
"pezsnowbridge-outbound-queue-primitives/runtime-benchmarks",
|
||||
"pezsnowbridge-outbound-queue-runtime-api/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-ethereum-client/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-outbound-queue/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-system/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-ethereum-client/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-inbound-queue/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-outbound-queue/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-system/runtime-benchmarks",
|
||||
"pezsnowbridge-runtime-test-common/runtime-benchmarks",
|
||||
"pezsnowbridge-system-runtime-api/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
@@ -347,10 +347,10 @@ try-runtime = [
|
||||
"pezpallet-xcm/try-runtime",
|
||||
"pezkuwi-runtime-common/try-runtime",
|
||||
"pezsnowbridge-inbound-queue-primitives/try-runtime",
|
||||
"snowbridge-pezpallet-ethereum-client/try-runtime",
|
||||
"snowbridge-pezpallet-inbound-queue/try-runtime",
|
||||
"snowbridge-pezpallet-outbound-queue/try-runtime",
|
||||
"snowbridge-pezpallet-system/try-runtime",
|
||||
"pezsnowbridge-pezpallet-ethereum-client/try-runtime",
|
||||
"pezsnowbridge-pezpallet-inbound-queue/try-runtime",
|
||||
"pezsnowbridge-pezpallet-outbound-queue/try-runtime",
|
||||
"pezsnowbridge-pezpallet-system/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"teyrchain-info/try-runtime",
|
||||
"teyrchains-common/try-runtime",
|
||||
|
||||
+5
-5
@@ -85,17 +85,17 @@ pub type Address = MultiAddress<AccountId, ()>;
|
||||
/// Identifier of BridgeHubPezkuwichain in the Pezkuwichain relay chain.
|
||||
pub const BRIDGE_HUB_PEZKUWICHAIN_TEYRCHAIN_ID: u32 = 1002;
|
||||
|
||||
/// Name of the With-BridgeHubPezkuwichain messages pallet instance that is deployed at bridged
|
||||
/// Name of the With-BridgeHubPezkuwichain messages pezpallet instance that is deployed at bridged
|
||||
/// chains.
|
||||
pub const WITH_BRIDGE_HUB_PEZKUWICHAIN_MESSAGES_PALLET_NAME: &str = "BridgePezkuwichainMessages";
|
||||
|
||||
/// Name of the With-BridgeHubPezkuwichain bridge-relayers pallet instance that is deployed at
|
||||
/// Name of the With-BridgeHubPezkuwichain bridge-relayers pezpallet instance that is deployed at
|
||||
/// bridged chains.
|
||||
pub const WITH_BRIDGE_HUB_PEZKUWICHAIN_RELAYERS_PALLET_NAME: &str = "BridgeRelayers";
|
||||
|
||||
/// Pallet index of `BridgeZagrosMessages: pezpallet_bridge_messages::<Instance3>`.
|
||||
/// Pezpallet index of `BridgeZagrosMessages: pezpallet_bridge_messages::<Instance3>`.
|
||||
pub const WITH_BRIDGE_PEZKUWICHAIN_TO_ZAGROS_MESSAGES_PALLET_INDEX: u8 = 51;
|
||||
/// Pallet index of `BridgePezkuwiBulletinMessages: pezpallet_bridge_messages::<Instance4>`.
|
||||
/// Pezpallet index of `BridgePezkuwiBulletinMessages: pezpallet_bridge_messages::<Instance4>`.
|
||||
pub const WITH_BRIDGE_PEZKUWICHAIN_TO_BULLETIN_MESSAGES_PALLET_INDEX: u8 = 61;
|
||||
|
||||
decl_bridge_finality_runtime_apis!(bridge_hub_pezkuwichain);
|
||||
@@ -119,7 +119,7 @@ pezframe_support::parameter_types! {
|
||||
/// Wrapper over `BridgeHubPezkuwichain`'s `RuntimeCall` that can be used without a runtime.
|
||||
#[derive(Decode, Encode)]
|
||||
pub enum RuntimeCall {
|
||||
/// Points to the `pezpallet_xcm_bridge_hub` pallet instance for `BridgeHubZagros`.
|
||||
/// Points to the `pezpallet_xcm_bridge_hub` pezpallet instance for `BridgeHubZagros`.
|
||||
#[codec(index = 52)]
|
||||
XcmOverBridgeHubZagros(bp_xcm_bridge_hub::XcmBridgeHubCall),
|
||||
}
|
||||
|
||||
+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,
|
||||
|
||||
+5
-5
@@ -26,7 +26,7 @@ use pezbridge_hub_pezkuwichain_runtime::{
|
||||
use codec::{Decode, Encode};
|
||||
use pezcumulus_primitives_core::XcmError::FailedToTransactAsset;
|
||||
use pezframe_support::parameter_types;
|
||||
use snowbridge_pezpallet_ethereum_client::WeightInfo;
|
||||
use pezsnowbridge_pezpallet_ethereum_client::WeightInfo;
|
||||
use pezsp_core::H160;
|
||||
use pezsp_keyring::Sr25519Keyring::Alice;
|
||||
use pezsp_runtime::{
|
||||
@@ -97,9 +97,9 @@ pub fn transfer_token_to_ethereum_insufficient_fund() {
|
||||
fn max_message_queue_service_weight_is_more_than_beacon_extrinsic_weights() {
|
||||
let max_message_queue_weight = MessageQueueServiceWeight::get();
|
||||
let force_checkpoint =
|
||||
<Runtime as snowbridge_pezpallet_ethereum_client::Config>::WeightInfo::force_checkpoint();
|
||||
<Runtime as pezsnowbridge_pezpallet_ethereum_client::Config>::WeightInfo::force_checkpoint();
|
||||
let submit_checkpoint =
|
||||
<Runtime as snowbridge_pezpallet_ethereum_client::Config>::WeightInfo::submit();
|
||||
<Runtime as pezsnowbridge_pezpallet_ethereum_client::Config>::WeightInfo::submit();
|
||||
max_message_queue_weight.all_gt(force_checkpoint);
|
||||
max_message_queue_weight.all_gt(submit_checkpoint);
|
||||
}
|
||||
@@ -123,7 +123,7 @@ fn ethereum_to_pezkuwi_message_extrinsics_work() {
|
||||
}
|
||||
|
||||
/// Tests that the digest items are as expected when a Ethereum Outbound message is received.
|
||||
/// If the MessageQueue pallet is configured before (i.e. the MessageQueue pallet is listed before
|
||||
/// If the MessageQueue pezpallet is configured before (i.e. the MessageQueue pezpallet is listed before
|
||||
/// the EthereumOutboundQueue in the construct_runtime macro) the EthereumOutboundQueue, this test
|
||||
/// will fail.
|
||||
#[test]
|
||||
@@ -163,7 +163,7 @@ fn construct_extrinsic(
|
||||
pezframe_system::CheckGenesis::<Runtime>::new(),
|
||||
pezframe_system::CheckEra::<Runtime>::from(Era::immortal()),
|
||||
pezframe_system::CheckNonce::<Runtime>::from(
|
||||
pezframe_system::Pallet::<Runtime>::account(&account_id).nonce,
|
||||
pezframe_system::Pezpallet::<Runtime>::account(&account_id).nonce,
|
||||
),
|
||||
pezframe_system::CheckWeight::<Runtime>::new(),
|
||||
),
|
||||
|
||||
@@ -60,7 +60,7 @@ fn construct_extrinsic(
|
||||
pezframe_system::CheckGenesis::<Runtime>::new(),
|
||||
pezframe_system::CheckEra::<Runtime>::from(Era::immortal()),
|
||||
pezframe_system::CheckNonce::<Runtime>::from(
|
||||
pezframe_system::Pallet::<Runtime>::account(&account_id).nonce,
|
||||
pezframe_system::Pezpallet::<Runtime>::account(&account_id).nonce,
|
||||
),
|
||||
pezframe_system::CheckWeight::<Runtime>::new(),
|
||||
),
|
||||
@@ -240,32 +240,32 @@ mod bridge_hub_zagros_tests {
|
||||
bp_bridge_hub_pezkuwichain::BRIDGE_HUB_PEZKUWICHAIN_TEYRCHAIN_ID,
|
||||
Governance::get(),
|
||||
vec![
|
||||
(snowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::hashed_key_for::<ChannelId>(
|
||||
(pezsnowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::hashed_key_for::<ChannelId>(
|
||||
channel_id_one,
|
||||
)
|
||||
.to_vec(), 0u64.encode()),
|
||||
(snowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::hashed_key_for::<ChannelId>(
|
||||
(pezsnowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::hashed_key_for::<ChannelId>(
|
||||
channel_id_one,
|
||||
)
|
||||
.to_vec(), 0u64.encode()),
|
||||
],
|
||||
|| {
|
||||
// Outbound
|
||||
snowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
|
||||
pezsnowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
|
||||
channel_id_one,
|
||||
nonce,
|
||||
);
|
||||
snowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
|
||||
pezsnowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
|
||||
channel_id_two,
|
||||
nonce,
|
||||
);
|
||||
|
||||
// Inbound
|
||||
snowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
|
||||
pezsnowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
|
||||
channel_id_one,
|
||||
nonce,
|
||||
);
|
||||
snowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
|
||||
pezsnowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
|
||||
channel_id_two,
|
||||
nonce,
|
||||
);
|
||||
@@ -273,21 +273,21 @@ mod bridge_hub_zagros_tests {
|
||||
|| {
|
||||
// Outbound
|
||||
assert_eq!(
|
||||
snowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::get(channel_id_one),
|
||||
pezsnowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::get(channel_id_one),
|
||||
0
|
||||
);
|
||||
assert_eq!(
|
||||
snowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::get(channel_id_two),
|
||||
pezsnowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::get(channel_id_two),
|
||||
nonce
|
||||
);
|
||||
|
||||
// Inbound
|
||||
assert_eq!(
|
||||
snowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::get(channel_id_one),
|
||||
pezsnowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::get(channel_id_one),
|
||||
0
|
||||
);
|
||||
assert_eq!(
|
||||
snowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::get(channel_id_two),
|
||||
pezsnowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::get(channel_id_two),
|
||||
nonce
|
||||
);
|
||||
},
|
||||
|
||||
@@ -113,15 +113,15 @@ pezsnowbridge-merkle-tree = { workspace = true }
|
||||
pezsnowbridge-outbound-queue-primitives = { workspace = true }
|
||||
pezsnowbridge-outbound-queue-runtime-api = { workspace = true }
|
||||
pezsnowbridge-outbound-queue-v2-runtime-api = { workspace = true }
|
||||
snowbridge-pezpallet-ethereum-client = { workspace = true }
|
||||
snowbridge-pezpallet-inbound-queue = { workspace = true }
|
||||
snowbridge-pezpallet-inbound-queue-fixtures = { workspace = true }
|
||||
snowbridge-pezpallet-inbound-queue-v2 = { workspace = true }
|
||||
snowbridge-pezpallet-inbound-queue-v2-fixtures = { workspace = true }
|
||||
snowbridge-pezpallet-outbound-queue = { workspace = true }
|
||||
snowbridge-pezpallet-outbound-queue-v2 = { workspace = true }
|
||||
snowbridge-pezpallet-system = { workspace = true }
|
||||
snowbridge-pezpallet-system-v2 = { workspace = true }
|
||||
pezsnowbridge-pezpallet-ethereum-client = { workspace = true }
|
||||
pezsnowbridge-pezpallet-inbound-queue = { workspace = true }
|
||||
pezsnowbridge-pezpallet-inbound-queue-fixtures = { workspace = true }
|
||||
pezsnowbridge-pezpallet-inbound-queue-v2 = { workspace = true }
|
||||
pezsnowbridge-pezpallet-inbound-queue-v2-fixtures = { workspace = true }
|
||||
pezsnowbridge-pezpallet-outbound-queue = { workspace = true }
|
||||
pezsnowbridge-pezpallet-outbound-queue-v2 = { workspace = true }
|
||||
pezsnowbridge-pezpallet-system = { workspace = true }
|
||||
pezsnowbridge-pezpallet-system-v2 = { workspace = true }
|
||||
pezsnowbridge-system-runtime-api = { workspace = true }
|
||||
pezsnowbridge-system-v2-runtime-api = { workspace = true }
|
||||
|
||||
@@ -201,15 +201,15 @@ std = [
|
||||
"pezsnowbridge-outbound-queue-primitives/std",
|
||||
"pezsnowbridge-outbound-queue-runtime-api/std",
|
||||
"pezsnowbridge-outbound-queue-v2-runtime-api/std",
|
||||
"snowbridge-pezpallet-ethereum-client/std",
|
||||
"snowbridge-pezpallet-inbound-queue-fixtures/std",
|
||||
"snowbridge-pezpallet-inbound-queue-v2-fixtures/std",
|
||||
"snowbridge-pezpallet-inbound-queue-v2/std",
|
||||
"snowbridge-pezpallet-inbound-queue/std",
|
||||
"snowbridge-pezpallet-outbound-queue-v2/std",
|
||||
"snowbridge-pezpallet-outbound-queue/std",
|
||||
"snowbridge-pezpallet-system-v2/std",
|
||||
"snowbridge-pezpallet-system/std",
|
||||
"pezsnowbridge-pezpallet-ethereum-client/std",
|
||||
"pezsnowbridge-pezpallet-inbound-queue-fixtures/std",
|
||||
"pezsnowbridge-pezpallet-inbound-queue-v2-fixtures/std",
|
||||
"pezsnowbridge-pezpallet-inbound-queue-v2/std",
|
||||
"pezsnowbridge-pezpallet-inbound-queue/std",
|
||||
"pezsnowbridge-pezpallet-outbound-queue-v2/std",
|
||||
"pezsnowbridge-pezpallet-outbound-queue/std",
|
||||
"pezsnowbridge-pezpallet-system-v2/std",
|
||||
"pezsnowbridge-pezpallet-system/std",
|
||||
"pezsnowbridge-system-runtime-api/std",
|
||||
"pezsnowbridge-system-v2-runtime-api/std",
|
||||
"pezsp-api/std",
|
||||
@@ -300,15 +300,15 @@ runtime-benchmarks = [
|
||||
"pezsnowbridge-outbound-queue-primitives/runtime-benchmarks",
|
||||
"pezsnowbridge-outbound-queue-runtime-api/runtime-benchmarks",
|
||||
"pezsnowbridge-outbound-queue-v2-runtime-api/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-ethereum-client/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue-v2-fixtures/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue-v2/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-outbound-queue-v2/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-outbound-queue/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-system-v2/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-system/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-ethereum-client/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-inbound-queue-v2-fixtures/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-inbound-queue-v2/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-inbound-queue/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-outbound-queue-v2/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-outbound-queue/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-system-v2/runtime-benchmarks",
|
||||
"pezsnowbridge-pezpallet-system/runtime-benchmarks",
|
||||
"pezsnowbridge-runtime-test-common/runtime-benchmarks",
|
||||
"pezsnowbridge-system-runtime-api/runtime-benchmarks",
|
||||
"pezsnowbridge-system-v2-runtime-api/runtime-benchmarks",
|
||||
@@ -364,13 +364,13 @@ try-runtime = [
|
||||
"pezpallet-xcm/try-runtime",
|
||||
"pezkuwi-runtime-common/try-runtime",
|
||||
"pezsnowbridge-inbound-queue-primitives/try-runtime",
|
||||
"snowbridge-pezpallet-ethereum-client/try-runtime",
|
||||
"snowbridge-pezpallet-inbound-queue-v2/try-runtime",
|
||||
"snowbridge-pezpallet-inbound-queue/try-runtime",
|
||||
"snowbridge-pezpallet-outbound-queue-v2/try-runtime",
|
||||
"snowbridge-pezpallet-outbound-queue/try-runtime",
|
||||
"snowbridge-pezpallet-system-v2/try-runtime",
|
||||
"snowbridge-pezpallet-system/try-runtime",
|
||||
"pezsnowbridge-pezpallet-ethereum-client/try-runtime",
|
||||
"pezsnowbridge-pezpallet-inbound-queue-v2/try-runtime",
|
||||
"pezsnowbridge-pezpallet-inbound-queue/try-runtime",
|
||||
"pezsnowbridge-pezpallet-outbound-queue-v2/try-runtime",
|
||||
"pezsnowbridge-pezpallet-outbound-queue/try-runtime",
|
||||
"pezsnowbridge-pezpallet-system-v2/try-runtime",
|
||||
"pezsnowbridge-pezpallet-system/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"teyrchain-info/try-runtime",
|
||||
"teyrchains-common/try-runtime",
|
||||
|
||||
+4
-4
@@ -76,14 +76,14 @@ impl ChainWithMessages for BridgeHubZagros {
|
||||
/// Identifier of BridgeHubZagros in the Zagros relay chain.
|
||||
pub const BRIDGE_HUB_ZAGROS_TEYRCHAIN_ID: u32 = 1002;
|
||||
|
||||
/// Name of the With-BridgeHubZagros messages pallet instance that is deployed at bridged chains.
|
||||
/// Name of the With-BridgeHubZagros messages pezpallet instance that is deployed at bridged chains.
|
||||
pub const WITH_BRIDGE_HUB_ZAGROS_MESSAGES_PALLET_NAME: &str = "BridgeZagrosMessages";
|
||||
|
||||
/// Name of the With-BridgeHubZagros bridge-relayers pallet instance that is deployed at bridged
|
||||
/// Name of the With-BridgeHubZagros bridge-relayers pezpallet instance that is deployed at bridged
|
||||
/// chains.
|
||||
pub const WITH_BRIDGE_HUB_ZAGROS_RELAYERS_PALLET_NAME: &str = "BridgeRelayers";
|
||||
|
||||
/// Pallet index of `BridgePezkuwichainMessages: pezpallet_bridge_messages::<Instance1>`.
|
||||
/// Pezpallet index of `BridgePezkuwichainMessages: pezpallet_bridge_messages::<Instance1>`.
|
||||
pub const WITH_BRIDGE_ZAGROS_TO_PEZKUWICHAIN_MESSAGES_PALLET_INDEX: u8 = 44;
|
||||
|
||||
decl_bridge_finality_runtime_apis!(bridge_hub_zagros);
|
||||
@@ -107,7 +107,7 @@ pezframe_support::parameter_types! {
|
||||
/// Wrapper over `BridgeHubZagros`'s `RuntimeCall` that can be used without a runtime.
|
||||
#[derive(Decode, Encode)]
|
||||
pub enum RuntimeCall {
|
||||
/// Points to the `pezpallet_xcm_bridge_hub` pallet instance for `BridgeHubPezkuwichain`.
|
||||
/// Points to the `pezpallet_xcm_bridge_hub` pezpallet instance for `BridgeHubPezkuwichain`.
|
||||
#[codec(index = 45)]
|
||||
XcmOverBridgeHubPezkuwichain(bp_xcm_bridge_hub::XcmBridgeHubCall),
|
||||
}
|
||||
|
||||
+4
-4
@@ -16,10 +16,10 @@
|
||||
|
||||
//! Bridge definitions that can be used by multiple BridgeHub flavors.
|
||||
//! All configurations here should be dedicated to a single chain; in other words, we don't need two
|
||||
//! chains for a single pallet configuration.
|
||||
//! chains for a single pezpallet configuration.
|
||||
//!
|
||||
//! For example, the messaging pallet needs to know the sending and receiving chains, but the
|
||||
//! GRANDPA tracking pallet only needs to be aware of one chain.
|
||||
//! For example, the messaging pezpallet needs to know the sending and receiving chains, but the
|
||||
//! GRANDPA tracking pezpallet only needs to be aware of one chain.
|
||||
|
||||
use super::{weights, AccountId, Balance, Balances, BlockNumber, Runtime, RuntimeEvent};
|
||||
use crate::{
|
||||
@@ -43,7 +43,7 @@ parameter_types! {
|
||||
pub const RelayerStakeReserveId: [u8; 8] = *b"brdgrlrs";
|
||||
}
|
||||
|
||||
/// Showcasing that we can handle multiple different rewards with the same pallet.
|
||||
/// Showcasing that we can handle multiple different rewards with the same pezpallet.
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
|
||||
+33
-33
@@ -53,13 +53,13 @@ use xcm::prelude::{GlobalConsensus, InteriorLocation, Location, PalletInstance,
|
||||
use xcm_executor::XcmExecutor;
|
||||
use zagros_runtime_constants::system_teyrchain::ASSET_HUB_ID;
|
||||
|
||||
pub const SLOTS_PER_EPOCH: u32 = snowbridge_pezpallet_ethereum_client::config::SLOTS_PER_EPOCH as u32;
|
||||
pub const SLOTS_PER_EPOCH: u32 = pezsnowbridge_pezpallet_ethereum_client::config::SLOTS_PER_EPOCH as u32;
|
||||
|
||||
/// Exports message to the Ethereum Gateway contract.
|
||||
pub type SnowbridgeExporter = EthereumBlobExporter<
|
||||
UniversalLocation,
|
||||
EthereumNetwork,
|
||||
snowbridge_pezpallet_outbound_queue::Pallet<Runtime>,
|
||||
pezsnowbridge_pezpallet_outbound_queue::Pezpallet<Runtime>,
|
||||
pezsnowbridge_core::AgentIdOf,
|
||||
EthereumSystem,
|
||||
>;
|
||||
@@ -100,9 +100,9 @@ parameter_types! {
|
||||
pub SnowbridgeFrontendLocation: Location = Location::new(1, [Teyrchain(ASSET_HUB_ID), PalletInstance(FRONTEND_PALLET_INDEX)]);
|
||||
}
|
||||
|
||||
impl snowbridge_pezpallet_inbound_queue::Config for Runtime {
|
||||
impl pezsnowbridge_pezpallet_inbound_queue::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type Verifier = snowbridge_pezpallet_ethereum_client::Pallet<Runtime>;
|
||||
type Verifier = pezsnowbridge_pezpallet_ethereum_client::Pezpallet<Runtime>;
|
||||
type Token = Balances;
|
||||
#[cfg(not(feature = "runtime-benchmarks"))]
|
||||
type XcmSender = crate::XcmRouter;
|
||||
@@ -125,12 +125,12 @@ impl snowbridge_pezpallet_inbound_queue::Config for Runtime {
|
||||
type WeightToFee = WeightToFee;
|
||||
type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;
|
||||
type MaxMessageSize = ConstU32<2048>;
|
||||
type WeightInfo = crate::weights::snowbridge_pezpallet_inbound_queue::WeightInfo<Runtime>;
|
||||
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_inbound_queue::WeightInfo<Runtime>;
|
||||
type PricingParameters = EthereumSystem;
|
||||
type AssetTransactor = <xcm_config::XcmConfig as xcm_executor::Config>::AssetTransactor;
|
||||
}
|
||||
|
||||
impl snowbridge_pezpallet_inbound_queue_v2::Config for Runtime {
|
||||
impl pezsnowbridge_pezpallet_inbound_queue_v2::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type Verifier = EthereumBeaconClient;
|
||||
#[cfg(not(feature = "runtime-benchmarks"))]
|
||||
@@ -140,7 +140,7 @@ impl snowbridge_pezpallet_inbound_queue_v2::Config for Runtime {
|
||||
type GatewayAddress = EthereumGatewayAddress;
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
type Helper = Runtime;
|
||||
type WeightInfo = crate::weights::snowbridge_pezpallet_inbound_queue_v2::WeightInfo<Runtime>;
|
||||
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_inbound_queue_v2::WeightInfo<Runtime>;
|
||||
type AssetHubParaId = AssetHubParaId;
|
||||
type XcmExecutor = XcmExecutor<XcmConfig>;
|
||||
type MessageConverter = pezsnowbridge_inbound_queue_primitives::v2::MessageToXcm<
|
||||
@@ -162,7 +162,7 @@ impl snowbridge_pezpallet_inbound_queue_v2::Config for Runtime {
|
||||
type RewardPayment = BridgeRelayers;
|
||||
}
|
||||
|
||||
impl snowbridge_pezpallet_outbound_queue::Config for Runtime {
|
||||
impl pezsnowbridge_pezpallet_outbound_queue::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type Hashing = Keccak256;
|
||||
type MessageQueue = MessageQueue;
|
||||
@@ -172,12 +172,12 @@ impl snowbridge_pezpallet_outbound_queue::Config for Runtime {
|
||||
type GasMeter = ConstantGasMeter;
|
||||
type Balance = Balance;
|
||||
type WeightToFee = WeightToFee;
|
||||
type WeightInfo = crate::weights::snowbridge_pezpallet_outbound_queue::WeightInfo<Runtime>;
|
||||
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_outbound_queue::WeightInfo<Runtime>;
|
||||
type PricingParameters = EthereumSystem;
|
||||
type Channels = EthereumSystem;
|
||||
}
|
||||
|
||||
impl snowbridge_pezpallet_outbound_queue_v2::Config for Runtime {
|
||||
impl pezsnowbridge_pezpallet_outbound_queue_v2::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type Hashing = Keccak256;
|
||||
type MessageQueue = MessageQueue;
|
||||
@@ -185,7 +185,7 @@ impl snowbridge_pezpallet_outbound_queue_v2::Config for Runtime {
|
||||
type MaxMessagePayloadSize = ConstU32<2048>;
|
||||
// Maximum number of outbound messages that can be committed per block.
|
||||
// It's benchmarked, including the entire process flow(initialize,submit,commit) in the
|
||||
// worst-case, Benchmark results in `../weights/snowbridge_pezpallet_outbound_queue_v2.
|
||||
// worst-case, Benchmark results in `../weights/pezsnowbridge_pezpallet_outbound_queue_v2.
|
||||
// rs` show that the `process` function consumes less than 1% of the block capacity, which is
|
||||
// safe enough.
|
||||
type MaxMessagesPerBlock = ConstU32<32>;
|
||||
@@ -194,7 +194,7 @@ impl snowbridge_pezpallet_outbound_queue_v2::Config for Runtime {
|
||||
type WeightToFee = WeightToFee;
|
||||
type Verifier = EthereumBeaconClient;
|
||||
type GatewayAddress = EthereumGatewayAddress;
|
||||
type WeightInfo = crate::weights::snowbridge_pezpallet_outbound_queue_v2::WeightInfo<Runtime>;
|
||||
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_outbound_queue_v2::WeightInfo<Runtime>;
|
||||
type EthereumNetwork = EthereumNetwork;
|
||||
type RewardKind = BridgeReward;
|
||||
type DefaultRewardKind = SnowbridgeReward;
|
||||
@@ -273,21 +273,21 @@ parameter_types! {
|
||||
};
|
||||
}
|
||||
|
||||
impl snowbridge_pezpallet_ethereum_client::Config for Runtime {
|
||||
impl pezsnowbridge_pezpallet_ethereum_client::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type ForkVersions = ChainForkVersions;
|
||||
type FreeHeadersInterval = ConstU32<SLOTS_PER_EPOCH>;
|
||||
type WeightInfo = crate::weights::snowbridge_pezpallet_ethereum_client::WeightInfo<Runtime>;
|
||||
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_ethereum_client::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
impl snowbridge_pezpallet_system::Config for Runtime {
|
||||
impl pezsnowbridge_pezpallet_system::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type OutboundQueue = EthereumOutboundQueue;
|
||||
type SiblingOrigin = EnsureXcm<AllowSiblingsOnly>;
|
||||
type AgentIdOf = pezsnowbridge_core::AgentIdOf;
|
||||
type TreasuryAccount = TreasuryAccount;
|
||||
type Token = Balances;
|
||||
type WeightInfo = crate::weights::snowbridge_pezpallet_system::WeightInfo<Runtime>;
|
||||
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_system::WeightInfo<Runtime>;
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
type Helper = ();
|
||||
type DefaultPricingParameters = Parameters;
|
||||
@@ -307,12 +307,12 @@ impl Contains<Location> for AllowFromEthereumFrontend {
|
||||
}
|
||||
}
|
||||
|
||||
impl snowbridge_pezpallet_system_v2::Config for Runtime {
|
||||
impl pezsnowbridge_pezpallet_system_v2::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type OutboundQueue = EthereumOutboundQueueV2;
|
||||
type InboundQueue = EthereumInboundQueueV2;
|
||||
type FrontendOrigin = EnsureXcm<AllowFromEthereumFrontend>;
|
||||
type WeightInfo = crate::weights::snowbridge_pezpallet_system_v2::WeightInfo<Runtime>;
|
||||
type WeightInfo = crate::weights::pezsnowbridge_pezpallet_system_v2::WeightInfo<Runtime>;
|
||||
type GovernanceOrigin = EnsureRootWithSuccess<crate::AccountId, RootLocation>;
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
type Helper = ();
|
||||
@@ -329,15 +329,15 @@ pub mod benchmark_helpers {
|
||||
use hex_literal::hex;
|
||||
use pezsnowbridge_beacon_primitives::BeaconHeader;
|
||||
use pezsnowbridge_inbound_queue_primitives::EventFixture;
|
||||
use snowbridge_pezpallet_inbound_queue::BenchmarkHelper;
|
||||
use snowbridge_pezpallet_inbound_queue_fixtures::register_token::make_register_token_message;
|
||||
use snowbridge_pezpallet_inbound_queue_v2::BenchmarkHelper as InboundQueueBenchmarkHelperV2;
|
||||
use snowbridge_pezpallet_inbound_queue_v2_fixtures::register_token::make_register_token_message as make_register_token_message_v2;
|
||||
use snowbridge_pezpallet_outbound_queue_v2::BenchmarkHelper as OutboundQueueBenchmarkHelperV2;
|
||||
use pezsnowbridge_pezpallet_inbound_queue::BenchmarkHelper;
|
||||
use pezsnowbridge_pezpallet_inbound_queue_fixtures::register_token::make_register_token_message;
|
||||
use pezsnowbridge_pezpallet_inbound_queue_v2::BenchmarkHelper as InboundQueueBenchmarkHelperV2;
|
||||
use pezsnowbridge_pezpallet_inbound_queue_v2_fixtures::register_token::make_register_token_message as make_register_token_message_v2;
|
||||
use pezsnowbridge_pezpallet_outbound_queue_v2::BenchmarkHelper as OutboundQueueBenchmarkHelperV2;
|
||||
use pezsp_core::H256;
|
||||
use xcm::latest::{Assets, Location, SendError, SendResult, SendXcm, Xcm, XcmHash};
|
||||
|
||||
impl<T: snowbridge_pezpallet_ethereum_client::Config> BenchmarkHelper<T> for Runtime {
|
||||
impl<T: pezsnowbridge_pezpallet_ethereum_client::Config> BenchmarkHelper<T> for Runtime {
|
||||
fn initialize_storage() -> EventFixture {
|
||||
let message = make_register_token_message();
|
||||
EthereumBeaconClient::store_finalized_header(
|
||||
@@ -357,7 +357,7 @@ pub mod benchmark_helpers {
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: snowbridge_pezpallet_inbound_queue_v2::Config> InboundQueueBenchmarkHelperV2<T> for Runtime {
|
||||
impl<T: pezsnowbridge_pezpallet_inbound_queue_v2::Config> InboundQueueBenchmarkHelperV2<T> for Runtime {
|
||||
fn initialize_storage() -> EventFixture {
|
||||
let message = make_register_token_message_v2();
|
||||
|
||||
@@ -370,7 +370,7 @@ pub mod benchmark_helpers {
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: snowbridge_pezpallet_outbound_queue_v2::Config> OutboundQueueBenchmarkHelperV2<T> for Runtime {
|
||||
impl<T: pezsnowbridge_pezpallet_outbound_queue_v2::Config> OutboundQueueBenchmarkHelperV2<T> for Runtime {
|
||||
fn initialize_storage(beacon_header: BeaconHeader, block_roots_root: H256) {
|
||||
EthereumBeaconClient::store_finalized_header(beacon_header, block_roots_root).unwrap();
|
||||
}
|
||||
@@ -392,13 +392,13 @@ pub mod benchmark_helpers {
|
||||
}
|
||||
}
|
||||
|
||||
impl snowbridge_pezpallet_system::BenchmarkHelper<RuntimeOrigin> for () {
|
||||
impl pezsnowbridge_pezpallet_system::BenchmarkHelper<RuntimeOrigin> for () {
|
||||
fn make_xcm_origin(location: Location) -> RuntimeOrigin {
|
||||
RuntimeOrigin::from(pezpallet_xcm::Origin::Xcm(location))
|
||||
}
|
||||
}
|
||||
|
||||
impl snowbridge_pezpallet_system_v2::BenchmarkHelper<RuntimeOrigin> for () {
|
||||
impl pezsnowbridge_pezpallet_system_v2::BenchmarkHelper<RuntimeOrigin> for () {
|
||||
fn make_xcm_origin(location: Location) -> RuntimeOrigin {
|
||||
RuntimeOrigin::from(pezpallet_xcm::Origin::Xcm(location))
|
||||
}
|
||||
@@ -431,8 +431,8 @@ pub(crate) mod migrations {
|
||||
use pezsnowbridge_core::TokenId;
|
||||
|
||||
#[pezframe_support::storage_alias]
|
||||
pub type OldNativeToForeignId<T: snowbridge_pezpallet_system::Config> = StorageMap<
|
||||
snowbridge_pezpallet_system::Pallet<T>,
|
||||
pub type OldNativeToForeignId<T: pezsnowbridge_pezpallet_system::Config> = StorageMap<
|
||||
pezsnowbridge_pezpallet_system::Pezpallet<T>,
|
||||
Blake2_128Concat,
|
||||
xcm::v4::Location,
|
||||
TokenId,
|
||||
@@ -440,8 +440,8 @@ pub(crate) mod migrations {
|
||||
>;
|
||||
|
||||
/// One shot migration for NetworkId::Zagros to NetworkId::ByGenesis(ZAGROS_GENESIS_HASH)
|
||||
pub struct MigrationForXcmV5<T: snowbridge_pezpallet_system::Config>(core::marker::PhantomData<T>);
|
||||
impl<T: snowbridge_pezpallet_system::Config> pezframe_support::traits::OnRuntimeUpgrade
|
||||
pub struct MigrationForXcmV5<T: pezsnowbridge_pezpallet_system::Config>(core::marker::PhantomData<T>);
|
||||
impl<T: pezsnowbridge_pezpallet_system::Config> pezframe_support::traits::OnRuntimeUpgrade
|
||||
for MigrationForXcmV5<T>
|
||||
{
|
||||
fn on_runtime_upgrade() -> Weight {
|
||||
@@ -451,7 +451,7 @@ pub(crate) mod migrations {
|
||||
weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1));
|
||||
Some(xcm::v5::Location::try_from(pre).expect("valid location"))
|
||||
};
|
||||
snowbridge_pezpallet_system::ForeignToNativeId::<T>::translate_values(translate_zagros);
|
||||
pezsnowbridge_pezpallet_system::ForeignToNativeId::<T>::translate_values(translate_zagros);
|
||||
|
||||
weight
|
||||
}
|
||||
|
||||
+2
-2
@@ -107,7 +107,7 @@ pub type OnBridgeHubZagrosRefundBridgeHubPezkuwichainMessages = BridgeRelayersTr
|
||||
>;
|
||||
pezbp_runtime::generate_static_str_provider!(OnBridgeHubZagrosRefundBridgeHubPezkuwichainMessages);
|
||||
|
||||
/// Add GRANDPA bridge pallet to track Pezkuwichain relay chain.
|
||||
/// Add GRANDPA bridge pezpallet to track Pezkuwichain relay chain.
|
||||
pub type BridgeGrandpaPezkuwichainInstance = pezpallet_bridge_grandpa::Instance1;
|
||||
impl pezpallet_bridge_grandpa::Config<BridgeGrandpaPezkuwichainInstance> for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
@@ -118,7 +118,7 @@ impl pezpallet_bridge_grandpa::Config<BridgeGrandpaPezkuwichainInstance> for Run
|
||||
type WeightInfo = weights::pezpallet_bridge_grandpa::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
/// Add teyrchain bridge pallet to track Pezkuwichain BridgeHub teyrchain
|
||||
/// Add teyrchain bridge pezpallet to track Pezkuwichain BridgeHub teyrchain
|
||||
pub type BridgeTeyrchainPezkuwichainInstance = pezpallet_bridge_teyrchains::Instance1;
|
||||
impl pezpallet_bridge_teyrchains::Config<BridgeTeyrchainPezkuwichainInstance> for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
|
||||
@@ -172,12 +172,12 @@ pub type Migrations = (
|
||||
bridge_common_config::BridgeRelayersInstance,
|
||||
bp_messages::LegacyLaneId,
|
||||
>,
|
||||
snowbridge_pezpallet_system::migration::v0::InitializeOnUpgrade<
|
||||
pezsnowbridge_pezpallet_system::migration::v0::InitializeOnUpgrade<
|
||||
Runtime,
|
||||
ConstU32<BRIDGE_HUB_ID>,
|
||||
ConstU32<ASSET_HUB_ID>,
|
||||
>,
|
||||
snowbridge_pezpallet_system::migration::FeePerGasMigrationV0ToV1<Runtime>,
|
||||
pezsnowbridge_pezpallet_system::migration::FeePerGasMigrationV0ToV1<Runtime>,
|
||||
bridge_to_ethereum_config::migrations::MigrationForXcmV5<Runtime>,
|
||||
pezpallet_session::migrations::v1::MigrateV0ToV1<
|
||||
Runtime,
|
||||
@@ -300,9 +300,9 @@ impl pezframe_system::Config for Runtime {
|
||||
type AccountData = pezpallet_balances::AccountData<Balance>;
|
||||
/// The weight of database operations that the runtime can invoke.
|
||||
type DbWeight = RocksDbWeight;
|
||||
/// Weight information for the extrinsics of this pallet.
|
||||
/// Weight information for the extrinsics of this pezpallet.
|
||||
type SystemWeightInfo = weights::pezframe_system::WeightInfo<Runtime>;
|
||||
/// Weight information for the transaction extensions of this pallet.
|
||||
/// Weight information for the transaction extensions of this pezpallet.
|
||||
type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo<Runtime>;
|
||||
/// Block & extrinsics weights: base values and limits.
|
||||
type BlockWeights = RuntimeBlockWeights;
|
||||
@@ -381,7 +381,7 @@ impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime {
|
||||
type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo<Runtime>;
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type OnSystemEvent = ();
|
||||
type SelfParaId = teyrchain_info::Pallet<Runtime>;
|
||||
type SelfParaId = teyrchain_info::Pezpallet<Runtime>;
|
||||
type OutboundXcmpMessageSource = XcmpQueue;
|
||||
type DmpQueue = pezframe_support::traits::EnqueueWithOrigin<MessageQueue, RelayOrigin>;
|
||||
type ReservedDmpWeight = ReservedDmpWeight;
|
||||
@@ -426,7 +426,7 @@ impl pezpallet_message_queue::Config for Runtime {
|
||||
EthereumOutboundQueueV2,
|
||||
>;
|
||||
type Size = u32;
|
||||
// The XCMP queue pallet is only ever able to handle the `Sibling(ParaId)` origin:
|
||||
// The XCMP queue pezpallet is only ever able to handle the `Sibling(ParaId)` origin:
|
||||
type QueueChangeHandler = NarrowOriginToSibling<XcmpQueue>;
|
||||
type QueuePausedQuery = NarrowOriginToSibling<XcmpQueue>;
|
||||
type HeapSize = pezsp_core::ConstU32<{ 103 * 1024 }>;
|
||||
@@ -542,7 +542,7 @@ impl pezpallet_multisig::Config for Runtime {
|
||||
type DepositFactor = DepositFactor;
|
||||
type MaxSignatories = ConstU32<100>;
|
||||
type WeightInfo = weights::pezpallet_multisig::WeightInfo<Runtime>;
|
||||
type BlockNumberProvider = pezframe_system::Pallet<Runtime>;
|
||||
type BlockNumberProvider = pezframe_system::Pezpallet<Runtime>;
|
||||
}
|
||||
|
||||
impl pezpallet_utility::Config for Runtime {
|
||||
@@ -590,14 +590,14 @@ construct_runtime!(
|
||||
BridgePezkuwichainMessages: pezpallet_bridge_messages::<Instance1> = 44,
|
||||
XcmOverBridgeHubPezkuwichain: pezpallet_xcm_bridge_hub::<Instance1> = 45,
|
||||
|
||||
EthereumInboundQueue: snowbridge_pezpallet_inbound_queue = 80,
|
||||
EthereumOutboundQueue: snowbridge_pezpallet_outbound_queue = 81,
|
||||
EthereumBeaconClient: snowbridge_pezpallet_ethereum_client = 82,
|
||||
EthereumSystem: snowbridge_pezpallet_system = 83,
|
||||
EthereumInboundQueue: pezsnowbridge_pezpallet_inbound_queue = 80,
|
||||
EthereumOutboundQueue: pezsnowbridge_pezpallet_outbound_queue = 81,
|
||||
EthereumBeaconClient: pezsnowbridge_pezpallet_ethereum_client = 82,
|
||||
EthereumSystem: pezsnowbridge_pezpallet_system = 83,
|
||||
|
||||
EthereumSystemV2: snowbridge_pezpallet_system_v2 = 90,
|
||||
EthereumInboundQueueV2: snowbridge_pezpallet_inbound_queue_v2 = 91,
|
||||
EthereumOutboundQueueV2: snowbridge_pezpallet_outbound_queue_v2 = 92,
|
||||
EthereumSystemV2: pezsnowbridge_pezpallet_system_v2 = 90,
|
||||
EthereumInboundQueueV2: pezsnowbridge_pezpallet_inbound_queue_v2 = 91,
|
||||
EthereumOutboundQueueV2: pezsnowbridge_pezpallet_outbound_queue_v2 = 92,
|
||||
|
||||
// Message Queue. Importantly, is registered last so that messages are processed after
|
||||
// the `on_initialize` hooks of bridging pallets.
|
||||
@@ -652,14 +652,14 @@ mod benches {
|
||||
[pezpallet_bridge_teyrchains, WithinPezkuwichain]
|
||||
[pezpallet_bridge_messages, ZagrosToPezkuwichain]
|
||||
// Ethereum Bridge V1
|
||||
[snowbridge_pezpallet_system, EthereumSystem]
|
||||
[snowbridge_pezpallet_ethereum_client, EthereumBeaconClient]
|
||||
[snowbridge_pezpallet_inbound_queue, EthereumInboundQueue]
|
||||
[snowbridge_pezpallet_outbound_queue, EthereumOutboundQueue]
|
||||
[pezsnowbridge_pezpallet_system, EthereumSystem]
|
||||
[pezsnowbridge_pezpallet_ethereum_client, EthereumBeaconClient]
|
||||
[pezsnowbridge_pezpallet_inbound_queue, EthereumInboundQueue]
|
||||
[pezsnowbridge_pezpallet_outbound_queue, EthereumOutboundQueue]
|
||||
// Ethereum Bridge V2
|
||||
[snowbridge_pezpallet_system_v2, EthereumSystemV2]
|
||||
[snowbridge_pezpallet_inbound_queue_v2, EthereumInboundQueueV2]
|
||||
[snowbridge_pezpallet_outbound_queue_v2, EthereumOutboundQueueV2]
|
||||
[pezsnowbridge_pezpallet_system_v2, EthereumSystemV2]
|
||||
[pezsnowbridge_pezpallet_inbound_queue_v2, EthereumInboundQueueV2]
|
||||
[pezsnowbridge_pezpallet_outbound_queue_v2, EthereumOutboundQueueV2]
|
||||
|
||||
[pezcumulus_pezpallet_weight_reclaim, WeightReclaim]
|
||||
);
|
||||
@@ -945,29 +945,29 @@ impl_runtime_apis! {
|
||||
|
||||
impl pezsnowbridge_outbound_queue_runtime_api::OutboundQueueApi<Block, Balance> for Runtime {
|
||||
fn prove_message(leaf_index: u64) -> Option<pezsnowbridge_merkle_tree::MerkleProof> {
|
||||
snowbridge_pezpallet_outbound_queue::api::prove_message::<Runtime>(leaf_index)
|
||||
pezsnowbridge_pezpallet_outbound_queue::api::prove_message::<Runtime>(leaf_index)
|
||||
}
|
||||
|
||||
fn calculate_fee(command: Command, parameters: Option<PricingParameters<Balance>>) -> Fee<Balance> {
|
||||
snowbridge_pezpallet_outbound_queue::api::calculate_fee::<Runtime>(command, parameters)
|
||||
pezsnowbridge_pezpallet_outbound_queue::api::calculate_fee::<Runtime>(command, parameters)
|
||||
}
|
||||
}
|
||||
|
||||
impl pezsnowbridge_outbound_queue_v2_runtime_api::OutboundQueueV2Api<Block, Balance> for Runtime {
|
||||
fn prove_message(leaf_index: u64) -> Option<pezsnowbridge_merkle_tree::MerkleProof> {
|
||||
snowbridge_pezpallet_outbound_queue_v2::api::prove_message::<Runtime>(leaf_index)
|
||||
pezsnowbridge_pezpallet_outbound_queue_v2::api::prove_message::<Runtime>(leaf_index)
|
||||
}
|
||||
}
|
||||
|
||||
impl pezsnowbridge_system_runtime_api::ControlApi<Block> for Runtime {
|
||||
fn agent_id(location: VersionedLocation) -> Option<AgentId> {
|
||||
snowbridge_pezpallet_system::api::agent_id::<Runtime>(location)
|
||||
pezsnowbridge_pezpallet_system::api::agent_id::<Runtime>(location)
|
||||
}
|
||||
}
|
||||
|
||||
impl pezsnowbridge_system_v2_runtime_api::ControlV2Api<Block> for Runtime {
|
||||
fn agent_id(location: VersionedLocation) -> Option<AgentId> {
|
||||
snowbridge_pezpallet_system_v2::api::agent_id::<Runtime>(location)
|
||||
pezsnowbridge_pezpallet_system_v2::api::agent_id::<Runtime>(location)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -998,22 +998,22 @@ impl_runtime_apis! {
|
||||
) {
|
||||
use pezframe_benchmarking::BenchmarkList;
|
||||
use pezframe_support::traits::StorageInfoTrait;
|
||||
use pezframe_system_benchmarking::Pallet as SystemBench;
|
||||
use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench;
|
||||
use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench;
|
||||
use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
|
||||
use pezframe_system_benchmarking::Pezpallet as SystemBench;
|
||||
use pezframe_system_benchmarking::extensions::Pezpallet as SystemExtensionsBench;
|
||||
use pezcumulus_pezpallet_session_benchmarking::Pezpallet as SessionBench;
|
||||
use pezpallet_xcm::benchmarking::Pezpallet as PalletXcmExtrinsicsBenchmark;
|
||||
|
||||
// This is defined once again in dispatch_benchmark, because list_benchmarks!
|
||||
// and add_benchmarks! are macros exported by define_benchmarks! macros and those types
|
||||
// are referenced in that call.
|
||||
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pallet::<Runtime>;
|
||||
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pallet::<Runtime>;
|
||||
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pezpallet::<Runtime>;
|
||||
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pezpallet::<Runtime>;
|
||||
|
||||
use pezpallet_bridge_relayers::benchmarking::Pallet as BridgeRelayersBench;
|
||||
use pezpallet_bridge_relayers::benchmarking::Pezpallet as BridgeRelayersBench;
|
||||
// Change weight file names.
|
||||
type PezkuwichainFinality = BridgePezkuwichainGrandpa;
|
||||
type WithinPezkuwichain = pezpallet_bridge_teyrchains::benchmarking::Pallet::<Runtime, bridge_to_pezkuwichain_config::BridgeTeyrchainPezkuwichainInstance>;
|
||||
type ZagrosToPezkuwichain = pezpallet_bridge_messages::benchmarking::Pallet ::<Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>;
|
||||
type WithinPezkuwichain = pezpallet_bridge_teyrchains::benchmarking::Pezpallet::<Runtime, bridge_to_pezkuwichain_config::BridgeTeyrchainPezkuwichainInstance>;
|
||||
type ZagrosToPezkuwichain = pezpallet_bridge_messages::benchmarking::Pezpallet ::<Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>;
|
||||
|
||||
let mut list = Vec::<BenchmarkList>::new();
|
||||
list_benchmarks!(list, extra);
|
||||
@@ -1029,8 +1029,8 @@ impl_runtime_apis! {
|
||||
use pezframe_benchmarking::{BenchmarkBatch, BenchmarkError};
|
||||
use pezsp_storage::TrackedStorageKey;
|
||||
|
||||
use pezframe_system_benchmarking::Pallet as SystemBench;
|
||||
use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench;
|
||||
use pezframe_system_benchmarking::Pezpallet as SystemBench;
|
||||
use pezframe_system_benchmarking::extensions::Pezpallet as SystemExtensionsBench;
|
||||
impl pezframe_system_benchmarking::Config for Runtime {
|
||||
fn setup_set_code_requirements(code: &alloc::vec::Vec<u8>) -> Result<(), BenchmarkError> {
|
||||
TeyrchainSystem::initialize_for_set_code_benchmark(code.len() as u32);
|
||||
@@ -1042,7 +1042,7 @@ impl_runtime_apis! {
|
||||
}
|
||||
}
|
||||
|
||||
use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench;
|
||||
use pezcumulus_pezpallet_session_benchmarking::Pezpallet as SessionBench;
|
||||
impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {}
|
||||
|
||||
use xcm::latest::prelude::*;
|
||||
@@ -1055,7 +1055,7 @@ impl_runtime_apis! {
|
||||
).into());
|
||||
}
|
||||
|
||||
use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
|
||||
use pezpallet_xcm::benchmarking::Pezpallet as PalletXcmExtrinsicsBenchmark;
|
||||
impl pezpallet_xcm::benchmarking::Config for Runtime {
|
||||
type DeliveryHelper = pezkuwi_runtime_common::xcm_sender::ToTeyrchainDeliveryHelper<
|
||||
xcm_config::XcmConfig,
|
||||
@@ -1270,12 +1270,12 @@ impl_runtime_apis! {
|
||||
}
|
||||
}
|
||||
|
||||
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pallet::<Runtime>;
|
||||
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pallet::<Runtime>;
|
||||
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pezpallet::<Runtime>;
|
||||
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pezpallet::<Runtime>;
|
||||
|
||||
type PezkuwichainFinality = BridgePezkuwichainGrandpa;
|
||||
type WithinPezkuwichain = pezpallet_bridge_teyrchains::benchmarking::Pallet::<Runtime, bridge_to_pezkuwichain_config::BridgeTeyrchainPezkuwichainInstance>;
|
||||
type ZagrosToPezkuwichain = pezpallet_bridge_messages::benchmarking::Pallet ::<Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>;
|
||||
type WithinPezkuwichain = pezpallet_bridge_teyrchains::benchmarking::Pezpallet::<Runtime, bridge_to_pezkuwichain_config::BridgeTeyrchainPezkuwichainInstance>;
|
||||
type ZagrosToPezkuwichain = pezpallet_bridge_messages::benchmarking::Pezpallet ::<Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>;
|
||||
|
||||
use pezbridge_runtime_common::messages_benchmarking::{
|
||||
prepare_message_delivery_proof_from_teyrchain,
|
||||
@@ -1293,7 +1293,7 @@ impl_runtime_apis! {
|
||||
let bench_lane_id = <Self as BridgeMessagesConfig<bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>>::bench_lane_id();
|
||||
use pezbp_runtime::Chain;
|
||||
let bridged_chain_id =<Self as pezpallet_bridge_messages::Config<bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>>::BridgedChain::ID;
|
||||
pezpallet_bridge_relayers::Pallet::<Runtime, bridge_common_config::BridgeRelayersInstance>::relayer_reward(
|
||||
pezpallet_bridge_relayers::Pezpallet::<Runtime, bridge_common_config::BridgeRelayersInstance>::relayer_reward(
|
||||
relayer,
|
||||
bridge_common_config::BridgeReward::PezkuwichainZagros(
|
||||
bp_relayers::RewardsAccountParams::new(
|
||||
@@ -1347,7 +1347,7 @@ impl_runtime_apis! {
|
||||
use pezbridge_runtime_common::teyrchains_benchmarking::prepare_teyrchain_heads_proof;
|
||||
use pezpallet_bridge_teyrchains::benchmarking::Config as BridgeTeyrchainsConfig;
|
||||
use pezpallet_bridge_relayers::benchmarking::{
|
||||
Pallet as BridgeRelayersBench,
|
||||
Pezpallet as BridgeRelayersBench,
|
||||
Config as BridgeRelayersConfig,
|
||||
};
|
||||
|
||||
|
||||
@@ -46,13 +46,13 @@ pub mod paritydb_weights;
|
||||
pub mod rocksdb_weights;
|
||||
pub mod xcm;
|
||||
|
||||
pub mod snowbridge_pezpallet_ethereum_client;
|
||||
pub mod snowbridge_pezpallet_inbound_queue;
|
||||
pub mod snowbridge_pezpallet_inbound_queue_v2;
|
||||
pub mod snowbridge_pezpallet_outbound_queue;
|
||||
pub mod snowbridge_pezpallet_outbound_queue_v2;
|
||||
pub mod snowbridge_pezpallet_system;
|
||||
pub mod snowbridge_pezpallet_system_v2;
|
||||
pub mod pezsnowbridge_pezpallet_ethereum_client;
|
||||
pub mod pezsnowbridge_pezpallet_inbound_queue;
|
||||
pub mod pezsnowbridge_pezpallet_inbound_queue_v2;
|
||||
pub mod pezsnowbridge_pezpallet_outbound_queue;
|
||||
pub mod pezsnowbridge_pezpallet_outbound_queue_v2;
|
||||
pub mod pezsnowbridge_pezpallet_system;
|
||||
pub mod pezsnowbridge_pezpallet_system_v2;
|
||||
|
||||
pub use block_weights::constants::BlockExecutionWeight;
|
||||
pub use extrinsic_weights::constants::ExtrinsicBaseWeight;
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezcumulus_pezpallet_teyrchain_system
|
||||
// --pezpallet=pezcumulus_pezpallet_teyrchain_system
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezcumulus_pezpallet_weight_reclaim
|
||||
// --pezpallet=pezcumulus_pezpallet_weight_reclaim
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezcumulus_pezpallet_xcmp_queue
|
||||
// --pezpallet=pezcumulus_pezpallet_xcmp_queue
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+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: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pezpallet=pezcumulus_pezpallet_teyrchain_system
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --heap-pages=4096
|
||||
// --no-storage-info
|
||||
// --no-min-squares
|
||||
// --no-median-slopes
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1)
|
||||
/// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `TeyrchainSystem::ProcessedDownwardMessages` (r:0 w:1)
|
||||
/// Proof: `TeyrchainSystem::ProcessedDownwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:1000)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
/// The range of component `n` is `[0, 1000]`.
|
||||
fn enqueue_inbound_downward_messages(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `12`
|
||||
// Estimated: `3601`
|
||||
// Minimum execution time: 2_335_000 picoseconds.
|
||||
Weight::from_parts(2_390_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3601))
|
||||
// Standard Error: 44_053
|
||||
.saturating_add(Weight::from_parts(353_908_674, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
||||
}
|
||||
}
|
||||
+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: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pezpallet=pezcumulus_pezpallet_weight_reclaim
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --heap-pages=4096
|
||||
// --no-storage-info
|
||||
// --no-min-squares
|
||||
// --no-median-slopes
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo<T> {
|
||||
fn storage_weight_reclaim() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_944_000 picoseconds.
|
||||
Weight::from_parts(4_190_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
}
|
||||
}
|
||||
+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-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pezpallet=pezcumulus_pezpallet_xcmp_queue
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --heap-pages=4096
|
||||
// --no-storage-info
|
||||
// --no-min-squares
|
||||
// --no-median-slopes
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:1)
|
||||
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
|
||||
fn set_config_with_u32() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `142`
|
||||
// Estimated: `1497`
|
||||
// Minimum execution time: 5_323_000 picoseconds.
|
||||
Weight::from_parts(5_553_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1497))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
/// The range of component `n` is `[0, 105467]`.
|
||||
fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `148`
|
||||
// Estimated: `5487`
|
||||
// Minimum execution time: 14_253_000 picoseconds.
|
||||
Weight::from_parts(9_710_247, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5487))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_parts(977, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
/// The range of component `n` is `[0, 1000]`.
|
||||
fn enqueue_n_empty_xcmp_messages(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `148`
|
||||
// Estimated: `5487`
|
||||
// Minimum execution time: 12_057_000 picoseconds.
|
||||
Weight::from_parts(16_879_007, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5487))
|
||||
// Standard Error: 186
|
||||
.saturating_add(Weight::from_parts(148_560, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `Measured`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `Measured`)
|
||||
/// Storage: `MessageQueue::Pages` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `Measured`)
|
||||
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`)
|
||||
/// The range of component `n` is `[0, 105457]`.
|
||||
fn enqueue_empty_xcmp_message_at(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `330 + n * (1 ±0)`
|
||||
// Estimated: `3793 + n * (1 ±0)`
|
||||
// Minimum execution time: 21_701_000 picoseconds.
|
||||
Weight::from_parts(13_042_218, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3793))
|
||||
// Standard Error: 11
|
||||
.saturating_add(Weight::from_parts(2_049, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
|
||||
}
|
||||
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:100)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn enqueue_n_full_pages(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `183`
|
||||
// Estimated: `5487`
|
||||
// Minimum execution time: 13_587_000 picoseconds.
|
||||
Weight::from_parts(13_780_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5487))
|
||||
// Standard Error: 76_544
|
||||
.saturating_add(Weight::from_parts(91_330_251, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
||||
}
|
||||
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `Measured`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `Measured`)
|
||||
/// Storage: `MessageQueue::Pages` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `Measured`)
|
||||
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`)
|
||||
fn enqueue_1000_small_xcmp_messages() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `53063`
|
||||
// Estimated: `56528`
|
||||
// Minimum execution time: 274_744_000 picoseconds.
|
||||
Weight::from_parts(283_085_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 56528))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
|
||||
/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
|
||||
fn suspend_channel() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `142`
|
||||
// Estimated: `2767`
|
||||
// Minimum execution time: 3_318_000 picoseconds.
|
||||
Weight::from_parts(3_560_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2767))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
|
||||
/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
|
||||
fn resume_channel() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `177`
|
||||
// Estimated: `2767`
|
||||
// Minimum execution time: 4_724_000 picoseconds.
|
||||
Weight::from_parts(4_920_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2767))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// The range of component `n` is `[0, 92]`.
|
||||
fn take_first_concatenated_xcm(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_067_000 picoseconds.
|
||||
Weight::from_parts(2_441_904, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 126
|
||||
.saturating_add(Weight::from_parts(17_623, 0).saturating_mul(n.into()))
|
||||
}
|
||||
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
|
||||
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
|
||||
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
|
||||
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
|
||||
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
fn on_idle_good_msg() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `105713`
|
||||
// Estimated: `109178`
|
||||
// Minimum execution time: 179_516_000 picoseconds.
|
||||
Weight::from_parts(184_410_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 109178))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
|
||||
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
|
||||
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
|
||||
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
|
||||
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
|
||||
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
fn on_idle_large_msg() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `65782`
|
||||
// Estimated: `69247`
|
||||
// Minimum execution time: 118_325_000 picoseconds.
|
||||
Weight::from_parts(121_904_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 69247))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezframe_system
|
||||
// --pezpallet=pezframe_system
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezframe_system_extensions
|
||||
// --pezpallet=pezframe_system_extensions
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_balances
|
||||
// --pezpallet=pezpallet_balances
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_bridge_grandpa
|
||||
// --pezpallet=pezpallet_bridge_grandpa
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_bridge_messages
|
||||
// --pezpallet=pezpallet_bridge_messages
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_bridge_relayers
|
||||
// --pezpallet=pezpallet_bridge_relayers
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_bridge_teyrchains
|
||||
// --pezpallet=pezpallet_bridge_teyrchains
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_collator_selection
|
||||
// --pezpallet=pezpallet_collator_selection
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_message_queue
|
||||
// --pezpallet=pezpallet_message_queue
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_multisig
|
||||
// --pezpallet=pezpallet_multisig
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_session
|
||||
// --pezpallet=pezpallet_session
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_timestamp
|
||||
// --pezpallet=pezpallet_timestamp
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_transaction_payment
|
||||
// --pezpallet=pezpallet_transaction_payment
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_utility
|
||||
// --pezpallet=pezpallet_utility
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_xcm
|
||||
// --pezpallet=pezpallet_xcm
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+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-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=snowbridge_pezpallet_ethereum_client
|
||||
// --pezpallet=pezsnowbridge_pezpallet_ethereum_client
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
@@ -47,9 +47,9 @@
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `snowbridge_pezpallet_ethereum_client`.
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_ethereum_client`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> snowbridge_pezpallet_ethereum_client::WeightInfo for WeightInfo<T> {
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_ethereum_client::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumBeaconClient::FinalizedBeaconStateIndex` (r:1 w:1)
|
||||
/// Proof: `EthereumBeaconClient::FinalizedBeaconStateIndex` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::FinalizedBeaconStateMapping` (r:1 w:1)
|
||||
|
||||
+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-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=snowbridge_pezpallet_inbound_queue
|
||||
// --pezpallet=pezsnowbridge_pezpallet_inbound_queue
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
@@ -47,9 +47,9 @@
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `snowbridge_pezpallet_inbound_queue`.
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_inbound_queue`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> snowbridge_pezpallet_inbound_queue::WeightInfo for WeightInfo<T> {
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_inbound_queue::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumInboundQueue::OperatingMode` (r:1 w:0)
|
||||
/// Proof: `EthereumInboundQueue::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
|
||||
|
||||
+6
-6
@@ -13,7 +13,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! Autogenerated weights for `snowbridge_pezpallet_inbound_queue_v2`
|
||||
//! Autogenerated weights for `pezsnowbridge_pezpallet_inbound_queue_v2`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2025-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
@@ -24,14 +24,14 @@
|
||||
// Executed Command:
|
||||
// ./target/release/pezkuwi-teyrchain
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --chain
|
||||
// bridge-hub-zagros-dev
|
||||
// --pallet=snowbridge-pezpallet-inbound-queue-v2
|
||||
// --pezpallet=pezsnowbridge-pezpallet-inbound-queue-v2
|
||||
// --extrinsic=*
|
||||
// --wasm-execution=compiled
|
||||
// --output
|
||||
// pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pezpallet_inbound_queue_v2.rs
|
||||
// pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezsnowbridge_pezpallet_inbound_queue_v2.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -41,9 +41,9 @@
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `snowbridge_pezpallet_inbound_queue_v2`.
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_inbound_queue_v2`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> snowbridge_pezpallet_inbound_queue_v2::WeightInfo for WeightInfo<T> {
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_inbound_queue_v2::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumInboundQueueV2::OperatingMode` (r:1 w:0)
|
||||
/// Proof: `EthereumInboundQueueV2::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
|
||||
|
||||
+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-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=snowbridge_pezpallet_outbound_queue
|
||||
// --pezpallet=pezsnowbridge_pezpallet_outbound_queue
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
@@ -47,9 +47,9 @@
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `snowbridge_pezpallet_outbound_queue`.
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_outbound_queue`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> snowbridge_pezpallet_outbound_queue::WeightInfo for WeightInfo<T> {
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_outbound_queue::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumOutboundQueue::MessageLeaves` (r:1 w:1)
|
||||
/// Proof: `EthereumOutboundQueue::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `EthereumOutboundQueue::Nonce` (r:1 w:1)
|
||||
|
||||
+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_v2`
|
||||
//! Autogenerated weights for `pezsnowbridge_pezpallet_outbound_queue_v2`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2025-03-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
@@ -25,10 +25,10 @@
|
||||
// target/release/frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --runtime
|
||||
// target/release/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=snowbridge_pezpallet_outbound_queue_v2
|
||||
// --pezpallet=pezsnowbridge_pezpallet_outbound_queue_v2
|
||||
// --extrinsic
|
||||
// *
|
||||
// --header=./pezcumulus/file_header.txt
|
||||
@@ -44,9 +44,9 @@
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `snowbridge_pezpallet_outbound_queue_v2`.
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_outbound_queue_v2`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> snowbridge_pezpallet_outbound_queue_v2::WeightInfo for WeightInfo<T> {
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_outbound_queue_v2::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:1 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `EthereumOutboundQueueV2::Nonce` (r:1 w:1)
|
||||
|
||||
+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-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=snowbridge_pezpallet_system
|
||||
// --pezpallet=pezsnowbridge_pezpallet_system
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
@@ -47,9 +47,9 @@
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `snowbridge_pezpallet_system`.
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_system`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> snowbridge_pezpallet_system::WeightInfo for WeightInfo<T> {
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_system::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
|
||||
|
||||
+4
-4
@@ -24,15 +24,15 @@
|
||||
// Executed Command:
|
||||
// target/release/pezkuwi-teyrchain
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --chain
|
||||
// bridge-hub-pezkuwichain-dev
|
||||
// --pallet=snowbridge_pezpallet_system
|
||||
// --pezpallet=pezsnowbridge_pezpallet_system
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --output
|
||||
// teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pezpallet_system.rs
|
||||
// teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezsnowbridge_pezpallet_system.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -44,7 +44,7 @@ use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `snowbridge_system`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> snowbridge_pezpallet_system_v2::WeightInfo for WeightInfo<T> {
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_system_v2::WeightInfo for WeightInfo<T> {
|
||||
fn register_token() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `256`
|
||||
|
||||
+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: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pezpallet=pezsnowbridge_pezpallet_ethereum_client
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --heap-pages=4096
|
||||
// --no-storage-info
|
||||
// --no-min-squares
|
||||
// --no-median-slopes
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_ethereum_client`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_ethereum_client::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumBeaconClient::FinalizedBeaconStateIndex` (r:1 w:1)
|
||||
/// Proof: `EthereumBeaconClient::FinalizedBeaconStateIndex` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::FinalizedBeaconStateMapping` (r:1 w:1)
|
||||
/// Proof: `EthereumBeaconClient::FinalizedBeaconStateMapping` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::NextSyncCommittee` (r:0 w:1)
|
||||
/// Proof: `EthereumBeaconClient::NextSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::InitialCheckpointRoot` (r:0 w:1)
|
||||
/// Proof: `EthereumBeaconClient::InitialCheckpointRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::ValidatorsRoot` (r:0 w:1)
|
||||
/// Proof: `EthereumBeaconClient::ValidatorsRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:0 w:1)
|
||||
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::CurrentSyncCommittee` (r:0 w:1)
|
||||
/// Proof: `EthereumBeaconClient::CurrentSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:0 w:1)
|
||||
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
fn force_checkpoint() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42`
|
||||
// Estimated: `3501`
|
||||
// Minimum execution time: 105_684_862_000 picoseconds.
|
||||
Weight::from_parts(105_818_568_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3501))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(8))
|
||||
}
|
||||
/// Storage: `EthereumBeaconClient::OperatingMode` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::NextSyncCommittee` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::NextSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::CurrentSyncCommittee` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::CurrentSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::ValidatorsRoot` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::ValidatorsRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::LatestSyncCommitteeUpdatePeriod` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::LatestSyncCommitteeUpdatePeriod` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
|
||||
fn submit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `92738`
|
||||
// Estimated: `93857`
|
||||
// Minimum execution time: 27_295_666_000 picoseconds.
|
||||
Weight::from_parts(27_351_060_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 93857))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
}
|
||||
/// Storage: `EthereumBeaconClient::OperatingMode` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::NextSyncCommittee` (r:1 w:1)
|
||||
/// Proof: `EthereumBeaconClient::NextSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::CurrentSyncCommittee` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::CurrentSyncCommittee` (`max_values`: Some(1), `max_size`: Some(92372), added: 92867, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::ValidatorsRoot` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::ValidatorsRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::LatestSyncCommitteeUpdatePeriod` (r:1 w:1)
|
||||
/// Proof: `EthereumBeaconClient::LatestSyncCommitteeUpdatePeriod` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
|
||||
fn submit_with_sync_committee() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `92738`
|
||||
// Estimated: `93857`
|
||||
// Minimum execution time: 133_134_525_000 picoseconds.
|
||||
Weight::from_parts(133_396_722_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 93857))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
}
|
||||
+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: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pezpallet=pezsnowbridge_pezpallet_inbound_queue
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --heap-pages=4096
|
||||
// --no-storage-info
|
||||
// --no-min-squares
|
||||
// --no-median-slopes
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_inbound_queue`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_inbound_queue::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumInboundQueue::OperatingMode` (r:1 w:0)
|
||||
/// Proof: `EthereumInboundQueue::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
|
||||
/// Proof: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
|
||||
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumInboundQueue::Nonce` (r:1 w:1)
|
||||
/// Proof: `EthereumInboundQueue::Nonce` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
|
||||
/// Storage: `System::Account` (r:1 w:1)
|
||||
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
||||
fn submit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `657`
|
||||
// Estimated: `4122`
|
||||
// Minimum execution time: 167_375_000 picoseconds.
|
||||
Weight::from_parts(171_989_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4122))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
}
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
// Copyright (C) Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! Autogenerated weights for `pezsnowbridge_pezpallet_inbound_queue_v2`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2025-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `Mac`, CPU: `<UNKNOWN>`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("bridge-hub-zagros-dev")`, DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/release/pezkuwi-teyrchain
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --chain
|
||||
// bridge-hub-zagros-dev
|
||||
// --pezpallet=pezsnowbridge-pezpallet-inbound-queue-v2
|
||||
// --extrinsic=*
|
||||
// --wasm-execution=compiled
|
||||
// --output
|
||||
// pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezsnowbridge_pezpallet_inbound_queue_v2.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_inbound_queue_v2`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_inbound_queue_v2::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumInboundQueueV2::OperatingMode` (r:1 w:0)
|
||||
/// Proof: `EthereumInboundQueueV2::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
|
||||
/// Proof: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
|
||||
/// Storage: `EthereumInboundQueueV2::NonceBitmap` (r:1 w:1)
|
||||
/// Proof: `EthereumInboundQueueV2::NonceBitmap` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
|
||||
/// Storage: `TeyrchainInfo::TeyrchainId` (r:1 w:0)
|
||||
/// Proof: `TeyrchainInfo::TeyrchainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
||||
/// Storage: `BridgeRelayers::RelayerRewards` (r:1 w:1)
|
||||
/// Proof: `BridgeRelayers::RelayerRewards` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)
|
||||
fn submit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `309`
|
||||
// Estimated: `3774`
|
||||
// Minimum execution time: 59_000_000 picoseconds.
|
||||
Weight::from_parts(60_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3774))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
}
|
||||
+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: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pezpallet=pezsnowbridge_pezpallet_outbound_queue
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --heap-pages=4096
|
||||
// --no-storage-info
|
||||
// --no-min-squares
|
||||
// --no-median-slopes
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_outbound_queue`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_outbound_queue::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumOutboundQueue::MessageLeaves` (r:1 w:1)
|
||||
/// Proof: `EthereumOutboundQueue::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `EthereumOutboundQueue::Nonce` (r:1 w:1)
|
||||
/// Proof: `EthereumOutboundQueue::Nonce` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumOutboundQueue::Messages` (r:1 w:1)
|
||||
/// Proof: `EthereumOutboundQueue::Messages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
fn do_process_message() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `80`
|
||||
// Estimated: `3513`
|
||||
// Minimum execution time: 34_948_000 picoseconds.
|
||||
Weight::from_parts(35_561_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3513))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
/// Storage: `EthereumOutboundQueue::MessageLeaves` (r:1 w:0)
|
||||
/// Proof: `EthereumOutboundQueue::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
fn commit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1057`
|
||||
// Estimated: `2542`
|
||||
// Minimum execution time: 29_045_000 picoseconds.
|
||||
Weight::from_parts(29_579_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2542))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
/// Storage: `EthereumOutboundQueue::MessageLeaves` (r:1 w:0)
|
||||
/// Proof: `EthereumOutboundQueue::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
fn commit_single() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `64`
|
||||
// Estimated: `1549`
|
||||
// Minimum execution time: 9_471_000 picoseconds.
|
||||
Weight::from_parts(9_940_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1549))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
}
|
||||
+139
@@ -0,0 +1,139 @@
|
||||
// Copyright (C) Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! Autogenerated weights for `pezsnowbridge_pezpallet_outbound_queue_v2`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2025-03-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `yangdebijibendiannao.local`, CPU: `<UNKNOWN>`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --runtime
|
||||
// target/release/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pezpallet=pezsnowbridge_pezpallet_outbound_queue_v2
|
||||
// --extrinsic
|
||||
// *
|
||||
// --header=./pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
// --extra
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_outbound_queue_v2`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_outbound_queue_v2::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:1 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `EthereumOutboundQueueV2::Nonce` (r:1 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumOutboundQueueV2::Messages` (r:1 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::Messages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `EthereumOutboundQueueV2::PendingOrders` (r:0 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::PendingOrders` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
|
||||
fn do_process_message() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42`
|
||||
// Estimated: `1527`
|
||||
// Minimum execution time: 18_000_000 picoseconds.
|
||||
Weight::from_parts(19_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1527))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:1 w:0)
|
||||
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
fn commit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1128`
|
||||
// Estimated: `2613`
|
||||
// Minimum execution time: 25_000_000 picoseconds.
|
||||
Weight::from_parts(26_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2613))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:1 w:0)
|
||||
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
fn commit_single() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `135`
|
||||
// Estimated: `1620`
|
||||
// Minimum execution time: 9_000_000 picoseconds.
|
||||
Weight::from_parts(10_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1620))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:0 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `EthereumOutboundQueueV2::Messages` (r:0 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::Messages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
fn on_initialize() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 0_000 picoseconds.
|
||||
Weight::from_parts(1_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
/// Storage: `EthereumOutboundQueueV2::Nonce` (r:1 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumOutboundQueueV2::PendingOrders` (r:0 w:32)
|
||||
/// Proof: `EthereumOutboundQueueV2::PendingOrders` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:0 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `EthereumOutboundQueueV2::Messages` (r:0 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::Messages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
fn process() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `113`
|
||||
// Estimated: `1493`
|
||||
// Minimum execution time: 502_000_000 picoseconds.
|
||||
Weight::from_parts(521_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1493))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(35))
|
||||
}
|
||||
/// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::LatestFinalizedBlockRoot` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumBeaconClient::FinalizedBeaconState` (r:1 w:0)
|
||||
/// Proof: `EthereumBeaconClient::FinalizedBeaconState` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
|
||||
/// Proof: UNKNOWN KEY `0xaed97c7854d601808b98ae43079dafb3` (r:1 w:0)
|
||||
/// Storage: `EthereumOutboundQueueV2::PendingOrders` (r:1 w:1)
|
||||
/// Proof: `EthereumOutboundQueueV2::PendingOrders` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
|
||||
fn submit_delivery_receipt() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `320`
|
||||
// Estimated: `3785`
|
||||
// Minimum execution time: 67_000_000 picoseconds.
|
||||
Weight::from_parts(68_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3785))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
}
|
||||
+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: `d3b41be4aae8`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pezpallet=pezsnowbridge_pezpallet_system
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --heap-pages=4096
|
||||
// --no-storage-info
|
||||
// --no-min-squares
|
||||
// --no-median-slopes
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pezsnowbridge_pezpallet_system`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_system::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
fn upgrade() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `218`
|
||||
// Estimated: `3601`
|
||||
// Minimum execution time: 38_129_000 picoseconds.
|
||||
Weight::from_parts(39_195_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3601))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
fn set_operating_mode() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `218`
|
||||
// Estimated: `3601`
|
||||
// Minimum execution time: 29_658_000 picoseconds.
|
||||
Weight::from_parts(30_447_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3601))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::PricingParameters` (r:0 w:1)
|
||||
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
|
||||
fn set_pricing_parameters() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `218`
|
||||
// Estimated: `3601`
|
||||
// Minimum execution time: 34_149_000 picoseconds.
|
||||
Weight::from_parts(35_016_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3601))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
fn set_token_transfer_fees() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `218`
|
||||
// Estimated: `3601`
|
||||
// Minimum execution time: 31_403_000 picoseconds.
|
||||
Weight::from_parts(32_813_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3601))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
/// Storage: `TeyrchainInfo::TeyrchainId` (r:1 w:0)
|
||||
/// Proof: `TeyrchainInfo::TeyrchainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::ForeignToNativeId` (r:1 w:1)
|
||||
/// Proof: `EthereumSystem::ForeignToNativeId` (`max_values`: None, `max_size`: Some(650), added: 3125, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::Channels` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::PricingParameters` (r:1 w:0)
|
||||
/// Proof: `EthereumSystem::PricingParameters` (`max_values`: Some(1), `max_size`: Some(112), added: 607, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumOutboundQueue::OperatingMode` (r:1 w:0)
|
||||
/// Proof: `EthereumOutboundQueue::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
|
||||
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
|
||||
/// Storage: `MessageQueue::Pages` (r:0 w:1)
|
||||
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105549), added: 108024, mode: `MaxEncodedLen`)
|
||||
/// Storage: `EthereumSystem::NativeToForeignId` (r:0 w:1)
|
||||
/// Proof: `EthereumSystem::NativeToForeignId` (`max_values`: None, `max_size`: Some(650), added: 3125, mode: `MaxEncodedLen`)
|
||||
fn register_token() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `293`
|
||||
// Estimated: `4115`
|
||||
// Minimum execution time: 55_903_000 picoseconds.
|
||||
Weight::from_parts(58_248_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4115))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
}
|
||||
+110
@@ -0,0 +1,110 @@
|
||||
// Copyright (C) Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! Autogenerated weights for `snowbridge_system`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-10-09, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `crake.local`, CPU: `<UNKNOWN>`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-pezkuwichain-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/pezkuwi-teyrchain
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --chain
|
||||
// bridge-hub-pezkuwichain-dev
|
||||
// --pezpallet=pezsnowbridge_pezpallet_system
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --output
|
||||
// teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezsnowbridge_pezpallet_system.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use pezframe_support::{traits::Get, weights::Weight};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `snowbridge_system`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: pezframe_system::Config> pezsnowbridge_pezpallet_system_v2::WeightInfo for WeightInfo<T> {
|
||||
fn register_token() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `256`
|
||||
// Estimated: `6044`
|
||||
// Minimum execution time: 45_000_000 picoseconds.
|
||||
Weight::from_parts(45_000_000, 6044)
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
|
||||
/// Storage: TeyrchainInfo TeyrchainId (r:1 w:0)
|
||||
/// Proof: TeyrchainInfo TeyrchainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: EthereumOutboundQueue PezpalletOperatingMode (r:1 w:0)
|
||||
/// Proof: EthereumOutboundQueue PezpalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
|
||||
/// Storage: MessageQueue BookStateFor (r:1 w:1)
|
||||
/// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
/// Storage: MessageQueue ServiceHead (r:1 w:1)
|
||||
/// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen)
|
||||
/// Storage: MessageQueue Pages (r:0 w:1)
|
||||
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)
|
||||
fn upgrade() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `80`
|
||||
// Estimated: `3517`
|
||||
// Minimum execution time: 47_000_000 picoseconds.
|
||||
Weight::from_parts(47_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3517))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
|
||||
/// Storage: TeyrchainInfo TeyrchainId (r:1 w:0)
|
||||
/// Proof: TeyrchainInfo TeyrchainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: EthereumOutboundQueue PezpalletOperatingMode (r:1 w:0)
|
||||
/// Proof: EthereumOutboundQueue PezpalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
|
||||
/// Storage: MessageQueue BookStateFor (r:1 w:1)
|
||||
/// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
/// Storage: MessageQueue ServiceHead (r:1 w:1)
|
||||
/// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen)
|
||||
/// Storage: MessageQueue Pages (r:0 w:1)
|
||||
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)
|
||||
fn set_operating_mode() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `80`
|
||||
// Estimated: `3517`
|
||||
// Minimum execution time: 30_000_000 picoseconds.
|
||||
Weight::from_parts(30_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3517))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
|
||||
fn add_tip() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `80`
|
||||
// Estimated: `3517`
|
||||
// Minimum execution time: 30_000_000 picoseconds.
|
||||
Weight::from_parts(30_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3517))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_xcm_benchmarks::fungible
|
||||
// --pezpallet=pezpallet_xcm_benchmarks::fungible
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm
|
||||
// --wasm-execution=compiled
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
// frame-omni-bencher
|
||||
// v1
|
||||
// benchmark
|
||||
// pallet
|
||||
// pezpallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm
|
||||
// --pallet=pezpallet_xcm_benchmarks::generic
|
||||
// --pezpallet=pezpallet_xcm_benchmarks::generic
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm
|
||||
// --wasm-execution=compiled
|
||||
|
||||
@@ -127,7 +127,7 @@ pub type XcmOriginToTransactDispatchOrigin = (
|
||||
// Native signed account converter; this just converts an `AccountId32` origin into a normal
|
||||
// `RuntimeOrigin::Signed` origin of the same 32-byte value.
|
||||
SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>,
|
||||
// Xcm origins can be represented natively under the Xcm pallet's Xcm origin.
|
||||
// Xcm origins can be represented natively under the Xcm pezpallet's Xcm origin.
|
||||
XcmPassthrough<RuntimeOrigin>,
|
||||
);
|
||||
|
||||
@@ -161,7 +161,7 @@ pub type Barrier = TrailingSetTopicAsId<
|
||||
// If the message is one that immediately attempts to pay for execution, then
|
||||
// allow it.
|
||||
AllowTopLevelPaidExecutionFrom<Everything>,
|
||||
// Parent, its pluralities (i.e. governance bodies) and relay treasury pallet
|
||||
// Parent, its pluralities (i.e. governance bodies) and relay treasury pezpallet
|
||||
// get free execution.
|
||||
AllowExplicitUnpaidExecutionFrom<(
|
||||
ParentOrParentsPlurality,
|
||||
|
||||
@@ -27,7 +27,7 @@ use pezbridge_hub_zagros_runtime::{
|
||||
use codec::{Decode, Encode};
|
||||
use pezcumulus_primitives_core::XcmError::FailedToTransactAsset;
|
||||
use pezframe_support::parameter_types;
|
||||
use snowbridge_pezpallet_ethereum_client::WeightInfo;
|
||||
use pezsnowbridge_pezpallet_ethereum_client::WeightInfo;
|
||||
use pezsp_core::H160;
|
||||
use pezsp_runtime::{
|
||||
generic::{Era, SignedPayload},
|
||||
@@ -98,9 +98,9 @@ pub fn transfer_token_to_ethereum_insufficient_fund() {
|
||||
fn max_message_queue_service_weight_is_more_than_beacon_extrinsic_weights() {
|
||||
let max_message_queue_weight = MessageQueueServiceWeight::get();
|
||||
let force_checkpoint =
|
||||
<Runtime as snowbridge_pezpallet_ethereum_client::Config>::WeightInfo::force_checkpoint();
|
||||
<Runtime as pezsnowbridge_pezpallet_ethereum_client::Config>::WeightInfo::force_checkpoint();
|
||||
let submit_checkpoint =
|
||||
<Runtime as snowbridge_pezpallet_ethereum_client::Config>::WeightInfo::submit();
|
||||
<Runtime as pezsnowbridge_pezpallet_ethereum_client::Config>::WeightInfo::submit();
|
||||
max_message_queue_weight.all_gt(force_checkpoint);
|
||||
max_message_queue_weight.all_gt(submit_checkpoint);
|
||||
}
|
||||
@@ -124,7 +124,7 @@ fn ethereum_to_pezkuwi_message_extrinsics_work() {
|
||||
}
|
||||
|
||||
/// Tests that the digest items are as expected when a Ethereum Outbound message is received.
|
||||
/// If the MessageQueue pallet is configured before (i.e. the MessageQueue pallet is listed before
|
||||
/// If the MessageQueue pezpallet is configured before (i.e. the MessageQueue pezpallet is listed before
|
||||
/// the EthereumOutboundQueue in the construct_runtime macro) the EthereumOutboundQueue, this test
|
||||
/// will fail.
|
||||
#[test]
|
||||
@@ -164,7 +164,7 @@ fn construct_extrinsic(
|
||||
pezframe_system::CheckGenesis::<Runtime>::new(),
|
||||
pezframe_system::CheckEra::<Runtime>::from(Era::immortal()),
|
||||
pezframe_system::CheckNonce::<Runtime>::from(
|
||||
pezframe_system::Pallet::<Runtime>::account(&account_id).nonce,
|
||||
pezframe_system::Pezpallet::<Runtime>::account(&account_id).nonce,
|
||||
),
|
||||
pezframe_system::CheckWeight::<Runtime>::new(),
|
||||
),
|
||||
|
||||
@@ -107,7 +107,7 @@ fn construct_extrinsic(
|
||||
pezframe_system::CheckGenesis::<Runtime>::new(),
|
||||
pezframe_system::CheckEra::<Runtime>::from(Era::immortal()),
|
||||
pezframe_system::CheckNonce::<Runtime>::from(
|
||||
pezframe_system::Pallet::<Runtime>::account(&account_id).nonce,
|
||||
pezframe_system::Pezpallet::<Runtime>::account(&account_id).nonce,
|
||||
),
|
||||
pezframe_system::CheckWeight::<Runtime>::new(),
|
||||
),
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// 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.
|
||||
//! Runtime configuration for MessageQueue pallet
|
||||
//! Runtime configuration for MessageQueue pezpallet
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use core::marker::PhantomData;
|
||||
use pezcumulus_primitives_core::{AggregateMessageOrigin as CumulusAggregateMessageOrigin, ParaId};
|
||||
@@ -27,8 +27,8 @@ use pezsp_core::H256;
|
||||
use xcm::latest::prelude::{Junction, Location};
|
||||
|
||||
/// The aggregate origin of an inbound message.
|
||||
/// This is specialized for BridgeHub, as the snowbridge-outbound-queue-pallet is also using
|
||||
/// the shared MessageQueue pallet.
|
||||
/// This is specialized for BridgeHub, as the snowbridge-outbound-queue-pezpallet is also using
|
||||
/// the shared MessageQueue pezpallet.
|
||||
#[derive(
|
||||
Encode,
|
||||
Decode,
|
||||
|
||||
+3
-3
@@ -51,7 +51,7 @@ pub trait WithRemoteGrandpaChainHelper {
|
||||
InboundPayload = XcmAsPlainPayload,
|
||||
OutboundPayload = XcmAsPlainPayload,
|
||||
> + pezpallet_bridge_relayers::Config<Self::RPI, Reward = Self::RelayerReward>;
|
||||
/// All pallets of this chain, excluding system pallet.
|
||||
/// All pallets of this chain, excluding system pezpallet.
|
||||
type AllPalletsWithoutSystem: OnInitialize<BlockNumberFor<Self::Runtime>>
|
||||
+ OnFinalize<BlockNumberFor<Self::Runtime>>;
|
||||
/// Instance of the `pezpallet-bridge-grandpa`, used to bridge with remote GRANDPA chain.
|
||||
@@ -265,12 +265,12 @@ pub fn free_relay_extrinsic_works<RuntimeHelper>(
|
||||
|
||||
// relayer balance shall not change after relay and para header submissions
|
||||
let initial_relayer_balance =
|
||||
pezpallet_balances::Pallet::<RuntimeHelper::Runtime>::free_balance(
|
||||
pezpallet_balances::Pezpallet::<RuntimeHelper::Runtime>::free_balance(
|
||||
relayer_id_at_this_chain.clone(),
|
||||
);
|
||||
|
||||
// initialize the `FreeHeadersRemaining` storage value
|
||||
pezpallet_bridge_grandpa::Pallet::<RuntimeHelper::Runtime, RuntimeHelper::GPI>::on_initialize(
|
||||
pezpallet_bridge_grandpa::Pezpallet::<RuntimeHelper::Runtime, RuntimeHelper::GPI>::on_initialize(
|
||||
0u32.into(),
|
||||
);
|
||||
|
||||
|
||||
+3
-3
@@ -54,7 +54,7 @@ pub trait WithRemoteTeyrchainHelper {
|
||||
InboundPayload = XcmAsPlainPayload,
|
||||
OutboundPayload = XcmAsPlainPayload,
|
||||
> + pezpallet_bridge_relayers::Config<Self::RPI, Reward = Self::RelayerReward>;
|
||||
/// All pallets of this chain, excluding system pallet.
|
||||
/// All pallets of this chain, excluding system pezpallet.
|
||||
type AllPalletsWithoutSystem: OnInitialize<BlockNumberFor<Self::Runtime>>
|
||||
+ OnFinalize<BlockNumberFor<Self::Runtime>>;
|
||||
/// Instance of the `pezpallet-bridge-grandpa`, used to bridge with remote relay chain.
|
||||
@@ -306,12 +306,12 @@ pub fn free_relay_extrinsic_works<RuntimeHelper>(
|
||||
|
||||
// relayer balance shall not change after relay and para header submissions
|
||||
let initial_relayer_balance =
|
||||
pezpallet_balances::Pallet::<RuntimeHelper::Runtime>::free_balance(
|
||||
pezpallet_balances::Pezpallet::<RuntimeHelper::Runtime>::free_balance(
|
||||
relayer_id_at_this_chain.clone(),
|
||||
);
|
||||
|
||||
// initialize the `FreeHeadersRemaining` storage value
|
||||
pezpallet_bridge_grandpa::Pallet::<RuntimeHelper::Runtime, RuntimeHelper::GPI>::on_initialize(
|
||||
pezpallet_bridge_grandpa::Pezpallet::<RuntimeHelper::Runtime, RuntimeHelper::GPI>::on_initialize(
|
||||
0u32.into(),
|
||||
);
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ impl VerifyTransactionOutcome for Box<dyn VerifyTransactionOutcome> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Checks that the best finalized header hash in the bridge GRANDPA pallet equals to given one.
|
||||
/// Checks that the best finalized header hash in the bridge GRANDPA pezpallet equals to given one.
|
||||
pub struct VerifySubmitGrandpaFinalityProofOutcome<Runtime, GPI>
|
||||
where
|
||||
Runtime: BridgeGrandpaConfig<GPI>,
|
||||
@@ -93,7 +93,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
/// Checks that the best teyrchain header hash in the bridge teyrchains pallet equals to given one.
|
||||
/// Checks that the best teyrchain header hash in the bridge teyrchains pezpallet equals to given one.
|
||||
pub struct VerifySubmitTeyrchainHeaderProofOutcome<Runtime, PPI> {
|
||||
bridged_para_id: u32,
|
||||
expected_best_hash: ParaHash,
|
||||
@@ -129,7 +129,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
/// Checks that the latest delivered nonce in the bridge messages pallet equals to given one.
|
||||
/// Checks that the latest delivered nonce in the bridge messages pezpallet equals to given one.
|
||||
pub struct VerifySubmitMessagesProofOutcome<Runtime: BridgeMessagesConfig<MPI>, MPI: 'static> {
|
||||
lane: LaneIdOf<Runtime, MPI>,
|
||||
expected_nonce: MessageNonce,
|
||||
@@ -222,11 +222,11 @@ where
|
||||
Runtime: pezpallet_balances::Config,
|
||||
{
|
||||
fn verify_outcome(&self) {
|
||||
assert_eq!(pezpallet_balances::Pallet::<Runtime>::free_balance(&self.relayer), self.balance,);
|
||||
assert_eq!(pezpallet_balances::Pezpallet::<Runtime>::free_balance(&self.relayer), self.balance,);
|
||||
}
|
||||
}
|
||||
|
||||
/// Initialize bridge GRANDPA pallet.
|
||||
/// Initialize bridge GRANDPA pezpallet.
|
||||
pub(crate) fn initialize_bridge_grandpa_pallet<Runtime, GPI>(
|
||||
init_data: bp_header_pez_chain::InitializationData<BridgedHeader<Runtime, GPI>>,
|
||||
) where
|
||||
@@ -234,7 +234,7 @@ pub(crate) fn initialize_bridge_grandpa_pallet<Runtime, GPI>(
|
||||
+ pezcumulus_pezpallet_teyrchain_system::Config
|
||||
+ pezpallet_timestamp::Config,
|
||||
{
|
||||
pezpallet_bridge_grandpa::Pallet::<Runtime, GPI>::initialize(
|
||||
pezpallet_bridge_grandpa::Pezpallet::<Runtime, GPI>::initialize(
|
||||
RuntimeHelper::<Runtime>::root_origin(),
|
||||
init_data,
|
||||
)
|
||||
@@ -307,7 +307,7 @@ pub fn relayed_incoming_message_works<Runtime, AllPalletsWithoutSystem, MPI>(
|
||||
2,
|
||||
AccountId::from(alice).into(),
|
||||
);
|
||||
mock_open_hrmp_channel::<Runtime, pezcumulus_pezpallet_teyrchain_system::Pallet<Runtime>>(
|
||||
mock_open_hrmp_channel::<Runtime, pezcumulus_pezpallet_teyrchain_system::Pezpallet<Runtime>>(
|
||||
runtime_para_id.into(),
|
||||
sibling_teyrchain_id.into(),
|
||||
included_head,
|
||||
@@ -325,11 +325,11 @@ pub fn relayed_incoming_message_works<Runtime, AllPalletsWithoutSystem, MPI>(
|
||||
let xcm = vec![Instruction::<()>::ClearOrigin; 42];
|
||||
let expected_dispatch = xcm::latest::Xcm::<()>({
|
||||
let mut expected_instructions = xcm.clone();
|
||||
// dispatch prepends bridge pallet instance
|
||||
// dispatch prepends bridge pezpallet instance
|
||||
expected_instructions.insert(
|
||||
0,
|
||||
DescendOrigin([PalletInstance(
|
||||
<pezpallet_bridge_messages::Pallet<Runtime, MPI> as PalletInfoAccess>::index()
|
||||
<pezpallet_bridge_messages::Pezpallet<Runtime, MPI> as PalletInfoAccess>::index()
|
||||
as u8,
|
||||
)].into()),
|
||||
);
|
||||
@@ -351,7 +351,7 @@ pub fn relayed_incoming_message_works<Runtime, AllPalletsWithoutSystem, MPI>(
|
||||
|
||||
// verify that imported XCM contains original message
|
||||
let imported_xcm =
|
||||
RuntimeHelper::<pezcumulus_pezpallet_xcmp_queue::Pallet<Runtime>>::take_xcm(
|
||||
RuntimeHelper::<pezcumulus_pezpallet_xcmp_queue::Pezpallet<Runtime>>::take_xcm(
|
||||
sibling_teyrchain_id.into(),
|
||||
)
|
||||
.unwrap();
|
||||
@@ -408,7 +408,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub {
|
||||
{
|
||||
// construct expected bridge configuration
|
||||
let locations =
|
||||
pezpallet_xcm_bridge_hub::Pallet::<Runtime, XcmOverBridgePalletInstance>::bridge_locations(
|
||||
pezpallet_xcm_bridge_hub::Pezpallet::<Runtime, XcmOverBridgePalletInstance>::bridge_locations(
|
||||
source.clone().into(),
|
||||
destination.clone().into(),
|
||||
)
|
||||
@@ -426,7 +426,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub {
|
||||
let balance_needed = <Runtime as pezpallet_balances::Config>::ExistentialDeposit::get() + bridge_deposit.into();
|
||||
|
||||
let source_account_id = LocationToAccountId::convert_location(&source).expect("valid location");
|
||||
let _ = <pezpallet_balances::Pallet<Runtime>>::mint_into(&source_account_id, balance_needed)
|
||||
let _ = <pezpallet_balances::Pezpallet<Runtime>>::mint_into(&source_account_id, balance_needed)
|
||||
.expect("mint_into passes");
|
||||
};
|
||||
|
||||
@@ -440,7 +440,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub {
|
||||
let source_account_id =
|
||||
LocationToAccountId::convert_location(&source).expect("valid location");
|
||||
let _ =
|
||||
<pezpallet_balances::Pallet<Runtime>>::mint_into(&source_account_id, balance_needed)
|
||||
<pezpallet_balances::Pezpallet<Runtime>>::mint_into(&source_account_id, balance_needed)
|
||||
.expect("mint_into passes");
|
||||
Some(buy_execution_fee)
|
||||
} else {
|
||||
@@ -458,7 +458,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub {
|
||||
|
||||
// check state
|
||||
assert_ok!(
|
||||
pezpallet_xcm_bridge_hub::Pallet::<Runtime, XcmOverBridgePalletInstance>::do_try_state()
|
||||
pezpallet_xcm_bridge_hub::Pezpallet::<Runtime, XcmOverBridgePalletInstance>::do_try_state()
|
||||
);
|
||||
|
||||
// return locations
|
||||
@@ -509,7 +509,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub {
|
||||
{
|
||||
// insert bridge data directly to the storage
|
||||
assert_ok!(
|
||||
pezpallet_xcm_bridge_hub::Pallet::<Runtime, XcmOverBridgePalletInstance>::do_open_bridge(
|
||||
pezpallet_xcm_bridge_hub::Pezpallet::<Runtime, XcmOverBridgePalletInstance>::do_open_bridge(
|
||||
Box::new(locations),
|
||||
lane_id,
|
||||
true
|
||||
@@ -534,7 +534,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub {
|
||||
{
|
||||
// construct expected bridge configuration
|
||||
let locations =
|
||||
pezpallet_xcm_bridge_hub::Pallet::<Runtime, XcmOverBridgePalletInstance>::bridge_locations(
|
||||
pezpallet_xcm_bridge_hub::Pezpallet::<Runtime, XcmOverBridgePalletInstance>::bridge_locations(
|
||||
expected_source.clone().into(),
|
||||
bridge_destination_universal_location.clone().into(),
|
||||
)
|
||||
@@ -555,7 +555,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub {
|
||||
let source_account_id =
|
||||
LocationToAccountId::convert_location(&expected_source).expect("valid location");
|
||||
let _ =
|
||||
<pezpallet_balances::Pallet<Runtime>>::mint_into(&source_account_id, balance_needed)
|
||||
<pezpallet_balances::Pezpallet<Runtime>>::mint_into(&source_account_id, balance_needed)
|
||||
.expect("mint_into passes");
|
||||
Some(buy_execution_fee)
|
||||
} else {
|
||||
@@ -589,7 +589,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub {
|
||||
|
||||
// check state
|
||||
assert_ok!(
|
||||
pezpallet_xcm_bridge_hub::Pallet::<Runtime, XcmOverBridgePalletInstance>::do_try_state()
|
||||
pezpallet_xcm_bridge_hub::Pezpallet::<Runtime, XcmOverBridgePalletInstance>::do_try_state()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ pub fn initialize_bridge_by_governance_works<Runtime, GrandpaPalletInstance>(
|
||||
})
|
||||
}
|
||||
|
||||
/// Test-case makes sure that `Runtime` can change bridge GRANDPA pallet operating mode via
|
||||
/// Test-case makes sure that `Runtime` can change bridge GRANDPA pezpallet operating mode via
|
||||
/// governance-like call.
|
||||
pub fn change_bridge_grandpa_pallet_mode_by_governance_works<Runtime, GrandpaPalletInstance>(
|
||||
collator_session_key: CollatorSessionKeys<Runtime>,
|
||||
@@ -191,7 +191,7 @@ pub fn change_bridge_grandpa_pallet_mode_by_governance_works<Runtime, GrandpaPal
|
||||
});
|
||||
}
|
||||
|
||||
/// Test-case makes sure that `Runtime` can change bridge teyrchains pallet operating mode via
|
||||
/// Test-case makes sure that `Runtime` can change bridge teyrchains pezpallet operating mode via
|
||||
/// governance-like call.
|
||||
pub fn change_bridge_teyrchains_pallet_mode_by_governance_works<Runtime, TeyrchainsPalletInstance>(
|
||||
collator_session_key: CollatorSessionKeys<Runtime>,
|
||||
@@ -244,7 +244,7 @@ pub fn change_bridge_teyrchains_pallet_mode_by_governance_works<Runtime, Teyrcha
|
||||
});
|
||||
}
|
||||
|
||||
/// Test-case makes sure that `Runtime` can change bridge messaging pallet operating mode via
|
||||
/// Test-case makes sure that `Runtime` can change bridge messaging pezpallet operating mode via
|
||||
/// governance-like call.
|
||||
pub fn change_bridge_messages_pallet_mode_by_governance_works<Runtime, MessagesPalletInstance>(
|
||||
collator_session_key: CollatorSessionKeys<Runtime>,
|
||||
@@ -406,7 +406,7 @@ pub fn handle_export_message_from_system_teyrchain_to_outbound_queue_works<
|
||||
);
|
||||
|
||||
// check events
|
||||
let mut events = <pezframe_system::Pallet<Runtime>>::events()
|
||||
let mut events = <pezframe_system::Pezpallet<Runtime>>::events()
|
||||
.into_iter()
|
||||
.filter_map(|e| unwrap_pallet_bridge_messages_event(e.event.encode()));
|
||||
assert!(events.any(|e| matches!(e, pezpallet_bridge_messages::Event::MessageAccepted { .. })));
|
||||
@@ -499,7 +499,7 @@ pub fn message_dispatch_routing_works<
|
||||
);
|
||||
|
||||
// check events - UpwardMessageSent
|
||||
let mut events = <pezframe_system::Pallet<Runtime>>::events()
|
||||
let mut events = <pezframe_system::Pezpallet<Runtime>>::events()
|
||||
.into_iter()
|
||||
.filter_map(|e| unwrap_pezcumulus_pezpallet_teyrchain_system_event(e.event.encode()));
|
||||
assert!(events.any(|e| matches!(
|
||||
@@ -534,7 +534,7 @@ pub fn message_dispatch_routing_works<
|
||||
|
||||
// check events - no XcmpMessageSent
|
||||
assert_eq!(
|
||||
<pezframe_system::Pallet<Runtime>>::events()
|
||||
<pezframe_system::Pezpallet<Runtime>>::events()
|
||||
.into_iter()
|
||||
.filter_map(|e| unwrap_pezcumulus_pezpallet_xcmp_queue_event(e.event.encode()))
|
||||
.count(),
|
||||
@@ -562,7 +562,7 @@ pub fn message_dispatch_routing_works<
|
||||
);
|
||||
|
||||
// check events - XcmpMessageSent
|
||||
let mut events = <pezframe_system::Pallet<Runtime>>::events()
|
||||
let mut events = <pezframe_system::Pezpallet<Runtime>>::events()
|
||||
.into_iter()
|
||||
.filter_map(|e| unwrap_pezcumulus_pezpallet_xcmp_queue_event(e.event.encode()));
|
||||
assert!(
|
||||
@@ -689,7 +689,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub {
|
||||
{
|
||||
run_test::<Runtime, _>(collator_session_key, runtime_para_id, vec![], || {
|
||||
// construct expected bridge configuration
|
||||
let locations = pezpallet_xcm_bridge_hub::Pallet::<Runtime, XcmOverBridgePalletInstance>::bridge_locations(
|
||||
let locations = pezpallet_xcm_bridge_hub::Pezpallet::<Runtime, XcmOverBridgePalletInstance>::bridge_locations(
|
||||
expected_source.clone().into(),
|
||||
destination.clone().into(),
|
||||
).expect("valid bridge locations");
|
||||
|
||||
@@ -47,7 +47,7 @@ pub fn prepare_inbound_xcm(xcm_message: Xcm<()>, destination: InteriorLocation)
|
||||
}
|
||||
|
||||
/// Helper that creates InitializationData mock data, that can be used to initialize bridge
|
||||
/// GRANDPA pallet
|
||||
/// GRANDPA pezpallet
|
||||
pub fn initialization_data<
|
||||
Runtime: pezpallet_bridge_grandpa::Config<GrandpaPalletInstance>,
|
||||
GrandpaPalletInstance: 'static,
|
||||
|
||||
Reference in New Issue
Block a user