collectives_westend_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/collectives-westend-runtime/collectives_westend_runtime.wasm
31// --pallet=pallet_xcm
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/collectives/collectives-westend/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: `ParachainInfo::ParachainId` (r:1 w:0)
54 /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
55 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
56 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
57 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
58 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
59 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
60 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
61 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
62 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
63 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
64 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
65 fn send() -> Weight {
66 // Proof Size summary in bytes:
67 // Measured: `347`
68 // Estimated: `3812`
69 // Minimum execution time: 36_462_000 picoseconds.
70 Weight::from_parts(37_913_000, 0)
71 .saturating_add(Weight::from_parts(0, 3812))
72 .saturating_add(T::DbWeight::get().reads(5))
73 .saturating_add(T::DbWeight::get().writes(2))
74 }
75 /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
76 /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
77 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
78 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
79 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
80 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
81 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
82 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
83 /// Storage: `System::Account` (r:1 w:1)
84 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
85 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
86 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
87 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
88 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
89 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
90 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
91 fn teleport_assets() -> Weight {
92 // Proof Size summary in bytes:
93 // Measured: `347`
94 // Estimated: `3812`
95 // Minimum execution time: 124_821_000 picoseconds.
96 Weight::from_parts(129_294_000, 0)
97 .saturating_add(Weight::from_parts(0, 3812))
98 .saturating_add(T::DbWeight::get().reads(7))
99 .saturating_add(T::DbWeight::get().writes(3))
100 }
101 /// Storage: `Benchmark::Override` (r:0 w:0)
102 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
103 fn reserve_transfer_assets() -> Weight {
104 // Proof Size summary in bytes:
105 // Measured: `0`
106 // Estimated: `0`
107 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
108 Weight::from_parts(18_446_744_073_709_551_000, 0)
109 .saturating_add(Weight::from_parts(0, 0))
110 }
111 /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
112 /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
113 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
114 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
115 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
116 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
117 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
118 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
119 /// Storage: `System::Account` (r:1 w:1)
120 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
121 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
122 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
123 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
124 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
125 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
126 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
127 fn transfer_assets() -> Weight {
128 // Proof Size summary in bytes:
129 // Measured: `347`
130 // Estimated: `3812`
131 // Minimum execution time: 125_175_000 picoseconds.
132 Weight::from_parts(129_316_000, 0)
133 .saturating_add(Weight::from_parts(0, 3812))
134 .saturating_add(T::DbWeight::get().reads(7))
135 .saturating_add(T::DbWeight::get().writes(3))
136 }
137 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
138 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
139 fn execute() -> Weight {
140 // Proof Size summary in bytes:
141 // Measured: `0`
142 // Estimated: `1485`
143 // Minimum execution time: 9_788_000 picoseconds.
144 Weight::from_parts(10_155_000, 0)
145 .saturating_add(Weight::from_parts(0, 1485))
146 .saturating_add(T::DbWeight::get().reads(1))
147 }
148 /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
149 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
150 fn force_xcm_version() -> Weight {
151 // Proof Size summary in bytes:
152 // Measured: `0`
153 // Estimated: `0`
154 // Minimum execution time: 8_371_000 picoseconds.
155 Weight::from_parts(8_737_000, 0)
156 .saturating_add(Weight::from_parts(0, 0))
157 .saturating_add(T::DbWeight::get().writes(1))
158 }
159 fn force_default_xcm_version() -> Weight {
160 // Proof Size summary in bytes:
161 // Measured: `0`
162 // Estimated: `0`
163 // Minimum execution time: 2_326_000 picoseconds.
164 Weight::from_parts(2_620_000, 0)
165 .saturating_add(Weight::from_parts(0, 0))
166 }
167 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
168 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
169 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
170 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
171 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
172 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
173 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
174 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
175 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
176 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
177 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
178 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
179 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
180 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
181 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
182 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
183 fn force_subscribe_version_notify() -> Weight {
184 // Proof Size summary in bytes:
185 // Measured: `278`
186 // Estimated: `3743`
187 // Minimum execution time: 40_534_000 picoseconds.
188 Weight::from_parts(43_788_000, 0)
189 .saturating_add(Weight::from_parts(0, 3743))
190 .saturating_add(T::DbWeight::get().reads(6))
191 .saturating_add(T::DbWeight::get().writes(5))
192 }
193 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
194 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
195 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
196 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
197 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
198 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
199 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
200 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
201 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0)
202 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
203 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1)
204 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
205 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
206 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
207 fn force_unsubscribe_version_notify() -> Weight {
208 // Proof Size summary in bytes:
209 // Measured: `437`
210 // Estimated: `108971`
211 // Minimum execution time: 45_700_000 picoseconds.
212 Weight::from_parts(46_886_000, 0)
213 .saturating_add(Weight::from_parts(0, 108971))
214 .saturating_add(T::DbWeight::get().reads(6))
215 .saturating_add(T::DbWeight::get().writes(3))
216 }
217 /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
218 /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
219 fn force_suspension() -> Weight {
220 // Proof Size summary in bytes:
221 // Measured: `0`
222 // Estimated: `0`
223 // Minimum execution time: 2_405_000 picoseconds.
224 Weight::from_parts(2_537_000, 0)
225 .saturating_add(Weight::from_parts(0, 0))
226 .saturating_add(T::DbWeight::get().writes(1))
227 }
228 /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
229 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
230 fn migrate_supported_version() -> Weight {
231 // Proof Size summary in bytes:
232 // Measured: `22`
233 // Estimated: `15862`
234 // Minimum execution time: 22_934_000 picoseconds.
235 Weight::from_parts(23_538_000, 0)
236 .saturating_add(Weight::from_parts(0, 15862))
237 .saturating_add(T::DbWeight::get().reads(6))
238 .saturating_add(T::DbWeight::get().writes(2))
239 }
240 /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
241 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
242 fn migrate_version_notifiers() -> Weight {
243 // Proof Size summary in bytes:
244 // Measured: `26`
245 // Estimated: `15866`
246 // Minimum execution time: 22_627_000 picoseconds.
247 Weight::from_parts(23_273_000, 0)
248 .saturating_add(Weight::from_parts(0, 15866))
249 .saturating_add(T::DbWeight::get().reads(6))
250 .saturating_add(T::DbWeight::get().writes(2))
251 }
252 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
253 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
254 fn already_notified_target() -> Weight {
255 // Proof Size summary in bytes:
256 // Measured: `39`
257 // Estimated: `18354`
258 // Minimum execution time: 25_357_000 picoseconds.
259 Weight::from_parts(25_887_000, 0)
260 .saturating_add(Weight::from_parts(0, 18354))
261 .saturating_add(T::DbWeight::get().reads(7))
262 }
263 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
264 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
265 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
266 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
267 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
268 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
269 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
270 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
271 fn notify_current_targets() -> Weight {
272 // Proof Size summary in bytes:
273 // Measured: `220`
274 // Estimated: `6160`
275 // Minimum execution time: 37_185_000 picoseconds.
276 Weight::from_parts(38_533_000, 0)
277 .saturating_add(Weight::from_parts(0, 6160))
278 .saturating_add(T::DbWeight::get().reads(5))
279 .saturating_add(T::DbWeight::get().writes(1))
280 }
281 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
282 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
283 fn notify_target_migration_fail() -> Weight {
284 // Proof Size summary in bytes:
285 // Measured: `39`
286 // Estimated: `13404`
287 // Minimum execution time: 17_694_000 picoseconds.
288 Weight::from_parts(18_163_000, 0)
289 .saturating_add(Weight::from_parts(0, 13404))
290 .saturating_add(T::DbWeight::get().reads(5))
291 }
292 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
293 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
294 fn migrate_version_notify_targets() -> Weight {
295 // Proof Size summary in bytes:
296 // Measured: `33`
297 // Estimated: `15873`
298 // Minimum execution time: 22_115_000 picoseconds.
299 Weight::from_parts(23_026_000, 0)
300 .saturating_add(Weight::from_parts(0, 15873))
301 .saturating_add(T::DbWeight::get().reads(6))
302 .saturating_add(T::DbWeight::get().writes(2))
303 }
304 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1)
305 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
306 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
307 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
308 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
309 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
310 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
311 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
312 fn migrate_and_notify_old_targets() -> Weight {
313 // Proof Size summary in bytes:
314 // Measured: `220`
315 // Estimated: `16060`
316 // Minimum execution time: 48_193_000 picoseconds.
317 Weight::from_parts(49_682_000, 0)
318 .saturating_add(Weight::from_parts(0, 16060))
319 .saturating_add(T::DbWeight::get().reads(9))
320 .saturating_add(T::DbWeight::get().writes(1))
321 }
322 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
323 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
324 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
325 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
326 fn new_query() -> Weight {
327 // Proof Size summary in bytes:
328 // Measured: `0`
329 // Estimated: `1485`
330 // Minimum execution time: 2_749_000 picoseconds.
331 Weight::from_parts(2_872_000, 0)
332 .saturating_add(Weight::from_parts(0, 1485))
333 .saturating_add(T::DbWeight::get().reads(1))
334 .saturating_add(T::DbWeight::get().writes(2))
335 }
336 /// Storage: `PolkadotXcm::Queries` (r:1 w:1)
337 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
338 fn take_response() -> Weight {
339 // Proof Size summary in bytes:
340 // Measured: `7576`
341 // Estimated: `11041`
342 // Minimum execution time: 30_864_000 picoseconds.
343 Weight::from_parts(31_461_000, 0)
344 .saturating_add(Weight::from_parts(0, 11041))
345 .saturating_add(T::DbWeight::get().reads(1))
346 .saturating_add(T::DbWeight::get().writes(1))
347 }
348 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
349 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
350 /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
351 /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
352 fn claim_assets() -> Weight {
353 // Proof Size summary in bytes:
354 // Measured: `23`
355 // Estimated: `3488`
356 // Minimum execution time: 40_991_000 picoseconds.
357 Weight::from_parts(42_264_000, 0)
358 .saturating_add(Weight::from_parts(0, 3488))
359 .saturating_add(T::DbWeight::get().reads(2))
360 .saturating_add(T::DbWeight::get().writes(1))
361 }
362 /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1)
363 /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`)
364 /// Storage: `Balances::Holds` (r:1 w:1)
365 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`)
366 fn add_authorized_alias() -> Weight {
367 // Proof Size summary in bytes:
368 // Measured: `160`
369 // Estimated: `3625`
370 // Minimum execution time: 52_085_000 picoseconds.
371 Weight::from_parts(53_710_000, 0)
372 .saturating_add(Weight::from_parts(0, 3625))
373 .saturating_add(T::DbWeight::get().reads(2))
374 .saturating_add(T::DbWeight::get().writes(2))
375 }
376 /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1)
377 /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`)
378 /// Storage: `Balances::Holds` (r:1 w:1)
379 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`)
380 fn remove_authorized_alias() -> Weight {
381 // Proof Size summary in bytes:
382 // Measured: `516`
383 // Estimated: `3981`
384 // Minimum execution time: 53_918_000 picoseconds.
385 Weight::from_parts(54_668_000, 0)
386 .saturating_add(Weight::from_parts(0, 3981))
387 .saturating_add(T::DbWeight::get().reads(2))
388 .saturating_add(T::DbWeight::get().writes(2))
389 }
390 fn weigh_message() -> Weight {
391 // Proof Size summary in bytes:
392 // Measured: `0`
393 // Estimated: `0`
394 // Minimum execution time: 8_201_000 picoseconds.
395 Weight::from_parts(8_365_000, 0)
396 .saturating_add(Weight::from_parts(0, 0))
397 }
398}