moonbase_runtime/weights/pallet_xcm.rs
1// Copyright 2025 Moonbeam foundation
2// This file is part of Moonbeam.
3
4// Moonbeam is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Moonbeam is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Moonbeam. If not, see <http://www.gnu.org/licenses/>.
16
17
18//! Autogenerated weights for `pallet_xcm`
19//!
20//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.0.0
21//! DATE: 2025-12-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22//! WORST CASE MAP SIZE: `1000000`
23//! HOSTNAME: `ip-10-0-0-198`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
24//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
25
26// Executed Command:
27// ./frame-omni-bencher
28// v1
29// benchmark
30// pallet
31// --runtime=./target/production/wbuild/moonbase-runtime/moonbase_runtime.wasm
32// --genesis-builder=runtime
33// --genesis-builder-preset=development
34// --steps=50
35// --repeat=20
36// --pallet=pallet_xcm
37// --extrinsic=*
38// --wasm-execution=compiled
39// --header=./file_header.txt
40// --template=./benchmarking/frame-weight-template.hbs
41// --output=./runtime/moonbase/src/weights
42
43#![cfg_attr(rustfmt, rustfmt_skip)]
44#![allow(unused_parens)]
45#![allow(unused_imports)]
46
47use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
48use sp_std::marker::PhantomData;
49
50/// Weights for `pallet_xcm`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
53 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
54 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
55 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
56 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
57 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
58 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
59 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
60 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
61 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
62 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
63 fn send() -> Weight {
64 // Proof Size summary in bytes:
65 // Measured: `181`
66 // Estimated: `3646`
67 // Minimum execution time: 29_021_000 picoseconds.
68 Weight::from_parts(29_764_000, 3646)
69 .saturating_add(T::DbWeight::get().reads(5_u64))
70 .saturating_add(T::DbWeight::get().writes(2_u64))
71 }
72 /// Storage: `Benchmark::Override` (r:0 w:0)
73 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
74 fn teleport_assets() -> Weight {
75 // Proof Size summary in bytes:
76 // Measured: `0`
77 // Estimated: `0`
78 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
79 Weight::from_parts(18_446_744_073_709_551_000, 0)
80 }
81 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
82 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
83 /// Storage: `System::Account` (r:1 w:1)
84 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
85 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
86 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
87 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
88 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
89 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
90 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
91 /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
92 /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
93 /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
94 /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
95 /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
96 /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
97 fn reserve_transfer_assets() -> Weight {
98 // Proof Size summary in bytes:
99 // Measured: `419`
100 // Estimated: `3884`
101 // Minimum execution time: 99_233_000 picoseconds.
102 Weight::from_parts(104_464_000, 3884)
103 .saturating_add(T::DbWeight::get().reads(7_u64))
104 .saturating_add(T::DbWeight::get().writes(4_u64))
105 }
106 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
107 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
108 /// Storage: `System::Account` (r:1 w:1)
109 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
110 /// Storage: `EvmForeignAssets::AssetsByLocation` (r:1 w:0)
111 /// Proof: `EvmForeignAssets::AssetsByLocation` (`max_values`: None, `max_size`: None, mode: `Measured`)
112 /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
113 /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
114 /// Storage: `EthereumXcm::EthereumXcmSuspended` (r:1 w:0)
115 /// Proof: `EthereumXcm::EthereumXcmSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
116 /// Storage: `EthereumXcm::Nonce` (r:1 w:1)
117 /// Proof: `EthereumXcm::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
118 /// Storage: `EthereumChainId::ChainId` (r:1 w:0)
119 /// Proof: `EthereumChainId::ChainId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
120 /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
121 /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
122 /// Storage: `EVM::AccountCodesMetadata` (r:2 w:0)
123 /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
124 /// Storage: `System::Digest` (r:1 w:0)
125 /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
126 /// Storage: `EVM::AccountCodes` (r:1 w:0)
127 /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
128 /// Storage: `EVM::AccountStorages` (r:3 w:2)
129 /// Proof: `EVM::AccountStorages` (`max_values`: None, `max_size`: None, mode: `Measured`)
130 /// Storage: `Ethereum::CounterForPending` (r:1 w:1)
131 /// Proof: `Ethereum::CounterForPending` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
132 /// Storage: `Ethereum::Pending` (r:2 w:1)
133 /// Proof: `Ethereum::Pending` (`max_values`: None, `max_size`: None, mode: `Measured`)
134 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
135 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
136 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
137 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
138 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
139 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
140 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
141 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
142 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
143 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
144 fn transfer_assets() -> Weight {
145 // Proof Size summary in bytes:
146 // Measured: `12498`
147 // Estimated: `20913`
148 // Minimum execution time: 342_954_000 picoseconds.
149 Weight::from_parts(350_030_000, 20913)
150 .saturating_add(T::DbWeight::get().reads(23_u64))
151 .saturating_add(T::DbWeight::get().writes(8_u64))
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: `69`
158 // Estimated: `1554`
159 // Minimum execution time: 11_095_000 picoseconds.
160 Weight::from_parts(11_570_000, 1554)
161 .saturating_add(T::DbWeight::get().reads(1_u64))
162 }
163 /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
164 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
165 fn force_xcm_version() -> Weight {
166 // Proof Size summary in bytes:
167 // Measured: `0`
168 // Estimated: `0`
169 // Minimum execution time: 6_903_000 picoseconds.
170 Weight::from_parts(7_172_000, 0)
171 .saturating_add(T::DbWeight::get().writes(1_u64))
172 }
173 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
174 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
175 fn force_default_xcm_version() -> Weight {
176 // Proof Size summary in bytes:
177 // Measured: `0`
178 // Estimated: `0`
179 // Minimum execution time: 2_320_000 picoseconds.
180 Weight::from_parts(2_516_000, 0)
181 .saturating_add(T::DbWeight::get().writes(1_u64))
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: `PolkadotXcm::SupportedVersion` (r:1 w:0)
188 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
189 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
190 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
191 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
192 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
193 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
194 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
195 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
196 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
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: `181`
202 // Estimated: `3646`
203 // Minimum execution time: 33_476_000 picoseconds.
204 Weight::from_parts(34_610_000, 3646)
205 .saturating_add(T::DbWeight::get().reads(7_u64))
206 .saturating_add(T::DbWeight::get().writes(5_u64))
207 }
208 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
209 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
210 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
211 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
212 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
213 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
214 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
215 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
216 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
217 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
218 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
219 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
220 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
221 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
222 fn force_unsubscribe_version_notify() -> Weight {
223 // Proof Size summary in bytes:
224 // Measured: `395`
225 // Estimated: `3860`
226 // Minimum execution time: 37_486_000 picoseconds.
227 Weight::from_parts(39_009_000, 3860)
228 .saturating_add(T::DbWeight::get().reads(6_u64))
229 .saturating_add(T::DbWeight::get().writes(4_u64))
230 }
231 /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
232 /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
233 fn force_suspension() -> Weight {
234 // Proof Size summary in bytes:
235 // Measured: `0`
236 // Estimated: `0`
237 // Minimum execution time: 2_328_000 picoseconds.
238 Weight::from_parts(2_516_000, 0)
239 .saturating_add(T::DbWeight::get().writes(1_u64))
240 }
241 /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
242 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
243 fn migrate_supported_version() -> Weight {
244 // Proof Size summary in bytes:
245 // Measured: `125`
246 // Estimated: `15965`
247 // Minimum execution time: 23_822_000 picoseconds.
248 Weight::from_parts(24_506_000, 15965)
249 .saturating_add(T::DbWeight::get().reads(6_u64))
250 .saturating_add(T::DbWeight::get().writes(2_u64))
251 }
252 /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
253 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
254 fn migrate_version_notifiers() -> Weight {
255 // Proof Size summary in bytes:
256 // Measured: `129`
257 // Estimated: `15969`
258 // Minimum execution time: 23_209_000 picoseconds.
259 Weight::from_parts(24_319_000, 15969)
260 .saturating_add(T::DbWeight::get().reads(6_u64))
261 .saturating_add(T::DbWeight::get().writes(2_u64))
262 }
263 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
264 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
265 fn already_notified_target() -> Weight {
266 // Proof Size summary in bytes:
267 // Measured: `212`
268 // Estimated: `18527`
269 // Minimum execution time: 29_338_000 picoseconds.
270 Weight::from_parts(29_794_000, 18527)
271 .saturating_add(T::DbWeight::get().reads(7_u64))
272 }
273 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
274 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
275 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
276 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
277 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
278 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
279 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
280 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
281 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
282 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
283 fn notify_current_targets() -> Weight {
284 // Proof Size summary in bytes:
285 // Measured: `178`
286 // Estimated: `6118`
287 // Minimum execution time: 23_687_000 picoseconds.
288 Weight::from_parts(25_189_000, 6118)
289 .saturating_add(T::DbWeight::get().reads(6_u64))
290 .saturating_add(T::DbWeight::get().writes(2_u64))
291 }
292 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
293 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
294 fn notify_target_migration_fail() -> Weight {
295 // Proof Size summary in bytes:
296 // Measured: `215`
297 // Estimated: `13580`
298 // Minimum execution time: 19_771_000 picoseconds.
299 Weight::from_parts(20_156_000, 13580)
300 .saturating_add(T::DbWeight::get().reads(5_u64))
301 }
302 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
303 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
304 fn migrate_version_notify_targets() -> Weight {
305 // Proof Size summary in bytes:
306 // Measured: `136`
307 // Estimated: `15976`
308 // Minimum execution time: 23_390_000 picoseconds.
309 Weight::from_parts(23_647_000, 15976)
310 .saturating_add(T::DbWeight::get().reads(6_u64))
311 .saturating_add(T::DbWeight::get().writes(2_u64))
312 }
313 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1)
314 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
315 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
316 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
317 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
318 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
319 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
320 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
321 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
322 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
323 fn migrate_and_notify_old_targets() -> Weight {
324 // Proof Size summary in bytes:
325 // Measured: `178`
326 // Estimated: `16018`
327 // Minimum execution time: 35_255_000 picoseconds.
328 Weight::from_parts(36_493_000, 16018)
329 .saturating_add(T::DbWeight::get().reads(10_u64))
330 .saturating_add(T::DbWeight::get().writes(2_u64))
331 }
332 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
333 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
334 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
335 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
336 fn new_query() -> Weight {
337 // Proof Size summary in bytes:
338 // Measured: `69`
339 // Estimated: `1554`
340 // Minimum execution time: 5_154_000 picoseconds.
341 Weight::from_parts(5_294_000, 1554)
342 .saturating_add(T::DbWeight::get().reads(1_u64))
343 .saturating_add(T::DbWeight::get().writes(2_u64))
344 }
345 /// Storage: `PolkadotXcm::Queries` (r:1 w:1)
346 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
347 fn take_response() -> Weight {
348 // Proof Size summary in bytes:
349 // Measured: `7706`
350 // Estimated: `11171`
351 // Minimum execution time: 28_720_000 picoseconds.
352 Weight::from_parts(29_110_000, 11171)
353 .saturating_add(T::DbWeight::get().reads(1_u64))
354 .saturating_add(T::DbWeight::get().writes(1_u64))
355 }
356 /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
357 /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
358 /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
359 /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
360 fn claim_assets() -> Weight {
361 // Proof Size summary in bytes:
362 // Measured: `126`
363 // Estimated: `3591`
364 // Minimum execution time: 41_730_000 picoseconds.
365 Weight::from_parts(43_000_000, 3591)
366 .saturating_add(T::DbWeight::get().reads(2_u64))
367 .saturating_add(T::DbWeight::get().writes(1_u64))
368 }
369 /// Storage: `Benchmark::Override` (r:0 w:0)
370 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
371 fn add_authorized_alias() -> Weight {
372 // Proof Size summary in bytes:
373 // Measured: `0`
374 // Estimated: `0`
375 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
376 Weight::from_parts(18_446_744_073_709_551_000, 0)
377 }
378 /// Storage: `Benchmark::Override` (r:0 w:0)
379 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
380 fn remove_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 }
387}