difftreelog
chore weigh xcm-pallet
in: master
1 file changed
runtime/common/weights/xcm.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_xcm4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.16//! DATE: 2024-05-24, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024910// Executed Command:11// ./target/production/unique-collator12// benchmark13// pallet14// --pallet15// pallet-xcm16// --wasm-execution17// compiled18// --extrinsic19// *20// --template=.maintain/external-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./runtime/common/weights/xcm.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(missing_docs)]30#![allow(clippy::unnecessary_cast)]3132use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};33use sp_std::marker::PhantomData;3435/// Weights for pallet_xcm using the Substrate node and recommended hardware.36pub struct SubstrateWeight<T>(PhantomData<T>);37impl<T: frame_system::Config> pallet_xcm::WeightInfo for SubstrateWeight<T> {38 /// Storage: `Benchmark::Override` (r:0 w:0)39 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)40 fn send() -> Weight {41 // Proof Size summary in bytes:42 // Measured: `0`43 // Estimated: `0`44 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.45 Weight::from_parts(18_446_744_073_709_551_000, 0)46 }47 /// Storage: `Benchmark::Override` (r:0 w:0)48 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)49 fn teleport_assets() -> Weight {50 // Proof Size summary in bytes:51 // Measured: `0`52 // Estimated: `0`53 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.54 Weight::from_parts(18_446_744_073_709_551_000, 0)55 }56 /// Storage: `Benchmark::Override` (r:0 w:0)57 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)58 fn reserve_transfer_assets() -> Weight {59 // Proof Size summary in bytes:60 // Measured: `0`61 // Estimated: `0`62 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.63 Weight::from_parts(18_446_744_073_709_551_000, 0)64 }65 /// Storage: `Benchmark::Override` (r:0 w:0)66 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)67 fn transfer_assets() -> Weight {68 // Proof Size summary in bytes:69 // Measured: `0`70 // Estimated: `0`71 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.72 Weight::from_parts(18_446_744_073_709_551_000, 0)73 }74 fn execute() -> Weight {75 // Proof Size summary in bytes:76 // Measured: `0`77 // Estimated: `0`78 // Minimum execution time: 3_230_000 picoseconds.79 Weight::from_parts(3_390_000, 0)80 }81 /// Storage: `Benchmark::Override` (r:0 w:0)82 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)83 fn force_xcm_version() -> Weight {84 // Proof Size summary in bytes:85 // Measured: `0`86 // Estimated: `0`87 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.88 Weight::from_parts(18_446_744_073_709_551_000, 0)89 }90 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)91 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)92 fn force_default_xcm_version() -> Weight {93 // Proof Size summary in bytes:94 // Measured: `0`95 // Estimated: `0`96 // Minimum execution time: 1_020_000 picoseconds.97 Weight::from_parts(1_120_000, 0)98 .saturating_add(T::DbWeight::get().writes(1_u64))99 }100 /// Storage: `Benchmark::Override` (r:0 w:0)101 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)102 fn force_subscribe_version_notify() -> Weight {103 // Proof Size summary in bytes:104 // Measured: `0`105 // Estimated: `0`106 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.107 Weight::from_parts(18_446_744_073_709_551_000, 0)108 }109 /// Storage: `Benchmark::Override` (r:0 w:0)110 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)111 fn force_unsubscribe_version_notify() -> Weight {112 // Proof Size summary in bytes:113 // Measured: `0`114 // Estimated: `0`115 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.116 Weight::from_parts(18_446_744_073_709_551_000, 0)117 }118 /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)119 /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)120 fn force_suspension() -> Weight {121 // Proof Size summary in bytes:122 // Measured: `0`123 // Estimated: `0`124 // Minimum execution time: 1_050_000 picoseconds.125 Weight::from_parts(1_150_000, 0)126 .saturating_add(T::DbWeight::get().writes(1_u64))127 }128 /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2)129 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)130 fn migrate_supported_version() -> Weight {131 // Proof Size summary in bytes:132 // Measured: `192`133 // Estimated: `13557`134 // Minimum execution time: 13_400_000 picoseconds.135 Weight::from_parts(13_670_000, 13557)136 .saturating_add(T::DbWeight::get().reads(5_u64))137 .saturating_add(T::DbWeight::get().writes(2_u64))138 }139 /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2)140 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)141 fn migrate_version_notifiers() -> Weight {142 // Proof Size summary in bytes:143 // Measured: `196`144 // Estimated: `13561`145 // Minimum execution time: 13_160_000 picoseconds.146 Weight::from_parts(13_650_000, 13561)147 .saturating_add(T::DbWeight::get().reads(5_u64))148 .saturating_add(T::DbWeight::get().writes(2_u64))149 }150 /// Storage: `Benchmark::Override` (r:0 w:0)151 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)152 fn already_notified_target() -> Weight {153 // Proof Size summary in bytes:154 // Measured: `0`155 // Estimated: `0`156 // Minimum execution time: 25_000_000 picoseconds.157 Weight::from_parts(25_000_000, 0)158 }159 /// Storage: `Benchmark::Override` (r:0 w:0)160 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)161 fn notify_current_targets() -> Weight {162 // Proof Size summary in bytes:163 // Measured: `0`164 // Estimated: `0`165 // Minimum execution time: 325_000_000 picoseconds.166 Weight::from_parts(325_000_000, 0)167 }168 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0)169 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)170 fn notify_target_migration_fail() -> Weight {171 // Proof Size summary in bytes:172 // Measured: `239`173 // Estimated: `11129`174 // Minimum execution time: 8_250_000 picoseconds.175 Weight::from_parts(8_780_000, 11129)176 .saturating_add(T::DbWeight::get().reads(4_u64))177 }178 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2)179 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)180 fn migrate_version_notify_targets() -> Weight {181 // Proof Size summary in bytes:182 // Measured: `203`183 // Estimated: `13568`184 // Minimum execution time: 13_240_000 picoseconds.185 Weight::from_parts(13_650_000, 13568)186 .saturating_add(T::DbWeight::get().reads(5_u64))187 .saturating_add(T::DbWeight::get().writes(2_u64))188 }189 /// Storage: `Benchmark::Override` (r:0 w:0)190 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)191 fn migrate_and_notify_old_targets() -> Weight {192 // Proof Size summary in bytes:193 // Measured: `0`194 // Estimated: `0`195 // Minimum execution time: 325_000_000 picoseconds.196 Weight::from_parts(325_000_000, 0)197 }198 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)199 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)200 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)201 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)202 fn new_query() -> Weight {203 // Proof Size summary in bytes:204 // Measured: `136`205 // Estimated: `1621`206 // Minimum execution time: 3_440_000 picoseconds.207 Weight::from_parts(3_560_000, 1621)208 .saturating_add(T::DbWeight::get().reads(1_u64))209 .saturating_add(T::DbWeight::get().writes(2_u64))210 }211 /// Storage: `PolkadotXcm::Queries` (r:1 w:1)212 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)213 fn take_response() -> Weight {214 // Proof Size summary in bytes:215 // Measured: `7773`216 // Estimated: `11238`217 // Minimum execution time: 19_230_000 picoseconds.218 Weight::from_parts(19_550_000, 11238)219 .saturating_add(T::DbWeight::get().reads(1_u64))220 .saturating_add(T::DbWeight::get().writes(1_u64))221 }222 /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)223 /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)224 /// Storage: `ForeignAssets::ForeignAssetToCollection` (r:1 w:0)225 /// Proof: `ForeignAssets::ForeignAssetToCollection` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)226 /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)227 /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)228 fn claim_assets() -> Weight {229 // Proof Size summary in bytes:230 // Measured: `366`231 // Estimated: `4079`232 // Minimum execution time: 25_540_000 picoseconds.233 Weight::from_parts(26_250_000, 4079)234 .saturating_add(T::DbWeight::get().reads(3_u64))235 .saturating_add(T::DbWeight::get().writes(1_u64))236 }237}2381// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_xcm4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.16//! DATE: 2024-05-27, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024910// Executed Command:11// ./target/production/unique-collator12// benchmark13// pallet14// --pallet15// pallet-xcm16// --wasm-execution17// compiled18// --extrinsic19// *20// --template=.maintain/external-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./runtime/common/weights/xcm.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(missing_docs)]30#![allow(clippy::unnecessary_cast)]3132use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};33use sp_std::marker::PhantomData;3435/// Weights for pallet_xcm using the Substrate node and recommended hardware.36pub struct SubstrateWeight<T>(PhantomData<T>);37impl<T: frame_system::Config> pallet_xcm::WeightInfo for SubstrateWeight<T> {38 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)39 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)40 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)41 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)42 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)43 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)44 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)45 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)46 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)47 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)48 fn send() -> Weight {49 // Proof Size summary in bytes:50 // Measured: `278`51 // Estimated: `3743`52 // Minimum execution time: 18_977_000 picoseconds.53 Weight::from_parts(19_535_000, 3743)54 .saturating_add(T::DbWeight::get().reads(5_u64))55 .saturating_add(T::DbWeight::get().writes(2_u64))56 }57 /// Storage: `Benchmark::Override` (r:0 w:0)58 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)59 fn teleport_assets() -> Weight {60 // Proof Size summary in bytes:61 // Measured: `0`62 // Estimated: `0`63 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.64 Weight::from_parts(18_446_744_073_709_551_000, 0)65 }66 /// Storage: `Benchmark::Override` (r:0 w:0)67 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)68 fn reserve_transfer_assets() -> Weight {69 // Proof Size summary in bytes:70 // Measured: `0`71 // Estimated: `0`72 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.73 Weight::from_parts(18_446_744_073_709_551_000, 0)74 }75 /// Storage: `Benchmark::Override` (r:0 w:0)76 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)77 fn transfer_assets() -> Weight {78 // Proof Size summary in bytes:79 // Measured: `0`80 // Estimated: `0`81 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.82 Weight::from_parts(18_446_744_073_709_551_000, 0)83 }84 fn execute() -> Weight {85 // Proof Size summary in bytes:86 // Measured: `0`87 // Estimated: `0`88 // Minimum execution time: 6_781_000 picoseconds.89 Weight::from_parts(7_006_000, 0)90 }91 /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)92 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)93 fn force_xcm_version() -> Weight {94 // Proof Size summary in bytes:95 // Measured: `0`96 // Estimated: `0`97 // Minimum execution time: 6_489_000 picoseconds.98 Weight::from_parts(6_849_000, 0)99 .saturating_add(T::DbWeight::get().writes(1_u64))100 }101 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)102 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)103 fn force_default_xcm_version() -> Weight {104 // Proof Size summary in bytes:105 // Measured: `0`106 // Estimated: `0`107 // Minimum execution time: 2_216_000 picoseconds.108 Weight::from_parts(2_347_000, 0)109 .saturating_add(T::DbWeight::get().writes(1_u64))110 }111 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)112 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)113 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)114 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)115 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)116 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)117 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)118 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)119 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)120 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)121 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)122 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)123 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)124 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)125 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)126 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)127 fn force_subscribe_version_notify() -> Weight {128 // Proof Size summary in bytes:129 // Measured: `278`130 // Estimated: `3743`131 // Minimum execution time: 24_128_000 picoseconds.132 Weight::from_parts(24_629_000, 3743)133 .saturating_add(T::DbWeight::get().reads(7_u64))134 .saturating_add(T::DbWeight::get().writes(5_u64))135 }136 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)137 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)138 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)139 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)140 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)141 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)142 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)143 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)144 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)145 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)146 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)147 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)148 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)149 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)150 fn force_unsubscribe_version_notify() -> Weight {151 // Proof Size summary in bytes:152 // Measured: `461`153 // Estimated: `3926`154 // Minimum execution time: 25_408_000 picoseconds.155 Weight::from_parts(25_912_000, 3926)156 .saturating_add(T::DbWeight::get().reads(6_u64))157 .saturating_add(T::DbWeight::get().writes(4_u64))158 }159 /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)160 /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)161 fn force_suspension() -> Weight {162 // Proof Size summary in bytes:163 // Measured: `0`164 // Estimated: `0`165 // Minimum execution time: 2_270_000 picoseconds.166 Weight::from_parts(2_379_000, 0)167 .saturating_add(T::DbWeight::get().writes(1_u64))168 }169 /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2)170 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)171 fn migrate_supported_version() -> Weight {172 // Proof Size summary in bytes:173 // Measured: `192`174 // Estimated: `13557`175 // Minimum execution time: 17_924_000 picoseconds.176 Weight::from_parts(18_191_000, 13557)177 .saturating_add(T::DbWeight::get().reads(5_u64))178 .saturating_add(T::DbWeight::get().writes(2_u64))179 }180 /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2)181 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)182 fn migrate_version_notifiers() -> Weight {183 // Proof Size summary in bytes:184 // Measured: `196`185 // Estimated: `13561`186 // Minimum execution time: 17_998_000 picoseconds.187 Weight::from_parts(18_412_000, 13561)188 .saturating_add(T::DbWeight::get().reads(5_u64))189 .saturating_add(T::DbWeight::get().writes(2_u64))190 }191 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:0)192 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)193 fn already_notified_target() -> Weight {194 // Proof Size summary in bytes:195 // Measured: `207`196 // Estimated: `16047`197 // Minimum execution time: 19_437_000 picoseconds.198 Weight::from_parts(19_891_000, 16047)199 .saturating_add(T::DbWeight::get().reads(6_u64))200 }201 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)202 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)203 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)204 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)205 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)206 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)207 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)208 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)209 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)210 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)211 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)212 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)213 fn notify_current_targets() -> Weight {214 // Proof Size summary in bytes:215 // Measured: `345`216 // Estimated: `6285`217 // Minimum execution time: 24_038_000 picoseconds.218 Weight::from_parts(24_400_000, 6285)219 .saturating_add(T::DbWeight::get().reads(7_u64))220 .saturating_add(T::DbWeight::get().writes(3_u64))221 }222 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0)223 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)224 fn notify_target_migration_fail() -> Weight {225 // Proof Size summary in bytes:226 // Measured: `239`227 // Estimated: `11129`228 // Minimum execution time: 10_817_000 picoseconds.229 Weight::from_parts(11_066_000, 11129)230 .saturating_add(T::DbWeight::get().reads(4_u64))231 }232 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2)233 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)234 fn migrate_version_notify_targets() -> Weight {235 // Proof Size summary in bytes:236 // Measured: `203`237 // Estimated: `13568`238 // Minimum execution time: 18_143_000 picoseconds.239 Weight::from_parts(18_592_000, 13568)240 .saturating_add(T::DbWeight::get().reads(5_u64))241 .saturating_add(T::DbWeight::get().writes(2_u64))242 }243 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2)244 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)245 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)246 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)247 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)248 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)249 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)250 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)251 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)252 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)253 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)254 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)255 fn migrate_and_notify_old_targets() -> Weight {256 // Proof Size summary in bytes:257 // Measured: `345`258 // Estimated: `13710`259 // Minimum execution time: 31_871_000 picoseconds.260 Weight::from_parts(32_364_000, 13710)261 .saturating_add(T::DbWeight::get().reads(10_u64))262 .saturating_add(T::DbWeight::get().writes(4_u64))263 }264 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)265 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)266 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)267 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)268 fn new_query() -> Weight {269 // Proof Size summary in bytes:270 // Measured: `136`271 // Estimated: `1621`272 // Minimum execution time: 4_750_000 picoseconds.273 Weight::from_parts(5_014_000, 1621)274 .saturating_add(T::DbWeight::get().reads(1_u64))275 .saturating_add(T::DbWeight::get().writes(2_u64))276 }277 /// Storage: `PolkadotXcm::Queries` (r:1 w:1)278 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)279 fn take_response() -> Weight {280 // Proof Size summary in bytes:281 // Measured: `7773`282 // Estimated: `11238`283 // Minimum execution time: 25_672_000 picoseconds.284 Weight::from_parts(25_937_000, 11238)285 .saturating_add(T::DbWeight::get().reads(1_u64))286 .saturating_add(T::DbWeight::get().writes(1_u64))287 }288 /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)289 /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)290 /// Storage: `ForeignAssets::ForeignAssetToCollection` (r:1 w:0)291 /// Proof: `ForeignAssets::ForeignAssetToCollection` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)292 /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)293 /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)294 fn claim_assets() -> Weight {295 // Proof Size summary in bytes:296 // Measured: `366`297 // Estimated: `4079`298 // Minimum execution time: 44_409_000 picoseconds.299 Weight::from_parts(45_102_000, 4079)300 .saturating_add(T::DbWeight::get().reads(3_u64))301 .saturating_add(T::DbWeight::get().writes(1_u64))302 }303}304