asset_hub_rococo_runtime/weights/pallet_xcm.rs
1// Copyright (C) Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
3
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16//! Autogenerated weights for `pallet_xcm`
17//!
18//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
19//! DATE: 2025-07-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20//! WORST CASE MAP SIZE: `1000000`
21//! HOSTNAME: `a49f76527979`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
23
24// Executed Command:
25// frame-omni-bencher
26// v1
27// benchmark
28// pallet
29// --extrinsic=*
30// --runtime=target/production/wbuild/asset-hub-rococo-runtime/asset_hub_rococo_runtime.wasm
31// --pallet=pallet_xcm
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights
34// --wasm-execution=compiled
35// --steps=50
36// --repeat=20
37// --heap-pages=4096
38// --no-storage-info
39// --no-min-squares
40// --no-median-slopes
41
42#![cfg_attr(rustfmt, rustfmt_skip)]
43#![allow(unused_parens)]
44#![allow(unused_imports)]
45#![allow(missing_docs)]
46
47use frame_support::{traits::Get, weights::Weight};
48use core::marker::PhantomData;
49
50/// Weight functions for `pallet_xcm`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
53 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
54 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
55 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
56 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
57 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
58 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
59 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
60 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
61 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
62 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
63 fn send() -> Weight {
64 // Proof Size summary in bytes:
65 // Measured: `245`
66 // Estimated: `3710`
67 // Minimum execution time: 31_621_000 picoseconds.
68 Weight::from_parts(33_059_000, 0)
69 .saturating_add(Weight::from_parts(0, 3710))
70 .saturating_add(T::DbWeight::get().reads(4))
71 .saturating_add(T::DbWeight::get().writes(2))
72 }
73 /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
74 /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
75 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
76 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
77 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
78 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
79 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
80 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
81 /// Storage: `System::Account` (r:1 w:1)
82 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
83 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
84 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
85 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
86 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
87 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
88 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
89 fn teleport_assets() -> Weight {
90 // Proof Size summary in bytes:
91 // Measured: `277`
92 // Estimated: `3742`
93 // Minimum execution time: 120_046_000 picoseconds.
94 Weight::from_parts(123_674_000, 0)
95 .saturating_add(Weight::from_parts(0, 3742))
96 .saturating_add(T::DbWeight::get().reads(7))
97 .saturating_add(T::DbWeight::get().writes(3))
98 }
99 /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
100 /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
101 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
102 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
103 /// Storage: `System::Account` (r:2 w:2)
104 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
105 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
106 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
107 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
108 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
109 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
110 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
111 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
112 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
113 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
114 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
115 fn reserve_transfer_assets() -> Weight {
116 // Proof Size summary in bytes:
117 // Measured: `329`
118 // Estimated: `6196`
119 // Minimum execution time: 136_136_000 picoseconds.
120 Weight::from_parts(140_390_000, 0)
121 .saturating_add(Weight::from_parts(0, 6196))
122 .saturating_add(T::DbWeight::get().reads(8))
123 .saturating_add(T::DbWeight::get().writes(4))
124 }
125 /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
126 /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
127 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
128 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
129 /// Storage: `Assets::Asset` (r:1 w:1)
130 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
131 /// Storage: `Assets::Account` (r:2 w:2)
132 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
133 /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:0)
134 /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
135 /// Storage: `System::Account` (r:2 w:2)
136 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
137 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
138 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
139 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
140 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
141 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
142 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
143 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
144 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
145 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
146 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
147 fn transfer_assets() -> Weight {
148 // Proof Size summary in bytes:
149 // Measured: `669`
150 // Estimated: `6208`
151 // Minimum execution time: 187_283_000 picoseconds.
152 Weight::from_parts(195_176_000, 0)
153 .saturating_add(Weight::from_parts(0, 6208))
154 .saturating_add(T::DbWeight::get().reads(12))
155 .saturating_add(T::DbWeight::get().writes(7))
156 }
157 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
158 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
159 fn execute() -> Weight {
160 // Proof Size summary in bytes:
161 // Measured: `0`
162 // Estimated: `1485`
163 // Minimum execution time: 10_096_000 picoseconds.
164 Weight::from_parts(10_505_000, 0)
165 .saturating_add(Weight::from_parts(0, 1485))
166 .saturating_add(T::DbWeight::get().reads(1))
167 }
168 /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
169 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
170 fn force_xcm_version() -> Weight {
171 // Proof Size summary in bytes:
172 // Measured: `0`
173 // Estimated: `0`
174 // Minimum execution time: 8_024_000 picoseconds.
175 Weight::from_parts(8_375_000, 0)
176 .saturating_add(Weight::from_parts(0, 0))
177 .saturating_add(T::DbWeight::get().writes(1))
178 }
179 fn force_default_xcm_version() -> Weight {
180 // Proof Size summary in bytes:
181 // Measured: `0`
182 // Estimated: `0`
183 // Minimum execution time: 2_480_000 picoseconds.
184 Weight::from_parts(2_590_000, 0)
185 .saturating_add(Weight::from_parts(0, 0))
186 }
187 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
188 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
189 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
190 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
191 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
192 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
193 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
194 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
195 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
196 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
197 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
198 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
199 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
200 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
201 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
202 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
203 fn force_subscribe_version_notify() -> Weight {
204 // Proof Size summary in bytes:
205 // Measured: `245`
206 // Estimated: `3710`
207 // Minimum execution time: 38_995_000 picoseconds.
208 Weight::from_parts(40_184_000, 0)
209 .saturating_add(Weight::from_parts(0, 3710))
210 .saturating_add(T::DbWeight::get().reads(6))
211 .saturating_add(T::DbWeight::get().writes(5))
212 }
213 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
214 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
215 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
216 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
217 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
218 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
219 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
220 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
221 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0)
222 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
223 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1)
224 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
225 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
226 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
227 fn force_unsubscribe_version_notify() -> Weight {
228 // Proof Size summary in bytes:
229 // Measured: `404`
230 // Estimated: `108971`
231 // Minimum execution time: 43_832_000 picoseconds.
232 Weight::from_parts(45_241_000, 0)
233 .saturating_add(Weight::from_parts(0, 108971))
234 .saturating_add(T::DbWeight::get().reads(6))
235 .saturating_add(T::DbWeight::get().writes(3))
236 }
237 /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
238 /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
239 fn force_suspension() -> Weight {
240 // Proof Size summary in bytes:
241 // Measured: `0`
242 // Estimated: `0`
243 // Minimum execution time: 2_395_000 picoseconds.
244 Weight::from_parts(2_546_000, 0)
245 .saturating_add(Weight::from_parts(0, 0))
246 .saturating_add(T::DbWeight::get().writes(1))
247 }
248 /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
249 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
250 fn migrate_supported_version() -> Weight {
251 // Proof Size summary in bytes:
252 // Measured: `22`
253 // Estimated: `15862`
254 // Minimum execution time: 22_061_000 picoseconds.
255 Weight::from_parts(22_555_000, 0)
256 .saturating_add(Weight::from_parts(0, 15862))
257 .saturating_add(T::DbWeight::get().reads(6))
258 .saturating_add(T::DbWeight::get().writes(2))
259 }
260 /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
261 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
262 fn migrate_version_notifiers() -> Weight {
263 // Proof Size summary in bytes:
264 // Measured: `26`
265 // Estimated: `15866`
266 // Minimum execution time: 21_646_000 picoseconds.
267 Weight::from_parts(22_119_000, 0)
268 .saturating_add(Weight::from_parts(0, 15866))
269 .saturating_add(T::DbWeight::get().reads(6))
270 .saturating_add(T::DbWeight::get().writes(2))
271 }
272 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
273 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
274 fn already_notified_target() -> Weight {
275 // Proof Size summary in bytes:
276 // Measured: `39`
277 // Estimated: `18354`
278 // Minimum execution time: 25_937_000 picoseconds.
279 Weight::from_parts(26_388_000, 0)
280 .saturating_add(Weight::from_parts(0, 18354))
281 .saturating_add(T::DbWeight::get().reads(7))
282 }
283 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
284 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
285 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
286 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
287 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
288 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
289 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
290 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
291 fn notify_current_targets() -> Weight {
292 // Proof Size summary in bytes:
293 // Measured: `187`
294 // Estimated: `6127`
295 // Minimum execution time: 36_716_000 picoseconds.
296 Weight::from_parts(38_269_000, 0)
297 .saturating_add(Weight::from_parts(0, 6127))
298 .saturating_add(T::DbWeight::get().reads(5))
299 .saturating_add(T::DbWeight::get().writes(1))
300 }
301 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
302 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
303 fn notify_target_migration_fail() -> Weight {
304 // Proof Size summary in bytes:
305 // Measured: `39`
306 // Estimated: `13404`
307 // Minimum execution time: 17_974_000 picoseconds.
308 Weight::from_parts(18_407_000, 0)
309 .saturating_add(Weight::from_parts(0, 13404))
310 .saturating_add(T::DbWeight::get().reads(5))
311 }
312 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
313 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
314 fn migrate_version_notify_targets() -> Weight {
315 // Proof Size summary in bytes:
316 // Measured: `33`
317 // Estimated: `15873`
318 // Minimum execution time: 21_964_000 picoseconds.
319 Weight::from_parts(22_610_000, 0)
320 .saturating_add(Weight::from_parts(0, 15873))
321 .saturating_add(T::DbWeight::get().reads(6))
322 .saturating_add(T::DbWeight::get().writes(2))
323 }
324 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1)
325 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
326 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
327 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
328 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
329 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
330 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
331 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
332 fn migrate_and_notify_old_targets() -> Weight {
333 // Proof Size summary in bytes:
334 // Measured: `187`
335 // Estimated: `16027`
336 // Minimum execution time: 46_704_000 picoseconds.
337 Weight::from_parts(49_027_000, 0)
338 .saturating_add(Weight::from_parts(0, 16027))
339 .saturating_add(T::DbWeight::get().reads(9))
340 .saturating_add(T::DbWeight::get().writes(1))
341 }
342 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
343 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
344 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
345 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
346 fn new_query() -> Weight {
347 // Proof Size summary in bytes:
348 // Measured: `0`
349 // Estimated: `1485`
350 // Minimum execution time: 2_694_000 picoseconds.
351 Weight::from_parts(2_829_000, 0)
352 .saturating_add(Weight::from_parts(0, 1485))
353 .saturating_add(T::DbWeight::get().reads(1))
354 .saturating_add(T::DbWeight::get().writes(2))
355 }
356 /// Storage: `PolkadotXcm::Queries` (r:1 w:1)
357 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
358 fn take_response() -> Weight {
359 // Proof Size summary in bytes:
360 // Measured: `7576`
361 // Estimated: `11041`
362 // Minimum execution time: 27_767_000 picoseconds.
363 Weight::from_parts(28_348_000, 0)
364 .saturating_add(Weight::from_parts(0, 11041))
365 .saturating_add(T::DbWeight::get().reads(1))
366 .saturating_add(T::DbWeight::get().writes(1))
367 }
368 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
369 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
370 /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
371 /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
372 /// Storage: `Assets::Asset` (r:1 w:1)
373 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
374 /// Storage: `Assets::Account` (r:1 w:1)
375 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
376 fn claim_assets() -> Weight {
377 // Proof Size summary in bytes:
378 // Measured: `303`
379 // Estimated: `3768`
380 // Minimum execution time: 45_836_000 picoseconds.
381 Weight::from_parts(47_883_000, 0)
382 .saturating_add(Weight::from_parts(0, 3768))
383 .saturating_add(T::DbWeight::get().reads(4))
384 .saturating_add(T::DbWeight::get().writes(3))
385 }
386 /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1)
387 /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`)
388 /// Storage: `Balances::Holds` (r:1 w:1)
389 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`)
390 fn add_authorized_alias() -> Weight {
391 // Proof Size summary in bytes:
392 // Measured: `160`
393 // Estimated: `3625`
394 // Minimum execution time: 50_608_000 picoseconds.
395 Weight::from_parts(51_989_000, 0)
396 .saturating_add(Weight::from_parts(0, 3625))
397 .saturating_add(T::DbWeight::get().reads(2))
398 .saturating_add(T::DbWeight::get().writes(2))
399 }
400 /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1)
401 /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`)
402 /// Storage: `Balances::Holds` (r:1 w:1)
403 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`)
404 fn remove_authorized_alias() -> Weight {
405 // Proof Size summary in bytes:
406 // Measured: `516`
407 // Estimated: `3981`
408 // Minimum execution time: 52_003_000 picoseconds.
409 Weight::from_parts(52_989_000, 0)
410 .saturating_add(Weight::from_parts(0, 3981))
411 .saturating_add(T::DbWeight::get().reads(2))
412 .saturating_add(T::DbWeight::get().writes(2))
413 }
414 fn weigh_message() -> Weight {
415 // Proof Size summary in bytes:
416 // Measured: `0`
417 // Estimated: `0`
418 // Minimum execution time: 8_416_000 picoseconds.
419 Weight::from_parts(8_668_000, 0)
420 .saturating_add(Weight::from_parts(0, 0))
421 }
422}