427 lines
22 KiB
Rust
427 lines
22 KiB
Rust
// Copyright (C) Parity Technologies (UK) Ltd.
|
|
// This file is part of Bizinikiwi.
|
|
// 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 `pezpallet_xcm`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
|
//! DATE: 2024-12-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `c0a5c14955e4`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-next-zagros-dev")`, DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// target/production/pezkuwi-teyrchain
|
|
// benchmark
|
|
// pallet
|
|
// --extrinsic=*
|
|
// --chain=asset-hub-next-zagros-dev
|
|
// --pallet=pezpallet_xcm
|
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
|
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights
|
|
// --wasm-execution=compiled
|
|
// --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 `pezpallet_xcm`.
|
|
pub struct WeightInfo<T>(PhantomData<T>);
|
|
impl<T: pezframe_system::Config> pezpallet_xcm::WeightInfo for WeightInfo<T> {
|
|
/// Storage: `TeyrchainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SupportedVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::VersionDiscoveryQueue` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SafeXcmVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::HostConfiguration` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::PendingUpwardMessages` (r:1 w:1)
|
|
/// Proof: `TeyrchainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
fn send() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `145`
|
|
// Estimated: `3610`
|
|
// Minimum execution time: 28_333_000 picoseconds.
|
|
Weight::from_parts(29_115_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3610))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `TeyrchainInfo::TeyrchainId` (r:1 w:0)
|
|
/// Proof: `TeyrchainInfo::TeyrchainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
|
/// Storage: `PezkuwiXcm::ShouldRecordXcm` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SupportedVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::VersionDiscoveryQueue` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SafeXcmVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// Storage: `TeyrchainSystem::HostConfiguration` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::PendingUpwardMessages` (r:1 w:1)
|
|
/// Proof: `TeyrchainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
fn teleport_assets() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `145`
|
|
// Estimated: `3610`
|
|
// Minimum execution time: 111_150_000 picoseconds.
|
|
Weight::from_parts(113_250_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3610))
|
|
.saturating_add(T::DbWeight::get().reads(9))
|
|
.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: `PezkuwiXcm::ShouldRecordXcm` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `System::Account` (r:2 w:2)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
|
|
/// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
|
|
/// Storage: `PezkuwiXcm::SupportedVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::VersionDiscoveryQueue` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SafeXcmVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::RelevantMessagingState` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
|
|
/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
|
|
/// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
|
|
/// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
|
|
fn reserve_transfer_assets() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `400`
|
|
// Estimated: `6196`
|
|
// Minimum execution time: 135_730_000 picoseconds.
|
|
Weight::from_parts(140_479_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 6196))
|
|
.saturating_add(T::DbWeight::get().reads(10))
|
|
.saturating_add(T::DbWeight::get().writes(5))
|
|
}
|
|
/// Storage: `TeyrchainInfo::TeyrchainId` (r:1 w:0)
|
|
/// Proof: `TeyrchainInfo::TeyrchainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
|
/// Storage: `PezkuwiXcm::ShouldRecordXcm` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `Assets::Asset` (r:1 w:1)
|
|
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
|
|
/// Storage: `Assets::Account` (r:2 w:2)
|
|
/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
|
|
/// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:0)
|
|
/// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:2 w:2)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// Storage: `TeyrchainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SupportedVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::VersionDiscoveryQueue` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SafeXcmVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::HostConfiguration` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::PendingUpwardMessages` (r:1 w:1)
|
|
/// Proof: `TeyrchainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
fn transfer_assets() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `571`
|
|
// Estimated: `6208`
|
|
// Minimum execution time: 174_654_000 picoseconds.
|
|
Weight::from_parts(182_260_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 6208))
|
|
.saturating_add(T::DbWeight::get().reads(14))
|
|
.saturating_add(T::DbWeight::get().writes(7))
|
|
}
|
|
/// Storage: `PezkuwiXcm::ShouldRecordXcm` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
fn execute() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `103`
|
|
// Estimated: `1588`
|
|
// Minimum execution time: 12_750_000 picoseconds.
|
|
Weight::from_parts(13_124_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 1588))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
}
|
|
/// Storage: `PezkuwiXcm::SupportedVersion` (r:0 w:1)
|
|
/// Proof: `PezkuwiXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn force_xcm_version() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 7_083_000 picoseconds.
|
|
Weight::from_parts(7_353_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 0))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `PezkuwiXcm::SafeXcmVersion` (r:0 w:1)
|
|
/// Proof: `PezkuwiXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
fn force_default_xcm_version() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 2_254_000 picoseconds.
|
|
Weight::from_parts(2_408_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 0))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `PezkuwiXcm::VersionNotifiers` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::QueryCounter` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SupportedVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::VersionDiscoveryQueue` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SafeXcmVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::HostConfiguration` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::PendingUpwardMessages` (r:1 w:1)
|
|
/// Proof: `TeyrchainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::Queries` (r:0 w:1)
|
|
/// Proof: `PezkuwiXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn force_subscribe_version_notify() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `145`
|
|
// Estimated: `3610`
|
|
// Minimum execution time: 34_983_000 picoseconds.
|
|
Weight::from_parts(35_949_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3610))
|
|
.saturating_add(T::DbWeight::get().reads(8))
|
|
.saturating_add(T::DbWeight::get().writes(5))
|
|
}
|
|
/// Storage: `PezkuwiXcm::VersionNotifiers` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SupportedVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::VersionDiscoveryQueue` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SafeXcmVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::HostConfiguration` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::PendingUpwardMessages` (r:1 w:1)
|
|
/// Proof: `TeyrchainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::Queries` (r:0 w:1)
|
|
/// Proof: `PezkuwiXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn force_unsubscribe_version_notify() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `363`
|
|
// Estimated: `3828`
|
|
// Minimum execution time: 38_226_000 picoseconds.
|
|
Weight::from_parts(39_353_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3828))
|
|
.saturating_add(T::DbWeight::get().reads(7))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
/// Storage: `PezkuwiXcm::XcmExecutionSuspended` (r:0 w:1)
|
|
/// Proof: `PezkuwiXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
fn force_suspension() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 2_254_000 picoseconds.
|
|
Weight::from_parts(2_432_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 0))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `PezkuwiXcm::SupportedVersion` (r:6 w:2)
|
|
/// Proof: `PezkuwiXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn migrate_supported_version() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `159`
|
|
// Estimated: `15999`
|
|
// Minimum execution time: 25_561_000 picoseconds.
|
|
Weight::from_parts(26_274_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 15999))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `PezkuwiXcm::VersionNotifiers` (r:6 w:2)
|
|
/// Proof: `PezkuwiXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn migrate_version_notifiers() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `163`
|
|
// Estimated: `16003`
|
|
// Minimum execution time: 25_950_000 picoseconds.
|
|
Weight::from_parts(26_532_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 16003))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `PezkuwiXcm::VersionNotifyTargets` (r:7 w:0)
|
|
/// Proof: `PezkuwiXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn already_notified_target() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `173`
|
|
// Estimated: `18488`
|
|
// Minimum execution time: 28_508_000 picoseconds.
|
|
Weight::from_parts(29_178_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 18488))
|
|
.saturating_add(T::DbWeight::get().reads(7))
|
|
}
|
|
/// Storage: `PezkuwiXcm::VersionNotifyTargets` (r:2 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SupportedVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::VersionDiscoveryQueue` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SafeXcmVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::HostConfiguration` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::PendingUpwardMessages` (r:1 w:1)
|
|
/// Proof: `TeyrchainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
fn notify_current_targets() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `212`
|
|
// Estimated: `6152`
|
|
// Minimum execution time: 33_244_000 picoseconds.
|
|
Weight::from_parts(33_946_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 6152))
|
|
.saturating_add(T::DbWeight::get().reads(8))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: `PezkuwiXcm::VersionNotifyTargets` (r:5 w:0)
|
|
/// Proof: `PezkuwiXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn notify_target_migration_fail() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `176`
|
|
// Estimated: `13541`
|
|
// Minimum execution time: 18_071_000 picoseconds.
|
|
Weight::from_parts(18_677_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 13541))
|
|
.saturating_add(T::DbWeight::get().reads(5))
|
|
}
|
|
/// Storage: `PezkuwiXcm::VersionNotifyTargets` (r:6 w:2)
|
|
/// Proof: `PezkuwiXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn migrate_version_notify_targets() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `170`
|
|
// Estimated: `16010`
|
|
// Minimum execution time: 25_605_000 picoseconds.
|
|
Weight::from_parts(26_284_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 16010))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `PezkuwiXcm::VersionNotifyTargets` (r:6 w:2)
|
|
/// Proof: `PezkuwiXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SupportedVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::VersionDiscoveryQueue` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::SafeXcmVersion` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::HostConfiguration` (r:1 w:0)
|
|
/// Proof: `TeyrchainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `TeyrchainSystem::PendingUpwardMessages` (r:1 w:1)
|
|
/// Proof: `TeyrchainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
fn migrate_and_notify_old_targets() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `212`
|
|
// Estimated: `16052`
|
|
// Minimum execution time: 46_991_000 picoseconds.
|
|
Weight::from_parts(47_866_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 16052))
|
|
.saturating_add(T::DbWeight::get().reads(12))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
/// Storage: `PezkuwiXcm::QueryCounter` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::Queries` (r:0 w:1)
|
|
/// Proof: `PezkuwiXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn new_query() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `103`
|
|
// Estimated: `1588`
|
|
// Minimum execution time: 5_685_000 picoseconds.
|
|
Weight::from_parts(5_816_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 1588))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `PezkuwiXcm::Queries` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn take_response() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `7740`
|
|
// Estimated: `11205`
|
|
// Minimum execution time: 31_271_000 picoseconds.
|
|
Weight::from_parts(32_195_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 11205))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `PezkuwiXcm::ShouldRecordXcm` (r:1 w:0)
|
|
/// Proof: `PezkuwiXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `PezkuwiXcm::AssetTraps` (r:1 w:1)
|
|
/// Proof: `PezkuwiXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn claim_assets() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `160`
|
|
// Estimated: `3625`
|
|
// Minimum execution time: 43_530_000 picoseconds.
|
|
Weight::from_parts(44_942_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3625))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
fn add_authorized_alias() -> Weight {
|
|
Weight::from_parts(100_000, 0)
|
|
}
|
|
fn remove_authorized_alias() -> Weight {
|
|
Weight::from_parts(100_000, 0)
|
|
}
|
|
|
|
fn weigh_message() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 7_785_000 picoseconds.
|
|
Weight::from_parts(8_077_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 0))
|
|
}
|
|
}
|