coretime_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/coretime-rococo-runtime/coretime_rococo_runtime.wasm
31// --pallet=pallet_xcm
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/coretime/coretime-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: `212`
66 // Estimated: `3677`
67 // Minimum execution time: 31_555_000 picoseconds.
68 Weight::from_parts(32_773_000, 0)
69 .saturating_add(Weight::from_parts(0, 3677))
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: `244`
92 // Estimated: `3709`
93 // Minimum execution time: 116_744_000 picoseconds.
94 Weight::from_parts(120_244_000, 0)
95 .saturating_add(Weight::from_parts(0, 3709))
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: `Broker::Regions` (r:1 w:1)
104 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, 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: `System::Account` (r:1 w:1)
110 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
111 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
112 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
113 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
114 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
115 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
116 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
117 fn reserve_transfer_assets() -> Weight {
118 // Proof Size summary in bytes:
119 // Measured: `345`
120 // Estimated: `3810`
121 // Minimum execution time: 116_448_000 picoseconds.
122 Weight::from_parts(118_864_000, 0)
123 .saturating_add(Weight::from_parts(0, 3810))
124 .saturating_add(T::DbWeight::get().reads(8))
125 .saturating_add(T::DbWeight::get().writes(4))
126 }
127 /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
128 /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
129 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
130 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
131 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
132 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
133 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
134 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
135 /// Storage: `System::Account` (r:1 w:1)
136 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
137 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
138 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
139 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
140 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
141 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
142 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
143 fn transfer_assets() -> Weight {
144 // Proof Size summary in bytes:
145 // Measured: `244`
146 // Estimated: `3709`
147 // Minimum execution time: 117_177_000 picoseconds.
148 Weight::from_parts(120_737_000, 0)
149 .saturating_add(Weight::from_parts(0, 3709))
150 .saturating_add(T::DbWeight::get().reads(7))
151 .saturating_add(T::DbWeight::get().writes(3))
152 }
153 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
154 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
155 fn execute() -> Weight {
156 // Proof Size summary in bytes:
157 // Measured: `0`
158 // Estimated: `1485`
159 // Minimum execution time: 9_083_000 picoseconds.
160 Weight::from_parts(9_616_000, 0)
161 .saturating_add(Weight::from_parts(0, 1485))
162 .saturating_add(T::DbWeight::get().reads(1))
163 }
164 /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
165 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
166 fn force_xcm_version() -> Weight {
167 // Proof Size summary in bytes:
168 // Measured: `0`
169 // Estimated: `0`
170 // Minimum execution time: 7_808_000 picoseconds.
171 Weight::from_parts(8_180_000, 0)
172 .saturating_add(Weight::from_parts(0, 0))
173 .saturating_add(T::DbWeight::get().writes(1))
174 }
175 fn force_default_xcm_version() -> Weight {
176 // Proof Size summary in bytes:
177 // Measured: `0`
178 // Estimated: `0`
179 // Minimum execution time: 2_309_000 picoseconds.
180 Weight::from_parts(2_495_000, 0)
181 .saturating_add(Weight::from_parts(0, 0))
182 }
183 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
184 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
185 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
186 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
187 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
188 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
189 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
190 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
191 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
192 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
193 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
194 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
195 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
196 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
197 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
198 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
199 fn force_subscribe_version_notify() -> Weight {
200 // Proof Size summary in bytes:
201 // Measured: `212`
202 // Estimated: `3677`
203 // Minimum execution time: 38_166_000 picoseconds.
204 Weight::from_parts(39_769_000, 0)
205 .saturating_add(Weight::from_parts(0, 3677))
206 .saturating_add(T::DbWeight::get().reads(6))
207 .saturating_add(T::DbWeight::get().writes(5))
208 }
209 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
210 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
211 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
212 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
213 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
214 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
215 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
216 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
217 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0)
218 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
219 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1)
220 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
221 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
222 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
223 fn force_unsubscribe_version_notify() -> Weight {
224 // Proof Size summary in bytes:
225 // Measured: `371`
226 // Estimated: `108971`
227 // Minimum execution time: 42_995_000 picoseconds.
228 Weight::from_parts(44_315_000, 0)
229 .saturating_add(Weight::from_parts(0, 108971))
230 .saturating_add(T::DbWeight::get().reads(6))
231 .saturating_add(T::DbWeight::get().writes(3))
232 }
233 /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
234 /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
235 fn force_suspension() -> Weight {
236 // Proof Size summary in bytes:
237 // Measured: `0`
238 // Estimated: `0`
239 // Minimum execution time: 2_409_000 picoseconds.
240 Weight::from_parts(2_518_000, 0)
241 .saturating_add(Weight::from_parts(0, 0))
242 .saturating_add(T::DbWeight::get().writes(1))
243 }
244 /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
245 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
246 fn migrate_supported_version() -> Weight {
247 // Proof Size summary in bytes:
248 // Measured: `23`
249 // Estimated: `15863`
250 // Minimum execution time: 20_235_000 picoseconds.
251 Weight::from_parts(20_606_000, 0)
252 .saturating_add(Weight::from_parts(0, 15863))
253 .saturating_add(T::DbWeight::get().reads(6))
254 .saturating_add(T::DbWeight::get().writes(2))
255 }
256 /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
257 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
258 fn migrate_version_notifiers() -> Weight {
259 // Proof Size summary in bytes:
260 // Measured: `27`
261 // Estimated: `15867`
262 // Minimum execution time: 20_259_000 picoseconds.
263 Weight::from_parts(21_120_000, 0)
264 .saturating_add(Weight::from_parts(0, 15867))
265 .saturating_add(T::DbWeight::get().reads(6))
266 .saturating_add(T::DbWeight::get().writes(2))
267 }
268 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
269 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
270 fn already_notified_target() -> Weight {
271 // Proof Size summary in bytes:
272 // Measured: `79`
273 // Estimated: `18394`
274 // Minimum execution time: 25_370_000 picoseconds.
275 Weight::from_parts(25_734_000, 0)
276 .saturating_add(Weight::from_parts(0, 18394))
277 .saturating_add(T::DbWeight::get().reads(7))
278 }
279 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
280 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
281 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
282 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
283 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
284 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
285 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
286 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
287 fn notify_current_targets() -> Weight {
288 // Proof Size summary in bytes:
289 // Measured: `155`
290 // Estimated: `6095`
291 // Minimum execution time: 35_587_000 picoseconds.
292 Weight::from_parts(37_045_000, 0)
293 .saturating_add(Weight::from_parts(0, 6095))
294 .saturating_add(T::DbWeight::get().reads(5))
295 .saturating_add(T::DbWeight::get().writes(1))
296 }
297 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
298 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
299 fn notify_target_migration_fail() -> Weight {
300 // Proof Size summary in bytes:
301 // Measured: `79`
302 // Estimated: `13444`
303 // Minimum execution time: 17_717_000 picoseconds.
304 Weight::from_parts(18_247_000, 0)
305 .saturating_add(Weight::from_parts(0, 13444))
306 .saturating_add(T::DbWeight::get().reads(5))
307 }
308 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
309 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
310 fn migrate_version_notify_targets() -> Weight {
311 // Proof Size summary in bytes:
312 // Measured: `34`
313 // Estimated: `15874`
314 // Minimum execution time: 20_002_000 picoseconds.
315 Weight::from_parts(20_802_000, 0)
316 .saturating_add(Weight::from_parts(0, 15874))
317 .saturating_add(T::DbWeight::get().reads(6))
318 .saturating_add(T::DbWeight::get().writes(2))
319 }
320 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1)
321 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
322 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
323 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
324 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
325 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
326 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
327 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
328 fn migrate_and_notify_old_targets() -> Weight {
329 // Proof Size summary in bytes:
330 // Measured: `155`
331 // Estimated: `15995`
332 // Minimum execution time: 45_805_000 picoseconds.
333 Weight::from_parts(47_379_000, 0)
334 .saturating_add(Weight::from_parts(0, 15995))
335 .saturating_add(T::DbWeight::get().reads(9))
336 .saturating_add(T::DbWeight::get().writes(1))
337 }
338 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
339 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
340 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
341 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
342 fn new_query() -> Weight {
343 // Proof Size summary in bytes:
344 // Measured: `0`
345 // Estimated: `1485`
346 // Minimum execution time: 2_673_000 picoseconds.
347 Weight::from_parts(2_817_000, 0)
348 .saturating_add(Weight::from_parts(0, 1485))
349 .saturating_add(T::DbWeight::get().reads(1))
350 .saturating_add(T::DbWeight::get().writes(2))
351 }
352 /// Storage: `PolkadotXcm::Queries` (r:1 w:1)
353 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
354 fn take_response() -> Weight {
355 // Proof Size summary in bytes:
356 // Measured: `7576`
357 // Estimated: `11041`
358 // Minimum execution time: 27_286_000 picoseconds.
359 Weight::from_parts(28_304_000, 0)
360 .saturating_add(Weight::from_parts(0, 11041))
361 .saturating_add(T::DbWeight::get().reads(1))
362 .saturating_add(T::DbWeight::get().writes(1))
363 }
364 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
365 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
366 /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
367 /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
368 fn claim_assets() -> Weight {
369 // Proof Size summary in bytes:
370 // Measured: `24`
371 // Estimated: `3489`
372 // Minimum execution time: 39_233_000 picoseconds.
373 Weight::from_parts(40_152_000, 0)
374 .saturating_add(Weight::from_parts(0, 3489))
375 .saturating_add(T::DbWeight::get().reads(2))
376 .saturating_add(T::DbWeight::get().writes(1))
377 }
378 /// Storage: `Benchmark::Override` (r:0 w:0)
379 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
380 fn add_authorized_alias() -> Weight {
381 // Proof Size summary in bytes:
382 // Measured: `0`
383 // Estimated: `0`
384 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
385 Weight::from_parts(18_446_744_073_709_551_000, 0)
386 .saturating_add(Weight::from_parts(0, 0))
387 }
388 /// Storage: `Benchmark::Override` (r:0 w:0)
389 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
390 fn remove_authorized_alias() -> Weight {
391 // Proof Size summary in bytes:
392 // Measured: `0`
393 // Estimated: `0`
394 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
395 Weight::from_parts(18_446_744_073_709_551_000, 0)
396 .saturating_add(Weight::from_parts(0, 0))
397 }
398 fn weigh_message() -> Weight {
399 // Proof Size summary in bytes:
400 // Measured: `0`
401 // Estimated: `0`
402 // Minimum execution time: 8_233_000 picoseconds.
403 Weight::from_parts(8_339_000, 0)
404 .saturating_add(Weight::from_parts(0, 0))
405 }
406}