bridge_hub_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/bridge-hub-westend-runtime/bridge_hub_westend_runtime.wasm
31// --pallet=pallet_xcm
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/bridge-hubs/bridge-hub-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: `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: `278`
66 // Estimated: `3743`
67 // Minimum execution time: 30_703_000 picoseconds.
68 Weight::from_parts(32_412_000, 0)
69 .saturating_add(Weight::from_parts(0, 3743))
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: `347`
92 // Estimated: `3812`
93 // Minimum execution time: 122_307_000 picoseconds.
94 Weight::from_parts(127_200_000, 0)
95 .saturating_add(Weight::from_parts(0, 3812))
96 .saturating_add(T::DbWeight::get().reads(7))
97 .saturating_add(T::DbWeight::get().writes(3))
98 }
99 /// Storage: `Benchmark::Override` (r:0 w:0)
100 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
101 fn reserve_transfer_assets() -> Weight {
102 // Proof Size summary in bytes:
103 // Measured: `0`
104 // Estimated: `0`
105 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
106 Weight::from_parts(18_446_744_073_709_551_000, 0)
107 .saturating_add(Weight::from_parts(0, 0))
108 }
109 /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
110 /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
111 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
112 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
113 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
114 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
115 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
116 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
117 /// Storage: `System::Account` (r:1 w:1)
118 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
119 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
120 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
121 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
122 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
123 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
124 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
125 fn transfer_assets() -> Weight {
126 // Proof Size summary in bytes:
127 // Measured: `347`
128 // Estimated: `3812`
129 // Minimum execution time: 124_672_000 picoseconds.
130 Weight::from_parts(128_089_000, 0)
131 .saturating_add(Weight::from_parts(0, 3812))
132 .saturating_add(T::DbWeight::get().reads(7))
133 .saturating_add(T::DbWeight::get().writes(3))
134 }
135 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
136 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
137 fn execute() -> Weight {
138 // Proof Size summary in bytes:
139 // Measured: `0`
140 // Estimated: `1485`
141 // Minimum execution time: 10_262_000 picoseconds.
142 Weight::from_parts(10_680_000, 0)
143 .saturating_add(Weight::from_parts(0, 1485))
144 .saturating_add(T::DbWeight::get().reads(1))
145 }
146 /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
147 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
148 fn force_xcm_version() -> Weight {
149 // Proof Size summary in bytes:
150 // Measured: `0`
151 // Estimated: `0`
152 // Minimum execution time: 8_220_000 picoseconds.
153 Weight::from_parts(8_488_000, 0)
154 .saturating_add(Weight::from_parts(0, 0))
155 .saturating_add(T::DbWeight::get().writes(1))
156 }
157 fn force_default_xcm_version() -> Weight {
158 // Proof Size summary in bytes:
159 // Measured: `0`
160 // Estimated: `0`
161 // Minimum execution time: 2_362_000 picoseconds.
162 Weight::from_parts(2_581_000, 0)
163 .saturating_add(Weight::from_parts(0, 0))
164 }
165 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
166 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
167 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
168 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
169 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
170 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
171 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
172 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
173 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
174 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
175 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
176 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
177 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
178 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
179 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
180 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
181 fn force_subscribe_version_notify() -> Weight {
182 // Proof Size summary in bytes:
183 // Measured: `278`
184 // Estimated: `3743`
185 // Minimum execution time: 38_605_000 picoseconds.
186 Weight::from_parts(39_672_000, 0)
187 .saturating_add(Weight::from_parts(0, 3743))
188 .saturating_add(T::DbWeight::get().reads(6))
189 .saturating_add(T::DbWeight::get().writes(5))
190 }
191 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
192 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
193 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
194 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
195 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
196 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
197 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
198 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
199 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0)
200 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
201 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1)
202 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
203 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
204 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
205 fn force_unsubscribe_version_notify() -> Weight {
206 // Proof Size summary in bytes:
207 // Measured: `437`
208 // Estimated: `108971`
209 // Minimum execution time: 42_845_000 picoseconds.
210 Weight::from_parts(44_557_000, 0)
211 .saturating_add(Weight::from_parts(0, 108971))
212 .saturating_add(T::DbWeight::get().reads(6))
213 .saturating_add(T::DbWeight::get().writes(3))
214 }
215 /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
216 /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
217 fn force_suspension() -> Weight {
218 // Proof Size summary in bytes:
219 // Measured: `0`
220 // Estimated: `0`
221 // Minimum execution time: 2_291_000 picoseconds.
222 Weight::from_parts(2_502_000, 0)
223 .saturating_add(Weight::from_parts(0, 0))
224 .saturating_add(T::DbWeight::get().writes(1))
225 }
226 /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
227 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
228 fn migrate_supported_version() -> Weight {
229 // Proof Size summary in bytes:
230 // Measured: `23`
231 // Estimated: `15863`
232 // Minimum execution time: 20_737_000 picoseconds.
233 Weight::from_parts(21_126_000, 0)
234 .saturating_add(Weight::from_parts(0, 15863))
235 .saturating_add(T::DbWeight::get().reads(6))
236 .saturating_add(T::DbWeight::get().writes(2))
237 }
238 /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
239 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
240 fn migrate_version_notifiers() -> Weight {
241 // Proof Size summary in bytes:
242 // Measured: `27`
243 // Estimated: `15867`
244 // Minimum execution time: 20_628_000 picoseconds.
245 Weight::from_parts(21_031_000, 0)
246 .saturating_add(Weight::from_parts(0, 15867))
247 .saturating_add(T::DbWeight::get().reads(6))
248 .saturating_add(T::DbWeight::get().writes(2))
249 }
250 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
251 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
252 fn already_notified_target() -> Weight {
253 // Proof Size summary in bytes:
254 // Measured: `79`
255 // Estimated: `18394`
256 // Minimum execution time: 25_598_000 picoseconds.
257 Weight::from_parts(26_332_000, 0)
258 .saturating_add(Weight::from_parts(0, 18394))
259 .saturating_add(T::DbWeight::get().reads(7))
260 }
261 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
262 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
263 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
264 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
265 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
266 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
267 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
268 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
269 fn notify_current_targets() -> Weight {
270 // Proof Size summary in bytes:
271 // Measured: `221`
272 // Estimated: `6161`
273 // Minimum execution time: 35_870_000 picoseconds.
274 Weight::from_parts(37_326_000, 0)
275 .saturating_add(Weight::from_parts(0, 6161))
276 .saturating_add(T::DbWeight::get().reads(5))
277 .saturating_add(T::DbWeight::get().writes(1))
278 }
279 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
280 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
281 fn notify_target_migration_fail() -> Weight {
282 // Proof Size summary in bytes:
283 // Measured: `79`
284 // Estimated: `13444`
285 // Minimum execution time: 18_228_000 picoseconds.
286 Weight::from_parts(18_620_000, 0)
287 .saturating_add(Weight::from_parts(0, 13444))
288 .saturating_add(T::DbWeight::get().reads(5))
289 }
290 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
291 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
292 fn migrate_version_notify_targets() -> Weight {
293 // Proof Size summary in bytes:
294 // Measured: `34`
295 // Estimated: `15874`
296 // Minimum execution time: 20_177_000 picoseconds.
297 Weight::from_parts(20_853_000, 0)
298 .saturating_add(Weight::from_parts(0, 15874))
299 .saturating_add(T::DbWeight::get().reads(6))
300 .saturating_add(T::DbWeight::get().writes(2))
301 }
302 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1)
303 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
304 /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
305 /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
306 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
307 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
308 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
309 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
310 fn migrate_and_notify_old_targets() -> Weight {
311 // Proof Size summary in bytes:
312 // Measured: `221`
313 // Estimated: `16061`
314 // Minimum execution time: 45_807_000 picoseconds.
315 Weight::from_parts(47_096_000, 0)
316 .saturating_add(Weight::from_parts(0, 16061))
317 .saturating_add(T::DbWeight::get().reads(9))
318 .saturating_add(T::DbWeight::get().writes(1))
319 }
320 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
321 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
322 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
323 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
324 fn new_query() -> Weight {
325 // Proof Size summary in bytes:
326 // Measured: `0`
327 // Estimated: `1485`
328 // Minimum execution time: 2_652_000 picoseconds.
329 Weight::from_parts(2_840_000, 0)
330 .saturating_add(Weight::from_parts(0, 1485))
331 .saturating_add(T::DbWeight::get().reads(1))
332 .saturating_add(T::DbWeight::get().writes(2))
333 }
334 /// Storage: `PolkadotXcm::Queries` (r:1 w:1)
335 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
336 fn take_response() -> Weight {
337 // Proof Size summary in bytes:
338 // Measured: `7576`
339 // Estimated: `11041`
340 // Minimum execution time: 27_403_000 picoseconds.
341 Weight::from_parts(27_979_000, 0)
342 .saturating_add(Weight::from_parts(0, 11041))
343 .saturating_add(T::DbWeight::get().reads(1))
344 .saturating_add(T::DbWeight::get().writes(1))
345 }
346 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
347 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
348 /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
349 /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
350 fn claim_assets() -> Weight {
351 // Proof Size summary in bytes:
352 // Measured: `24`
353 // Estimated: `3489`
354 // Minimum execution time: 41_150_000 picoseconds.
355 Weight::from_parts(41_900_000, 0)
356 .saturating_add(Weight::from_parts(0, 3489))
357 .saturating_add(T::DbWeight::get().reads(2))
358 .saturating_add(T::DbWeight::get().writes(1))
359 }
360 /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1)
361 /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`)
362 /// Storage: `Balances::Holds` (r:1 w:1)
363 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`)
364 fn add_authorized_alias() -> Weight {
365 // Proof Size summary in bytes:
366 // Measured: `161`
367 // Estimated: `3626`
368 // Minimum execution time: 51_582_000 picoseconds.
369 Weight::from_parts(52_732_000, 0)
370 .saturating_add(Weight::from_parts(0, 3626))
371 .saturating_add(T::DbWeight::get().reads(2))
372 .saturating_add(T::DbWeight::get().writes(2))
373 }
374 /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1)
375 /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`)
376 /// Storage: `Balances::Holds` (r:1 w:1)
377 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`)
378 fn remove_authorized_alias() -> Weight {
379 // Proof Size summary in bytes:
380 // Measured: `517`
381 // Estimated: `3982`
382 // Minimum execution time: 51_921_000 picoseconds.
383 Weight::from_parts(53_310_000, 0)
384 .saturating_add(Weight::from_parts(0, 3982))
385 .saturating_add(T::DbWeight::get().reads(2))
386 .saturating_add(T::DbWeight::get().writes(2))
387 }
388 fn weigh_message() -> Weight {
389 // Proof Size summary in bytes:
390 // Measured: `0`
391 // Estimated: `0`
392 // Minimum execution time: 8_173_000 picoseconds.
393 Weight::from_parts(8_364_000, 0)
394 .saturating_add(Weight::from_parts(0, 0))
395 }
396}