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

            
50
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
51
use sp_std::marker::PhantomData;
52

            
53
/// Weight functions needed for moonbeam_xcm_benchmarks_generic.
54
pub 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() -> 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.
98
pub struct SubstrateWeight<T>(PhantomData<T>);
99
impl<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
1
	fn buy_execution() -> Weight {
128
1
		// Proof Size summary in bytes:
129
1
		//  Measured:  `2334`
130
1
		//  Estimated: `19056`
131
1
		// Minimum execution time: 180_427_000 picoseconds.
132
1
		Weight::from_parts(181_080_000, 19056)
133
1
			.saturating_add(T::DbWeight::get().reads(4_u64))
134
1
	}
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
1
	fn transact() -> Weight {
148
1
		// Proof Size summary in bytes:
149
1
		//  Measured:  `42`
150
1
		//  Estimated: `1527`
151
1
		// Minimum execution time: 24_018_000 picoseconds.
152
1
		Weight::from_parts(24_375_000, 1527)
153
1
			.saturating_add(T::DbWeight::get().reads(1_u64))
154
1
	}
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
1
	fn descend_origin() -> Weight {
184
1
		// Proof Size summary in bytes:
185
1
		//  Measured:  `0`
186
1
		//  Estimated: `0`
187
1
		// Minimum execution time: 5_870_000 picoseconds.
188
1
		Weight::from_parts(5_992_000, 0)
189
1
	}
190
3
	fn clear_origin() -> Weight {
191
3
		// Proof Size summary in bytes:
192
3
		//  Measured:  `0`
193
3
		//  Estimated: `0`
194
3
		// Minimum execution time: 5_059_000 picoseconds.
195
3
		Weight::from_parts(5_194_000, 0)
196
3
	}
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
48
	fn burn_asset() -> Weight {
285
48
		// Proof Size summary in bytes:
286
48
		//  Measured:  `0`
287
48
		//  Estimated: `0`
288
48
		// Minimum execution time: 226_643_000 picoseconds.
289
48
		Weight::from_parts(227_558_000, 0)
290
48
	}
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
1
	fn universal_origin() -> Weight {
397
1
		// Proof Size summary in bytes:
398
1
		//  Measured:  `32`
399
1
		//  Estimated: `1489`
400
1
		// Minimum execution time: 5_179_000 picoseconds.
401
1
		Weight::from_parts(5_400_000, 1489)
402
1
			.saturating_add(T::DbWeight::get().reads(1))
403
1
	}
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() -> Weight {
408
		// Proof Size summary in bytes:
409
		//  Measured:  `0`
410
		//  Estimated: `0`
411
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
412
		Weight::from_parts(500_000_000_000, 0)
413
	}
414
	fn set_fees_mode() -> Weight {
415
		// Proof Size summary in bytes:
416
		//  Measured:  `0`
417
		//  Estimated: `0`
418
		// Minimum execution time: 5_066_000 picoseconds.
419
		Weight::from_parts(5_215_000, 0)
420
	}
421
	/// Storage: Benchmark Override (r:0 w:0)
422
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
423
	fn lock_asset() -> Weight {
424
		// Proof Size summary in bytes:
425
		//  Measured:  `0`
426
		//  Estimated: `0`
427
		// Minimum execution time: 500_000_000_000 picoseconds.
428
		Weight::from_parts(500_000_000_000, 0)
429
	}
430
	/// Storage: Benchmark Override (r:0 w:0)
431
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
432
	fn unlock_asset() -> Weight {
433
		// Proof Size summary in bytes:
434
		//  Measured:  `0`
435
		//  Estimated: `0`
436
		// Minimum execution time: 500_000_000_000 picoseconds.
437
		Weight::from_parts(500_000_000_000, 0)
438
	}
439
	/// Storage: Benchmark Override (r:0 w:0)
440
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
441
	fn note_unlockable() -> Weight {
442
		// Proof Size summary in bytes:
443
		//  Measured:  `0`
444
		//  Estimated: `0`
445
		// Minimum execution time: 500_000_000_000 picoseconds.
446
		Weight::from_parts(500_000_000_000, 0)
447
	}
448
	/// Storage: Benchmark Override (r:0 w:0)
449
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
450
	fn request_unlock() -> Weight {
451
		// Proof Size summary in bytes:
452
		//  Measured:  `0`
453
		//  Estimated: `0`
454
		// Minimum execution time: 500_000_000_000 picoseconds.
455
		Weight::from_parts(500_000_000_000, 0)
456
	}
457
	fn unpaid_execution() -> Weight {
458
		// Proof Size summary in bytes:
459
		//  Measured:  `0`
460
		//  Estimated: `0`
461
		// Minimum execution time: 5_249_000 picoseconds.
462
		Weight::from_parts(5_371_000, 0)
463
	}
464
	fn pay_fees() -> Weight {
465
		// Proof Size summary in bytes:
466
		//  Measured:  `0`
467
		//  Estimated: `0`
468
		// Minimum execution time: 2_000_000_000_000 picoseconds.
469
		Weight::from_parts(2_000_000_000_000, 0)
470
	}
471
	fn initiate_transfer() -> Weight {
472
		// Proof Size summary in bytes:
473
		//  Measured:  `0`
474
		//  Estimated: `0`
475
		// Minimum execution time: 2_000_000_000_000 picoseconds.
476
		Weight::from_parts(2_000_000_000_000, 0)
477
	}
478
	fn execute_with_origin() -> Weight {
479
		// Proof Size summary in bytes:
480
		//  Measured:  `0`
481
		//  Estimated: `0`
482
		// Minimum execution time: 2_000_000_000_000 picoseconds.
483
		Weight::from_parts(2_000_000_000_000, 0)
484
	}
485
	fn set_hints() -> Weight {
486
		// Proof Size summary in bytes:
487
		//  Measured:  `0`
488
		//  Estimated: `0`
489
		// Minimum execution time: 2_000_000_000_000 picoseconds.
490
		Weight::from_parts(2_000_000_000_000, 0)
491
	}
492
}
493

            
494
// For backwards compatibility and tests
495
impl WeightInfo for () {
496
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
497
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
498
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
499
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
500
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
501
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
502
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
503
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
504
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
505
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
506
	fn report_holding() -> Weight {
507
		// Proof Size summary in bytes:
508
		//  Measured:  `145`
509
		//  Estimated: `10130`
510
		// Minimum execution time: 613_728_000 picoseconds.
511
		Weight::from_parts(616_143_000, 10130)
512
			.saturating_add(RocksDbWeight::get().reads(5_u64))
513
			.saturating_add(RocksDbWeight::get().writes(2_u64))
514
	}
515
	/// Storage: AssetManager SupportedFeePaymentAssets (r:1 w:0)
516
	/// Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured)
517
	/// Storage: AssetManager AssetTypeUnitsPerSecond (r:1 w:0)
518
	/// Proof Skipped: AssetManager AssetTypeUnitsPerSecond (max_values: None, max_size: None, mode: Measured)
519
	/// Storage: AssetManager AssetTypeId (r:1 w:0)
520
	/// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured)
521
	/// Storage: Assets Asset (r:1 w:0)
522
	/// Proof: Assets Asset (max_values: None, max_size: Some(174), added: 2649, mode: MaxEncodedLen)
523
	fn buy_execution() -> Weight {
524
		// Proof Size summary in bytes:
525
		//  Measured:  `2334`
526
		//  Estimated: `19056`
527
		// Minimum execution time: 180_427_000 picoseconds.
528
		Weight::from_parts(181_080_000, 19056)
529
			.saturating_add(RocksDbWeight::get().reads(4_u64))
530
	}
531
	/// Storage: PolkadotXcm Queries (r:1 w:0)
532
	/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
533
	fn query_response() -> Weight {
534
		// Proof Size summary in bytes:
535
		//  Measured:  `69`
536
		//  Estimated: `3534`
537
		// Minimum execution time: 17_147_000 picoseconds.
538
		Weight::from_parts(17_428_000, 3534)
539
			.saturating_add(RocksDbWeight::get().reads(1_u64))
540
	}
541
	/// Storage: MaintenanceMode MaintenanceMode (r:1 w:0)
542
	/// Proof Skipped: MaintenanceMode MaintenanceMode (max_values: Some(1), max_size: None, mode: Measured)
543
	fn transact() -> Weight {
544
		// Proof Size summary in bytes:
545
		//  Measured:  `42`
546
		//  Estimated: `1527`
547
		// Minimum execution time: 24_018_000 picoseconds.
548
		Weight::from_parts(24_375_000, 1527)
549
			.saturating_add(RocksDbWeight::get().reads(1_u64))
550
	}
551
	fn refund_surplus() -> Weight {
552
		// Proof Size summary in bytes:
553
		//  Measured:  `0`
554
		//  Estimated: `0`
555
		// Minimum execution time: 7_851_000 picoseconds.
556
		Weight::from_parts(7_975_000, 0)
557
	}
558
	fn set_error_handler() -> Weight {
559
		// Proof Size summary in bytes:
560
		//  Measured:  `0`
561
		//  Estimated: `0`
562
		// Minimum execution time: 5_072_000 picoseconds.
563
		Weight::from_parts(5_182_000, 0)
564
	}
565
	fn set_appendix() -> Weight {
566
		// Proof Size summary in bytes:
567
		//  Measured:  `0`
568
		//  Estimated: `0`
569
		// Minimum execution time: 4_983_000 picoseconds.
570
		Weight::from_parts(5_123_000, 0)
571
	}
572
	fn clear_error() -> Weight {
573
		// Proof Size summary in bytes:
574
		//  Measured:  `0`
575
		//  Estimated: `0`
576
		// Minimum execution time: 5_017_000 picoseconds.
577
		Weight::from_parts(5_147_000, 0)
578
	}
579
	fn descend_origin() -> Weight {
580
		// Proof Size summary in bytes:
581
		//  Measured:  `0`
582
		//  Estimated: `0`
583
		// Minimum execution time: 5_870_000 picoseconds.
584
		Weight::from_parts(5_992_000, 0)
585
	}
586
	fn clear_origin() -> Weight {
587
		// Proof Size summary in bytes:
588
		//  Measured:  `0`
589
		//  Estimated: `0`
590
		// Minimum execution time: 5_059_000 picoseconds.
591
		Weight::from_parts(5_194_000, 0)
592
	}
593
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
594
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
595
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
596
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
597
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
598
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
599
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
600
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
601
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
602
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
603
	fn report_error() -> Weight {
604
		// Proof Size summary in bytes:
605
		//  Measured:  `145`
606
		//  Estimated: `10130`
607
		// Minimum execution time: 35_671_000 picoseconds.
608
		Weight::from_parts(36_231_000, 10130)
609
			.saturating_add(RocksDbWeight::get().reads(5_u64))
610
			.saturating_add(RocksDbWeight::get().writes(2_u64))
611
	}
612
	/// Storage: PolkadotXcm AssetTraps (r:1 w:1)
613
	/// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
614
	fn claim_asset() -> Weight {
615
		// Proof Size summary in bytes:
616
		//  Measured:  `126`
617
		//  Estimated: `3591`
618
		// Minimum execution time: 23_093_000 picoseconds.
619
		Weight::from_parts(23_438_000, 3591)
620
			.saturating_add(RocksDbWeight::get().reads(1_u64))
621
			.saturating_add(RocksDbWeight::get().writes(1_u64))
622
	}
623
	fn trap() -> Weight {
624
		// Proof Size summary in bytes:
625
		//  Measured:  `0`
626
		//  Estimated: `0`
627
		// Minimum execution time: 5_182_000 picoseconds.
628
		Weight::from_parts(5_281_000, 0)
629
	}
630
	/// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
631
	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
632
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
633
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
634
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
635
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
636
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
637
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
638
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
639
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
640
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
641
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
642
	fn subscribe_version() -> Weight {
643
		// Proof Size summary in bytes:
644
		//  Measured:  `145`
645
		//  Estimated: `13740`
646
		// Minimum execution time: 42_060_000 picoseconds.
647
		Weight::from_parts(42_607_000, 13740)
648
			.saturating_add(RocksDbWeight::get().reads(6_u64))
649
			.saturating_add(RocksDbWeight::get().writes(3_u64))
650
	}
651
	/// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
652
	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
653
	fn unsubscribe_version() -> Weight {
654
		// Proof Size summary in bytes:
655
		//  Measured:  `0`
656
		//  Estimated: `0`
657
		// Minimum execution time: 8_521_000 picoseconds.
658
		Weight::from_parts(8_689_000, 0)
659
			.saturating_add(RocksDbWeight::get().writes(1_u64))
660
	}
661
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
662
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
663
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
664
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
665
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
666
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
667
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
668
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
669
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
670
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
671
	fn initiate_reserve_withdraw() -> Weight {
672
		// Proof Size summary in bytes:
673
		//  Measured:  `145`
674
		//  Estimated: `10130`
675
		// Minimum execution time: 713_056_000 picoseconds.
676
		Weight::from_parts(715_975_000, 10130)
677
			.saturating_add(RocksDbWeight::get().reads(5_u64))
678
			.saturating_add(RocksDbWeight::get().writes(2_u64))
679
	}
680
	fn burn_asset() -> Weight {
681
		// Proof Size summary in bytes:
682
		//  Measured:  `0`
683
		//  Estimated: `0`
684
		// Minimum execution time: 226_643_000 picoseconds.
685
		Weight::from_parts(227_558_000, 0)
686
	}
687
	fn expect_asset() -> Weight {
688
		// Proof Size summary in bytes:
689
		//  Measured:  `0`
690
		//  Estimated: `0`
691
		// Minimum execution time: 19_959_000 picoseconds.
692
		Weight::from_parts(20_434_000, 0)
693
	}
694
	fn expect_origin() -> Weight {
695
		// Proof Size summary in bytes:
696
		//  Measured:  `0`
697
		//  Estimated: `0`
698
		// Minimum execution time: 5_047_000 picoseconds.
699
		Weight::from_parts(5_211_000, 0)
700
	}
701
	fn expect_error() -> Weight {
702
		// Proof Size summary in bytes:
703
		//  Measured:  `0`
704
		//  Estimated: `0`
705
		// Minimum execution time: 5_051_000 picoseconds.
706
		Weight::from_parts(5_141_000, 0)
707
	}
708
	fn expect_transact_status() -> Weight {
709
		// Proof Size summary in bytes:
710
		//  Measured:  `0`
711
		//  Estimated: `0`
712
		// Minimum execution time: 5_189_000 picoseconds.
713
		Weight::from_parts(5_381_000, 0)
714
	}
715
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
716
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
717
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
718
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
719
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
720
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
721
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
722
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
723
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
724
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
725
	fn query_pallet() -> Weight {
726
		// Proof Size summary in bytes:
727
		//  Measured:  `145`
728
		//  Estimated: `10130`
729
		// Minimum execution time: 50_026_000 picoseconds.
730
		Weight::from_parts(50_578_000, 10130)
731
			.saturating_add(RocksDbWeight::get().reads(5_u64))
732
			.saturating_add(RocksDbWeight::get().writes(2_u64))
733
	}
734
	fn expect_pallet() -> Weight {
735
		// Proof Size summary in bytes:
736
		//  Measured:  `0`
737
		//  Estimated: `0`
738
		// Minimum execution time: 17_409_000 picoseconds.
739
		Weight::from_parts(17_794_000, 0)
740
	}
741
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
742
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
743
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
744
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
745
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
746
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
747
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
748
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
749
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
750
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
751
	fn report_transact_status() -> Weight {
752
		// Proof Size summary in bytes:
753
		//  Measured:  `145`
754
		//  Estimated: `10130`
755
		// Minimum execution time: 35_835_000 picoseconds.
756
		Weight::from_parts(36_090_000, 10130)
757
			.saturating_add(RocksDbWeight::get().reads(5_u64))
758
			.saturating_add(RocksDbWeight::get().writes(2_u64))
759
	}
760
	fn clear_transact_status() -> Weight {
761
		// Proof Size summary in bytes:
762
		//  Measured:  `0`
763
		//  Estimated: `0`
764
		// Minimum execution time: 5_132_000 picoseconds.
765
		Weight::from_parts(5_280_000, 0)
766
	}
767
	fn set_topic() -> Weight {
768
		// Proof Size summary in bytes:
769
		//  Measured:  `0`
770
		//  Estimated: `0`
771
		// Minimum execution time: 5_095_000 picoseconds.
772
		Weight::from_parts(5_215_000, 0)
773
	}
774
	fn clear_topic() -> Weight {
775
		// Proof Size summary in bytes:
776
		//  Measured:  `0`
777
		//  Estimated: `0`
778
		// Minimum execution time: 5_099_000 picoseconds.
779
		Weight::from_parts(5_214_000, 0)
780
	}
781
	/// Storage: Benchmark Override (r:0 w:0)
782
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
783
	fn exchange_asset() -> Weight {
784
		// Proof Size summary in bytes:
785
		//  Measured:  `0`
786
		//  Estimated: `0`
787
		// Minimum execution time: 500_000_000_000 picoseconds.
788
		Weight::from_parts(500_000_000_000, 0)
789
	}
790
	/// Storage: Benchmark Override (r:0 w:0)
791
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
792
	fn universal_origin() -> Weight {
793
		// Proof Size summary in bytes:
794
		//  Measured:  `0`
795
		//  Estimated: `0`
796
		// Minimum execution time: 500_000_000_000 picoseconds.
797
		Weight::from_parts(500_000_000_000, 0)
798
	}
799
	/// Storage: Benchmark Override (r:0 w:0)
800
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
801
	/// The range of component `x` is `[1, 1000]`.
802
	fn export_message() -> Weight {
803
		// Proof Size summary in bytes:
804
		//  Measured:  `0`
805
		//  Estimated: `0`
806
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
807
		Weight::from_parts(500_000_000_000, 0)
808
	}
809
	fn set_fees_mode() -> Weight {
810
		// Proof Size summary in bytes:
811
		//  Measured:  `0`
812
		//  Estimated: `0`
813
		// Minimum execution time: 5_066_000 picoseconds.
814
		Weight::from_parts(5_215_000, 0)
815
	}
816
	/// Storage: Benchmark Override (r:0 w:0)
817
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
818
	fn lock_asset() -> Weight {
819
		// Proof Size summary in bytes:
820
		//  Measured:  `0`
821
		//  Estimated: `0`
822
		// Minimum execution time: 500_000_000_000 picoseconds.
823
		Weight::from_parts(500_000_000_000, 0)
824
	}
825
	/// Storage: Benchmark Override (r:0 w:0)
826
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
827
	fn unlock_asset() -> Weight {
828
		// Proof Size summary in bytes:
829
		//  Measured:  `0`
830
		//  Estimated: `0`
831
		// Minimum execution time: 500_000_000_000 picoseconds.
832
		Weight::from_parts(500_000_000_000, 0)
833
	}
834
	/// Storage: Benchmark Override (r:0 w:0)
835
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
836
	fn note_unlockable() -> Weight {
837
		// Proof Size summary in bytes:
838
		//  Measured:  `0`
839
		//  Estimated: `0`
840
		// Minimum execution time: 500_000_000_000 picoseconds.
841
		Weight::from_parts(500_000_000_000, 0)
842
	}
843
	/// Storage: Benchmark Override (r:0 w:0)
844
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
845
	fn request_unlock() -> Weight {
846
		// Proof Size summary in bytes:
847
		//  Measured:  `0`
848
		//  Estimated: `0`
849
		// Minimum execution time: 500_000_000_000 picoseconds.
850
		Weight::from_parts(500_000_000_000, 0)
851
	}
852
	fn unpaid_execution() -> Weight {
853
		// Proof Size summary in bytes:
854
		//  Measured:  `0`
855
		//  Estimated: `0`
856
		// Minimum execution time: 5_249_000 picoseconds.
857
		Weight::from_parts(5_371_000, 0)
858
	}
859
	fn pay_fees() -> Weight {
860
		// Proof Size summary in bytes:
861
		//  Measured:  `0`
862
		//  Estimated: `0`
863
		// Minimum execution time: 2_000_000_000_000 picoseconds.
864
		Weight::from_parts(2_000_000_000_000, 0)
865
	}
866
	fn initiate_transfer() -> Weight {
867
		// Proof Size summary in bytes:
868
		//  Measured:  `0`
869
		//  Estimated: `0`
870
		// Minimum execution time: 2_000_000_000_000 picoseconds.
871
		Weight::from_parts(2_000_000_000_000, 0)
872
	}
873
	fn execute_with_origin() -> Weight {
874
		// Proof Size summary in bytes:
875
		//  Measured:  `0`
876
		//  Estimated: `0`
877
		// Minimum execution time: 2_000_000_000_000 picoseconds.
878
		Weight::from_parts(2_000_000_000_000, 0)
879
	}
880
	fn set_hints() -> Weight {
881
		// Proof Size summary in bytes:
882
		//  Measured:  `0`
883
		//  Estimated: `0`
884
		// Minimum execution time: 2_000_000_000_000 picoseconds.
885
		Weight::from_parts(2_000_000_000_000, 0)
886
	}
887
}