moonbeam_runtime/weights/xcm/
generic.rs

1// Copyright 2019-2025 PureStake Inc.
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 moonbeam_xcm_benchmarks_generic
19//!
20//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
21//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22//! WORST CASE MAP SIZE: `1000000`
23//! HOSTNAME: `benchmarker`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
24//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
25
26// Executed Command:
27// ./target/release/moonbeam
28// benchmark
29// pallet
30// --execution=wasm
31// --wasm-execution=compiled
32// --pallet
33// *
34// --extrinsic
35// *
36// --steps
37// 50
38// --repeat
39// 20
40// --template=./benchmarking/frame-weight-template.hbs
41// --json-file
42// raw.json
43// --output
44// weights/
45
46#![cfg_attr(rustfmt, rustfmt_skip)]
47#![allow(unused_parens)]
48#![allow(unused_imports)]
49
50use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
51use sp_std::marker::PhantomData;
52
53/// Weight functions needed for moonbeam_xcm_benchmarks_generic.
54pub trait WeightInfo {
55	fn report_holding() -> Weight;
56	fn buy_execution() -> Weight;
57	fn query_response() -> Weight;
58	fn transact() -> Weight;
59	fn refund_surplus() -> Weight;
60	fn set_error_handler() -> Weight;
61	fn set_appendix() -> Weight;
62	fn clear_error() -> Weight;
63	fn descend_origin() -> Weight;
64	fn clear_origin() -> Weight;
65	fn report_error() -> Weight;
66	fn claim_asset() -> Weight;
67	fn trap() -> Weight;
68	fn subscribe_version() -> Weight;
69	fn unsubscribe_version() -> Weight;
70	fn initiate_reserve_withdraw() -> Weight;
71	fn burn_asset() -> Weight;
72	fn expect_asset() -> Weight;
73	fn expect_origin() -> Weight;
74	fn expect_error() -> Weight;
75	fn expect_transact_status() -> Weight;
76	fn query_pallet() -> Weight;
77	fn expect_pallet() -> Weight;
78	fn report_transact_status() -> Weight;
79	fn clear_transact_status() -> Weight;
80	fn set_topic() -> Weight;
81	fn clear_topic() -> Weight;
82	fn exchange_asset() -> Weight;
83	fn universal_origin() -> Weight;
84	fn export_message(_: u32,) -> Weight;
85	fn set_fees_mode() -> Weight;
86	fn lock_asset() -> Weight;
87	fn unlock_asset() -> Weight;
88	fn note_unlockable() -> Weight;
89	fn request_unlock() -> Weight;
90	fn unpaid_execution() -> Weight;
91	fn pay_fees() -> Weight;
92	fn initiate_transfer() -> Weight;
93	fn execute_with_origin() -> Weight;
94	fn set_hints() -> Weight;
95}
96
97/// Weights for moonbeam_xcm_benchmarks_generic using the Substrate node and recommended hardware.
98pub struct SubstrateWeight<T>(PhantomData<T>);
99impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
100	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
101	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
102	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
103	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
104	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
105	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
106	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
107	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
108	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
109	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
110	fn report_holding() -> Weight {
111		// Proof Size summary in bytes:
112		//  Measured:  `145`
113		//  Estimated: `10130`
114		// Minimum execution time: 613_728_000 picoseconds.
115		Weight::from_parts(616_143_000, 10130)
116			.saturating_add(T::DbWeight::get().reads(5_u64))
117			.saturating_add(T::DbWeight::get().writes(2_u64))
118	}
119	/// Storage: AssetManager SupportedFeePaymentAssets (r:1 w:0)
120	/// Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured)
121	/// Storage: AssetManager AssetTypeUnitsPerSecond (r:1 w:0)
122	/// Proof Skipped: AssetManager AssetTypeUnitsPerSecond (max_values: None, max_size: None, mode: Measured)
123	/// Storage: AssetManager AssetTypeId (r:1 w:0)
124	/// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured)
125	/// Storage: Assets Asset (r:1 w:0)
126	/// Proof: Assets Asset (max_values: None, max_size: Some(174), added: 2649, mode: MaxEncodedLen)
127	fn buy_execution() -> Weight {
128		// Proof Size summary in bytes:
129		//  Measured:  `2334`
130		//  Estimated: `19056`
131		// Minimum execution time: 180_427_000 picoseconds.
132		Weight::from_parts(181_080_000, 19056)
133			.saturating_add(T::DbWeight::get().reads(4_u64))
134	}
135	/// Storage: PolkadotXcm Queries (r:1 w:0)
136	/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
137	fn query_response() -> Weight {
138		// Proof Size summary in bytes:
139		//  Measured:  `69`
140		//  Estimated: `3534`
141		// Minimum execution time: 17_147_000 picoseconds.
142		Weight::from_parts(17_428_000, 3534)
143			.saturating_add(T::DbWeight::get().reads(1_u64))
144	}
145	/// Storage: MaintenanceMode MaintenanceMode (r:1 w:0)
146	/// Proof Skipped: MaintenanceMode MaintenanceMode (max_values: Some(1), max_size: None, mode: Measured)
147	fn transact() -> Weight {
148		// Proof Size summary in bytes:
149		//  Measured:  `42`
150		//  Estimated: `1527`
151		// Minimum execution time: 24_018_000 picoseconds.
152		Weight::from_parts(24_375_000, 1527)
153			.saturating_add(T::DbWeight::get().reads(1_u64))
154	}
155	fn refund_surplus() -> Weight {
156		// Proof Size summary in bytes:
157		//  Measured:  `0`
158		//  Estimated: `0`
159		// Minimum execution time: 7_851_000 picoseconds.
160		Weight::from_parts(7_975_000, 0)
161	}
162	fn set_error_handler() -> Weight {
163		// Proof Size summary in bytes:
164		//  Measured:  `0`
165		//  Estimated: `0`
166		// Minimum execution time: 5_072_000 picoseconds.
167		Weight::from_parts(5_182_000, 0)
168	}
169	fn set_appendix() -> Weight {
170		// Proof Size summary in bytes:
171		//  Measured:  `0`
172		//  Estimated: `0`
173		// Minimum execution time: 4_983_000 picoseconds.
174		Weight::from_parts(5_123_000, 0)
175	}
176	fn clear_error() -> Weight {
177		// Proof Size summary in bytes:
178		//  Measured:  `0`
179		//  Estimated: `0`
180		// Minimum execution time: 5_017_000 picoseconds.
181		Weight::from_parts(5_147_000, 0)
182	}
183	fn descend_origin() -> Weight {
184		// Proof Size summary in bytes:
185		//  Measured:  `0`
186		//  Estimated: `0`
187		// Minimum execution time: 5_870_000 picoseconds.
188		Weight::from_parts(5_992_000, 0)
189	}
190	fn clear_origin() -> Weight {
191		// Proof Size summary in bytes:
192		//  Measured:  `0`
193		//  Estimated: `0`
194		// Minimum execution time: 5_059_000 picoseconds.
195		Weight::from_parts(5_194_000, 0)
196	}
197	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
198	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
199	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
200	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
201	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
202	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
203	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
204	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
205	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
206	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
207	fn report_error() -> Weight {
208		// Proof Size summary in bytes:
209		//  Measured:  `145`
210		//  Estimated: `10130`
211		// Minimum execution time: 35_671_000 picoseconds.
212		Weight::from_parts(36_231_000, 10130)
213			.saturating_add(T::DbWeight::get().reads(5_u64))
214			.saturating_add(T::DbWeight::get().writes(2_u64))
215	}
216	/// Storage: PolkadotXcm AssetTraps (r:1 w:1)
217	/// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
218	fn claim_asset() -> Weight {
219		// Proof Size summary in bytes:
220		//  Measured:  `126`
221		//  Estimated: `3591`
222		// Minimum execution time: 23_093_000 picoseconds.
223		Weight::from_parts(23_438_000, 3591)
224			.saturating_add(T::DbWeight::get().reads(1_u64))
225			.saturating_add(T::DbWeight::get().writes(1_u64))
226	}
227	fn trap() -> Weight {
228		// Proof Size summary in bytes:
229		//  Measured:  `0`
230		//  Estimated: `0`
231		// Minimum execution time: 5_182_000 picoseconds.
232		Weight::from_parts(5_281_000, 0)
233	}
234	/// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
235	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
236	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
237	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
238	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
239	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
240	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
241	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
242	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
243	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
244	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
245	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
246	fn subscribe_version() -> Weight {
247		// Proof Size summary in bytes:
248		//  Measured:  `145`
249		//  Estimated: `13740`
250		// Minimum execution time: 42_060_000 picoseconds.
251		Weight::from_parts(42_607_000, 13740)
252			.saturating_add(T::DbWeight::get().reads(6_u64))
253			.saturating_add(T::DbWeight::get().writes(3_u64))
254	}
255	/// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
256	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
257	fn unsubscribe_version() -> Weight {
258		// Proof Size summary in bytes:
259		//  Measured:  `0`
260		//  Estimated: `0`
261		// Minimum execution time: 8_521_000 picoseconds.
262		Weight::from_parts(8_689_000, 0)
263			.saturating_add(T::DbWeight::get().writes(1_u64))
264	}
265	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
266	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
267	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
268	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
269	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
270	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
271	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
272	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
273	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
274	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
275	fn initiate_reserve_withdraw() -> Weight {
276		// Proof Size summary in bytes:
277		//  Measured:  `145`
278		//  Estimated: `10130`
279		// Minimum execution time: 713_056_000 picoseconds.
280		Weight::from_parts(715_975_000, 10130)
281			.saturating_add(T::DbWeight::get().reads(5_u64))
282			.saturating_add(T::DbWeight::get().writes(2_u64))
283	}
284	fn burn_asset() -> Weight {
285		// Proof Size summary in bytes:
286		//  Measured:  `0`
287		//  Estimated: `0`
288		// Minimum execution time: 226_643_000 picoseconds.
289		Weight::from_parts(227_558_000, 0)
290	}
291	fn expect_asset() -> Weight {
292		// Proof Size summary in bytes:
293		//  Measured:  `0`
294		//  Estimated: `0`
295		// Minimum execution time: 19_959_000 picoseconds.
296		Weight::from_parts(20_434_000, 0)
297	}
298	fn expect_origin() -> Weight {
299		// Proof Size summary in bytes:
300		//  Measured:  `0`
301		//  Estimated: `0`
302		// Minimum execution time: 5_047_000 picoseconds.
303		Weight::from_parts(5_211_000, 0)
304	}
305	fn expect_error() -> Weight {
306		// Proof Size summary in bytes:
307		//  Measured:  `0`
308		//  Estimated: `0`
309		// Minimum execution time: 5_051_000 picoseconds.
310		Weight::from_parts(5_141_000, 0)
311	}
312	fn expect_transact_status() -> Weight {
313		// Proof Size summary in bytes:
314		//  Measured:  `0`
315		//  Estimated: `0`
316		// Minimum execution time: 5_189_000 picoseconds.
317		Weight::from_parts(5_381_000, 0)
318	}
319	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
320	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
321	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
322	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
323	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
324	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
325	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
326	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
327	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
328	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
329	fn query_pallet() -> Weight {
330		// Proof Size summary in bytes:
331		//  Measured:  `145`
332		//  Estimated: `10130`
333		// Minimum execution time: 50_026_000 picoseconds.
334		Weight::from_parts(50_578_000, 10130)
335			.saturating_add(T::DbWeight::get().reads(5_u64))
336			.saturating_add(T::DbWeight::get().writes(2_u64))
337	}
338	fn expect_pallet() -> Weight {
339		// Proof Size summary in bytes:
340		//  Measured:  `0`
341		//  Estimated: `0`
342		// Minimum execution time: 17_409_000 picoseconds.
343		Weight::from_parts(17_794_000, 0)
344	}
345	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
346	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
347	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
348	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
349	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
350	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
351	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
352	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
353	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
354	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
355	fn report_transact_status() -> Weight {
356		// Proof Size summary in bytes:
357		//  Measured:  `145`
358		//  Estimated: `10130`
359		// Minimum execution time: 35_835_000 picoseconds.
360		Weight::from_parts(36_090_000, 10130)
361			.saturating_add(T::DbWeight::get().reads(5_u64))
362			.saturating_add(T::DbWeight::get().writes(2_u64))
363	}
364	fn clear_transact_status() -> Weight {
365		// Proof Size summary in bytes:
366		//  Measured:  `0`
367		//  Estimated: `0`
368		// Minimum execution time: 5_132_000 picoseconds.
369		Weight::from_parts(5_280_000, 0)
370	}
371	fn set_topic() -> Weight {
372		// Proof Size summary in bytes:
373		//  Measured:  `0`
374		//  Estimated: `0`
375		// Minimum execution time: 5_095_000 picoseconds.
376		Weight::from_parts(5_215_000, 0)
377	}
378	fn clear_topic() -> Weight {
379		// Proof Size summary in bytes:
380		//  Measured:  `0`
381		//  Estimated: `0`
382		// Minimum execution time: 5_099_000 picoseconds.
383		Weight::from_parts(5_214_000, 0)
384	}
385	/// Storage: Benchmark Override (r:0 w:0)
386	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
387	fn exchange_asset() -> Weight {
388		// Proof Size summary in bytes:
389		//  Measured:  `0`
390		//  Estimated: `0`
391		// Minimum execution time: 500_000_000_000 picoseconds.
392		Weight::from_parts(500_000_000_000, 0)
393	}
394	/// Storage: Benchmark Override (r:0 w:0)
395	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
396	fn universal_origin() -> Weight {
397		// Proof Size summary in bytes:
398		//  Measured:  `32`
399		//  Estimated: `1489`
400		// Minimum execution time: 5_179_000 picoseconds.
401		Weight::from_parts(5_400_000, 1489)
402			.saturating_add(T::DbWeight::get().reads(1))
403	}
404	/// Storage: Benchmark Override (r:0 w:0)
405	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
406	/// The range of component `x` is `[1, 1000]`.
407	fn export_message(_: u32, ) -> Weight {
408        Weight::MAX
409	}
410	fn set_fees_mode() -> Weight {
411		// Proof Size summary in bytes:
412		//  Measured:  `0`
413		//  Estimated: `0`
414		// Minimum execution time: 5_066_000 picoseconds.
415		Weight::from_parts(5_215_000, 0)
416	}
417	/// Storage: Benchmark Override (r:0 w:0)
418	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
419	fn lock_asset() -> Weight {
420		// Proof Size summary in bytes:
421		//  Measured:  `0`
422		//  Estimated: `0`
423		// Minimum execution time: 500_000_000_000 picoseconds.
424		Weight::from_parts(500_000_000_000, 0)
425	}
426	/// Storage: Benchmark Override (r:0 w:0)
427	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
428	fn unlock_asset() -> Weight {
429		// Proof Size summary in bytes:
430		//  Measured:  `0`
431		//  Estimated: `0`
432		// Minimum execution time: 500_000_000_000 picoseconds.
433		Weight::from_parts(500_000_000_000, 0)
434	}
435	/// Storage: Benchmark Override (r:0 w:0)
436	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
437	fn note_unlockable() -> Weight {
438		// Proof Size summary in bytes:
439		//  Measured:  `0`
440		//  Estimated: `0`
441		// Minimum execution time: 500_000_000_000 picoseconds.
442		Weight::from_parts(500_000_000_000, 0)
443	}
444	/// Storage: Benchmark Override (r:0 w:0)
445	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
446	fn request_unlock() -> Weight {
447		// Proof Size summary in bytes:
448		//  Measured:  `0`
449		//  Estimated: `0`
450		// Minimum execution time: 500_000_000_000 picoseconds.
451		Weight::from_parts(500_000_000_000, 0)
452	}
453	fn unpaid_execution() -> Weight {
454		// Proof Size summary in bytes:
455		//  Measured:  `0`
456		//  Estimated: `0`
457		// Minimum execution time: 5_249_000 picoseconds.
458		Weight::from_parts(5_371_000, 0)
459	}
460	fn pay_fees() -> Weight {
461		// Proof Size summary in bytes:
462		//  Measured:  `0`
463		//  Estimated: `0`
464		// Minimum execution time: 2_000_000_000_000 picoseconds.
465		Weight::from_parts(2_000_000_000_000, 0)
466	}
467	fn initiate_transfer() -> Weight {
468		// Proof Size summary in bytes:
469		//  Measured:  `0`
470		//  Estimated: `0`
471		// Minimum execution time: 2_000_000_000_000 picoseconds.
472		Weight::from_parts(2_000_000_000_000, 0)
473	}
474	fn execute_with_origin() -> Weight {
475		// Proof Size summary in bytes:
476		//  Measured:  `0`
477		//  Estimated: `0`
478		// Minimum execution time: 2_000_000_000_000 picoseconds.
479		Weight::from_parts(2_000_000_000_000, 0)
480	}
481	fn set_hints() -> Weight {
482		// Proof Size summary in bytes:
483		//  Measured:  `0`
484		//  Estimated: `0`
485		// Minimum execution time: 2_000_000_000_000 picoseconds.
486		Weight::from_parts(2_000_000_000_000, 0)
487	}
488}
489
490// For backwards compatibility and tests
491impl WeightInfo for () {
492	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
493	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
494	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
495	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
496	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
497	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
498	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
499	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
500	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
501	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
502	fn report_holding() -> Weight {
503		// Proof Size summary in bytes:
504		//  Measured:  `145`
505		//  Estimated: `10130`
506		// Minimum execution time: 613_728_000 picoseconds.
507		Weight::from_parts(616_143_000, 10130)
508			.saturating_add(RocksDbWeight::get().reads(5_u64))
509			.saturating_add(RocksDbWeight::get().writes(2_u64))
510	}
511	/// Storage: AssetManager SupportedFeePaymentAssets (r:1 w:0)
512	/// Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured)
513	/// Storage: AssetManager AssetTypeUnitsPerSecond (r:1 w:0)
514	/// Proof Skipped: AssetManager AssetTypeUnitsPerSecond (max_values: None, max_size: None, mode: Measured)
515	/// Storage: AssetManager AssetTypeId (r:1 w:0)
516	/// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured)
517	/// Storage: Assets Asset (r:1 w:0)
518	/// Proof: Assets Asset (max_values: None, max_size: Some(174), added: 2649, mode: MaxEncodedLen)
519	fn buy_execution() -> Weight {
520		// Proof Size summary in bytes:
521		//  Measured:  `2334`
522		//  Estimated: `19056`
523		// Minimum execution time: 180_427_000 picoseconds.
524		Weight::from_parts(181_080_000, 19056)
525			.saturating_add(RocksDbWeight::get().reads(4_u64))
526	}
527	/// Storage: PolkadotXcm Queries (r:1 w:0)
528	/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
529	fn query_response() -> Weight {
530		// Proof Size summary in bytes:
531		//  Measured:  `69`
532		//  Estimated: `3534`
533		// Minimum execution time: 17_147_000 picoseconds.
534		Weight::from_parts(17_428_000, 3534)
535			.saturating_add(RocksDbWeight::get().reads(1_u64))
536	}
537	/// Storage: MaintenanceMode MaintenanceMode (r:1 w:0)
538	/// Proof Skipped: MaintenanceMode MaintenanceMode (max_values: Some(1), max_size: None, mode: Measured)
539	fn transact() -> Weight {
540		// Proof Size summary in bytes:
541		//  Measured:  `42`
542		//  Estimated: `1527`
543		// Minimum execution time: 24_018_000 picoseconds.
544		Weight::from_parts(24_375_000, 1527)
545			.saturating_add(RocksDbWeight::get().reads(1_u64))
546	}
547	fn refund_surplus() -> Weight {
548		// Proof Size summary in bytes:
549		//  Measured:  `0`
550		//  Estimated: `0`
551		// Minimum execution time: 7_851_000 picoseconds.
552		Weight::from_parts(7_975_000, 0)
553	}
554	fn set_error_handler() -> Weight {
555		// Proof Size summary in bytes:
556		//  Measured:  `0`
557		//  Estimated: `0`
558		// Minimum execution time: 5_072_000 picoseconds.
559		Weight::from_parts(5_182_000, 0)
560	}
561	fn set_appendix() -> Weight {
562		// Proof Size summary in bytes:
563		//  Measured:  `0`
564		//  Estimated: `0`
565		// Minimum execution time: 4_983_000 picoseconds.
566		Weight::from_parts(5_123_000, 0)
567	}
568	fn clear_error() -> Weight {
569		// Proof Size summary in bytes:
570		//  Measured:  `0`
571		//  Estimated: `0`
572		// Minimum execution time: 5_017_000 picoseconds.
573		Weight::from_parts(5_147_000, 0)
574	}
575	fn descend_origin() -> Weight {
576		// Proof Size summary in bytes:
577		//  Measured:  `0`
578		//  Estimated: `0`
579		// Minimum execution time: 5_870_000 picoseconds.
580		Weight::from_parts(5_992_000, 0)
581	}
582	fn clear_origin() -> Weight {
583		// Proof Size summary in bytes:
584		//  Measured:  `0`
585		//  Estimated: `0`
586		// Minimum execution time: 5_059_000 picoseconds.
587		Weight::from_parts(5_194_000, 0)
588	}
589	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
590	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
591	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
592	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
593	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
594	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
595	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
596	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
597	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
598	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
599	fn report_error() -> Weight {
600		// Proof Size summary in bytes:
601		//  Measured:  `145`
602		//  Estimated: `10130`
603		// Minimum execution time: 35_671_000 picoseconds.
604		Weight::from_parts(36_231_000, 10130)
605			.saturating_add(RocksDbWeight::get().reads(5_u64))
606			.saturating_add(RocksDbWeight::get().writes(2_u64))
607	}
608	/// Storage: PolkadotXcm AssetTraps (r:1 w:1)
609	/// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
610	fn claim_asset() -> Weight {
611		// Proof Size summary in bytes:
612		//  Measured:  `126`
613		//  Estimated: `3591`
614		// Minimum execution time: 23_093_000 picoseconds.
615		Weight::from_parts(23_438_000, 3591)
616			.saturating_add(RocksDbWeight::get().reads(1_u64))
617			.saturating_add(RocksDbWeight::get().writes(1_u64))
618	}
619	fn trap() -> Weight {
620		// Proof Size summary in bytes:
621		//  Measured:  `0`
622		//  Estimated: `0`
623		// Minimum execution time: 5_182_000 picoseconds.
624		Weight::from_parts(5_281_000, 0)
625	}
626	/// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
627	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
628	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
629	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
630	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
631	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
632	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
633	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
634	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
635	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
636	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
637	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
638	fn subscribe_version() -> Weight {
639		// Proof Size summary in bytes:
640		//  Measured:  `145`
641		//  Estimated: `13740`
642		// Minimum execution time: 42_060_000 picoseconds.
643		Weight::from_parts(42_607_000, 13740)
644			.saturating_add(RocksDbWeight::get().reads(6_u64))
645			.saturating_add(RocksDbWeight::get().writes(3_u64))
646	}
647	/// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
648	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
649	fn unsubscribe_version() -> Weight {
650		// Proof Size summary in bytes:
651		//  Measured:  `0`
652		//  Estimated: `0`
653		// Minimum execution time: 8_521_000 picoseconds.
654		Weight::from_parts(8_689_000, 0)
655			.saturating_add(RocksDbWeight::get().writes(1_u64))
656	}
657	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
658	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
659	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
660	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
661	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
662	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
663	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
664	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
665	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
666	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
667	fn initiate_reserve_withdraw() -> Weight {
668		// Proof Size summary in bytes:
669		//  Measured:  `145`
670		//  Estimated: `10130`
671		// Minimum execution time: 713_056_000 picoseconds.
672		Weight::from_parts(715_975_000, 10130)
673			.saturating_add(RocksDbWeight::get().reads(5_u64))
674			.saturating_add(RocksDbWeight::get().writes(2_u64))
675	}
676	fn burn_asset() -> Weight {
677		// Proof Size summary in bytes:
678		//  Measured:  `0`
679		//  Estimated: `0`
680		// Minimum execution time: 226_643_000 picoseconds.
681		Weight::from_parts(227_558_000, 0)
682	}
683	fn expect_asset() -> Weight {
684		// Proof Size summary in bytes:
685		//  Measured:  `0`
686		//  Estimated: `0`
687		// Minimum execution time: 19_959_000 picoseconds.
688		Weight::from_parts(20_434_000, 0)
689	}
690	fn expect_origin() -> Weight {
691		// Proof Size summary in bytes:
692		//  Measured:  `0`
693		//  Estimated: `0`
694		// Minimum execution time: 5_047_000 picoseconds.
695		Weight::from_parts(5_211_000, 0)
696	}
697	fn expect_error() -> Weight {
698		// Proof Size summary in bytes:
699		//  Measured:  `0`
700		//  Estimated: `0`
701		// Minimum execution time: 5_051_000 picoseconds.
702		Weight::from_parts(5_141_000, 0)
703	}
704	fn expect_transact_status() -> Weight {
705		// Proof Size summary in bytes:
706		//  Measured:  `0`
707		//  Estimated: `0`
708		// Minimum execution time: 5_189_000 picoseconds.
709		Weight::from_parts(5_381_000, 0)
710	}
711	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
712	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
713	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
714	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
715	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
716	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
717	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
718	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
719	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
720	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
721	fn query_pallet() -> Weight {
722		// Proof Size summary in bytes:
723		//  Measured:  `145`
724		//  Estimated: `10130`
725		// Minimum execution time: 50_026_000 picoseconds.
726		Weight::from_parts(50_578_000, 10130)
727			.saturating_add(RocksDbWeight::get().reads(5_u64))
728			.saturating_add(RocksDbWeight::get().writes(2_u64))
729	}
730	fn expect_pallet() -> Weight {
731		// Proof Size summary in bytes:
732		//  Measured:  `0`
733		//  Estimated: `0`
734		// Minimum execution time: 17_409_000 picoseconds.
735		Weight::from_parts(17_794_000, 0)
736	}
737	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
738	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
739	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
740	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
741	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
742	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
743	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
744	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
745	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
746	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
747	fn report_transact_status() -> Weight {
748		// Proof Size summary in bytes:
749		//  Measured:  `145`
750		//  Estimated: `10130`
751		// Minimum execution time: 35_835_000 picoseconds.
752		Weight::from_parts(36_090_000, 10130)
753			.saturating_add(RocksDbWeight::get().reads(5_u64))
754			.saturating_add(RocksDbWeight::get().writes(2_u64))
755	}
756	fn clear_transact_status() -> Weight {
757		// Proof Size summary in bytes:
758		//  Measured:  `0`
759		//  Estimated: `0`
760		// Minimum execution time: 5_132_000 picoseconds.
761		Weight::from_parts(5_280_000, 0)
762	}
763	fn set_topic() -> Weight {
764		// Proof Size summary in bytes:
765		//  Measured:  `0`
766		//  Estimated: `0`
767		// Minimum execution time: 5_095_000 picoseconds.
768		Weight::from_parts(5_215_000, 0)
769	}
770	fn clear_topic() -> Weight {
771		// Proof Size summary in bytes:
772		//  Measured:  `0`
773		//  Estimated: `0`
774		// Minimum execution time: 5_099_000 picoseconds.
775		Weight::from_parts(5_214_000, 0)
776	}
777	/// Storage: Benchmark Override (r:0 w:0)
778	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
779	fn exchange_asset() -> Weight {
780		// Proof Size summary in bytes:
781		//  Measured:  `0`
782		//  Estimated: `0`
783		// Minimum execution time: 500_000_000_000 picoseconds.
784		Weight::from_parts(500_000_000_000, 0)
785	}
786	/// Storage: Benchmark Override (r:0 w:0)
787	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
788	fn universal_origin() -> Weight {
789		// Proof Size summary in bytes:
790		//  Measured:  `0`
791		//  Estimated: `0`
792		// Minimum execution time: 500_000_000_000 picoseconds.
793		Weight::from_parts(500_000_000_000, 0)
794	}
795	/// Storage: Benchmark Override (r:0 w:0)
796	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
797	/// The range of component `x` is `[1, 1000]`.
798	fn export_message(_: u32,) -> Weight {
799        Weight::MAX
800	}
801	fn set_fees_mode() -> Weight {
802		// Proof Size summary in bytes:
803		//  Measured:  `0`
804		//  Estimated: `0`
805		// Minimum execution time: 5_066_000 picoseconds.
806		Weight::from_parts(5_215_000, 0)
807	}
808	/// Storage: Benchmark Override (r:0 w:0)
809	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
810	fn lock_asset() -> Weight {
811		// Proof Size summary in bytes:
812		//  Measured:  `0`
813		//  Estimated: `0`
814		// Minimum execution time: 500_000_000_000 picoseconds.
815		Weight::from_parts(500_000_000_000, 0)
816	}
817	/// Storage: Benchmark Override (r:0 w:0)
818	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
819	fn unlock_asset() -> Weight {
820		// Proof Size summary in bytes:
821		//  Measured:  `0`
822		//  Estimated: `0`
823		// Minimum execution time: 500_000_000_000 picoseconds.
824		Weight::from_parts(500_000_000_000, 0)
825	}
826	/// Storage: Benchmark Override (r:0 w:0)
827	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
828	fn note_unlockable() -> Weight {
829		// Proof Size summary in bytes:
830		//  Measured:  `0`
831		//  Estimated: `0`
832		// Minimum execution time: 500_000_000_000 picoseconds.
833		Weight::from_parts(500_000_000_000, 0)
834	}
835	/// Storage: Benchmark Override (r:0 w:0)
836	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
837	fn request_unlock() -> Weight {
838		// Proof Size summary in bytes:
839		//  Measured:  `0`
840		//  Estimated: `0`
841		// Minimum execution time: 500_000_000_000 picoseconds.
842		Weight::from_parts(500_000_000_000, 0)
843	}
844	fn unpaid_execution() -> Weight {
845		// Proof Size summary in bytes:
846		//  Measured:  `0`
847		//  Estimated: `0`
848		// Minimum execution time: 5_249_000 picoseconds.
849		Weight::from_parts(5_371_000, 0)
850	}
851	fn pay_fees() -> Weight {
852		// Proof Size summary in bytes:
853		//  Measured:  `0`
854		//  Estimated: `0`
855		// Minimum execution time: 2_000_000_000_000 picoseconds.
856		Weight::from_parts(2_000_000_000_000, 0)
857	}
858	fn initiate_transfer() -> Weight {
859		// Proof Size summary in bytes:
860		//  Measured:  `0`
861		//  Estimated: `0`
862		// Minimum execution time: 2_000_000_000_000 picoseconds.
863		Weight::from_parts(2_000_000_000_000, 0)
864	}
865	fn execute_with_origin() -> Weight {
866		// Proof Size summary in bytes:
867		//  Measured:  `0`
868		//  Estimated: `0`
869		// Minimum execution time: 2_000_000_000_000 picoseconds.
870		Weight::from_parts(2_000_000_000_000, 0)
871	}
872	fn set_hints() -> Weight {
873		// Proof Size summary in bytes:
874		//  Measured:  `0`
875		//  Estimated: `0`
876		// Minimum execution time: 2_000_000_000_000 picoseconds.
877		Weight::from_parts(2_000_000_000_000, 0)
878	}
879}