1
// Copyright 2019-2022 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
}
92

            
93
/// Weights for moonbeam_xcm_benchmarks_generic using the Substrate node and recommended hardware.
94
pub struct SubstrateWeight<T>(PhantomData<T>);
95
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
96
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
97
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
98
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
99
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
100
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
101
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
102
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
103
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
104
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
105
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
106
	fn report_holding() -> Weight {
107
		// Proof Size summary in bytes:
108
		//  Measured:  `145`
109
		//  Estimated: `10130`
110
		// Minimum execution time: 613_728_000 picoseconds.
111
		Weight::from_parts(616_143_000, 10130)
112
			.saturating_add(T::DbWeight::get().reads(5_u64))
113
			.saturating_add(T::DbWeight::get().writes(2_u64))
114
	}
115
	/// Storage: AssetManager SupportedFeePaymentAssets (r:1 w:0)
116
	/// Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured)
117
	/// Storage: AssetManager AssetTypeUnitsPerSecond (r:1 w:0)
118
	/// Proof Skipped: AssetManager AssetTypeUnitsPerSecond (max_values: None, max_size: None, mode: Measured)
119
	/// Storage: AssetManager AssetTypeId (r:1 w:0)
120
	/// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured)
121
	/// Storage: Assets Asset (r:1 w:0)
122
	/// Proof: Assets Asset (max_values: None, max_size: Some(174), added: 2649, mode: MaxEncodedLen)
123
	fn buy_execution() -> Weight {
124
		// Proof Size summary in bytes:
125
		//  Measured:  `2334`
126
		//  Estimated: `19056`
127
		// Minimum execution time: 180_427_000 picoseconds.
128
		Weight::from_parts(181_080_000, 19056)
129
			.saturating_add(T::DbWeight::get().reads(4_u64))
130
	}
131
	/// Storage: PolkadotXcm Queries (r:1 w:0)
132
	/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
133
	fn query_response() -> Weight {
134
		// Proof Size summary in bytes:
135
		//  Measured:  `69`
136
		//  Estimated: `3534`
137
		// Minimum execution time: 17_147_000 picoseconds.
138
		Weight::from_parts(17_428_000, 3534)
139
			.saturating_add(T::DbWeight::get().reads(1_u64))
140
	}
141
	/// Storage: MaintenanceMode MaintenanceMode (r:1 w:0)
142
	/// Proof Skipped: MaintenanceMode MaintenanceMode (max_values: Some(1), max_size: None, mode: Measured)
143
	fn transact() -> Weight {
144
		// Proof Size summary in bytes:
145
		//  Measured:  `42`
146
		//  Estimated: `1527`
147
		// Minimum execution time: 24_018_000 picoseconds.
148
		Weight::from_parts(24_375_000, 1527)
149
			.saturating_add(T::DbWeight::get().reads(1_u64))
150
	}
151
	fn refund_surplus() -> Weight {
152
		// Proof Size summary in bytes:
153
		//  Measured:  `0`
154
		//  Estimated: `0`
155
		// Minimum execution time: 7_851_000 picoseconds.
156
		Weight::from_parts(7_975_000, 0)
157
	}
158
	fn set_error_handler() -> Weight {
159
		// Proof Size summary in bytes:
160
		//  Measured:  `0`
161
		//  Estimated: `0`
162
		// Minimum execution time: 5_072_000 picoseconds.
163
		Weight::from_parts(5_182_000, 0)
164
	}
165
	fn set_appendix() -> Weight {
166
		// Proof Size summary in bytes:
167
		//  Measured:  `0`
168
		//  Estimated: `0`
169
		// Minimum execution time: 4_983_000 picoseconds.
170
		Weight::from_parts(5_123_000, 0)
171
	}
172
	fn clear_error() -> Weight {
173
		// Proof Size summary in bytes:
174
		//  Measured:  `0`
175
		//  Estimated: `0`
176
		// Minimum execution time: 5_017_000 picoseconds.
177
		Weight::from_parts(5_147_000, 0)
178
	}
179
	fn descend_origin() -> Weight {
180
		// Proof Size summary in bytes:
181
		//  Measured:  `0`
182
		//  Estimated: `0`
183
		// Minimum execution time: 5_870_000 picoseconds.
184
		Weight::from_parts(5_992_000, 0)
185
	}
186
6
	fn clear_origin() -> Weight {
187
6
		// Proof Size summary in bytes:
188
6
		//  Measured:  `0`
189
6
		//  Estimated: `0`
190
6
		// Minimum execution time: 5_059_000 picoseconds.
191
6
		Weight::from_parts(5_194_000, 0)
192
6
	}
193
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
194
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
195
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
196
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
197
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
198
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
199
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
200
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
201
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
202
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
203
	fn report_error() -> Weight {
204
		// Proof Size summary in bytes:
205
		//  Measured:  `145`
206
		//  Estimated: `10130`
207
		// Minimum execution time: 35_671_000 picoseconds.
208
		Weight::from_parts(36_231_000, 10130)
209
			.saturating_add(T::DbWeight::get().reads(5_u64))
210
			.saturating_add(T::DbWeight::get().writes(2_u64))
211
	}
212
	/// Storage: PolkadotXcm AssetTraps (r:1 w:1)
213
	/// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
214
	fn claim_asset() -> Weight {
215
		// Proof Size summary in bytes:
216
		//  Measured:  `126`
217
		//  Estimated: `3591`
218
		// Minimum execution time: 23_093_000 picoseconds.
219
		Weight::from_parts(23_438_000, 3591)
220
			.saturating_add(T::DbWeight::get().reads(1_u64))
221
			.saturating_add(T::DbWeight::get().writes(1_u64))
222
	}
223
	fn trap() -> Weight {
224
		// Proof Size summary in bytes:
225
		//  Measured:  `0`
226
		//  Estimated: `0`
227
		// Minimum execution time: 5_182_000 picoseconds.
228
		Weight::from_parts(5_281_000, 0)
229
	}
230
	/// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
231
	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
232
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
233
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
234
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
235
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
236
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
237
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
238
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
239
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
240
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
241
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
242
	fn subscribe_version() -> Weight {
243
		// Proof Size summary in bytes:
244
		//  Measured:  `145`
245
		//  Estimated: `13740`
246
		// Minimum execution time: 42_060_000 picoseconds.
247
		Weight::from_parts(42_607_000, 13740)
248
			.saturating_add(T::DbWeight::get().reads(6_u64))
249
			.saturating_add(T::DbWeight::get().writes(3_u64))
250
	}
251
	/// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
252
	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
253
	fn unsubscribe_version() -> Weight {
254
		// Proof Size summary in bytes:
255
		//  Measured:  `0`
256
		//  Estimated: `0`
257
		// Minimum execution time: 8_521_000 picoseconds.
258
		Weight::from_parts(8_689_000, 0)
259
			.saturating_add(T::DbWeight::get().writes(1_u64))
260
	}
261
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
262
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
263
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
264
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
265
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
266
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
267
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
268
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
269
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
270
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
271
	fn initiate_reserve_withdraw() -> Weight {
272
		// Proof Size summary in bytes:
273
		//  Measured:  `145`
274
		//  Estimated: `10130`
275
		// Minimum execution time: 713_056_000 picoseconds.
276
		Weight::from_parts(715_975_000, 10130)
277
			.saturating_add(T::DbWeight::get().reads(5_u64))
278
			.saturating_add(T::DbWeight::get().writes(2_u64))
279
	}
280
104
	fn burn_asset() -> Weight {
281
104
		// Proof Size summary in bytes:
282
104
		//  Measured:  `0`
283
104
		//  Estimated: `0`
284
104
		// Minimum execution time: 226_643_000 picoseconds.
285
104
		Weight::from_parts(227_558_000, 0)
286
104
	}
287
	fn expect_asset() -> Weight {
288
		// Proof Size summary in bytes:
289
		//  Measured:  `0`
290
		//  Estimated: `0`
291
		// Minimum execution time: 19_959_000 picoseconds.
292
		Weight::from_parts(20_434_000, 0)
293
	}
294
	fn expect_origin() -> Weight {
295
		// Proof Size summary in bytes:
296
		//  Measured:  `0`
297
		//  Estimated: `0`
298
		// Minimum execution time: 5_047_000 picoseconds.
299
		Weight::from_parts(5_211_000, 0)
300
	}
301
	fn expect_error() -> Weight {
302
		// Proof Size summary in bytes:
303
		//  Measured:  `0`
304
		//  Estimated: `0`
305
		// Minimum execution time: 5_051_000 picoseconds.
306
		Weight::from_parts(5_141_000, 0)
307
	}
308
	fn expect_transact_status() -> Weight {
309
		// Proof Size summary in bytes:
310
		//  Measured:  `0`
311
		//  Estimated: `0`
312
		// Minimum execution time: 5_189_000 picoseconds.
313
		Weight::from_parts(5_381_000, 0)
314
	}
315
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
316
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
317
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
318
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
319
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
320
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
321
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
322
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
323
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
324
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
325
	fn query_pallet() -> Weight {
326
		// Proof Size summary in bytes:
327
		//  Measured:  `145`
328
		//  Estimated: `10130`
329
		// Minimum execution time: 50_026_000 picoseconds.
330
		Weight::from_parts(50_578_000, 10130)
331
			.saturating_add(T::DbWeight::get().reads(5_u64))
332
			.saturating_add(T::DbWeight::get().writes(2_u64))
333
	}
334
	fn expect_pallet() -> Weight {
335
		// Proof Size summary in bytes:
336
		//  Measured:  `0`
337
		//  Estimated: `0`
338
		// Minimum execution time: 17_409_000 picoseconds.
339
		Weight::from_parts(17_794_000, 0)
340
	}
341
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
342
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
343
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
344
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
345
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
346
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
347
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
348
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
349
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
350
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
351
	fn report_transact_status() -> Weight {
352
		// Proof Size summary in bytes:
353
		//  Measured:  `145`
354
		//  Estimated: `10130`
355
		// Minimum execution time: 35_835_000 picoseconds.
356
		Weight::from_parts(36_090_000, 10130)
357
			.saturating_add(T::DbWeight::get().reads(5_u64))
358
			.saturating_add(T::DbWeight::get().writes(2_u64))
359
	}
360
	fn clear_transact_status() -> Weight {
361
		// Proof Size summary in bytes:
362
		//  Measured:  `0`
363
		//  Estimated: `0`
364
		// Minimum execution time: 5_132_000 picoseconds.
365
		Weight::from_parts(5_280_000, 0)
366
	}
367
	fn set_topic() -> Weight {
368
		// Proof Size summary in bytes:
369
		//  Measured:  `0`
370
		//  Estimated: `0`
371
		// Minimum execution time: 5_095_000 picoseconds.
372
		Weight::from_parts(5_215_000, 0)
373
	}
374
	fn clear_topic() -> Weight {
375
		// Proof Size summary in bytes:
376
		//  Measured:  `0`
377
		//  Estimated: `0`
378
		// Minimum execution time: 5_099_000 picoseconds.
379
		Weight::from_parts(5_214_000, 0)
380
	}
381
	/// Storage: Benchmark Override (r:0 w:0)
382
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
383
	fn exchange_asset() -> Weight {
384
		// Proof Size summary in bytes:
385
		//  Measured:  `0`
386
		//  Estimated: `0`
387
		// Minimum execution time: 500_000_000_000 picoseconds.
388
		Weight::from_parts(500_000_000_000, 0)
389
	}
390
	/// Storage: Benchmark Override (r:0 w:0)
391
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
392
	fn universal_origin() -> Weight {
393
		// Proof Size summary in bytes:
394
		//  Measured:  `0`
395
		//  Estimated: `0`
396
		// Minimum execution time: 500_000_000_000 picoseconds.
397
		Weight::from_parts(500_000_000_000, 0)
398
	}
399
	/// Storage: Benchmark Override (r:0 w:0)
400
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
401
	/// The range of component `x` is `[1, 1000]`.
402
	fn export_message() -> Weight {
403
		// Proof Size summary in bytes:
404
		//  Measured:  `0`
405
		//  Estimated: `0`
406
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
407
		Weight::from_parts(500_000_000_000, 0)
408
	}
409
	fn set_fees_mode() -> Weight {
410
		// Proof Size summary in bytes:
411
		//  Measured:  `0`
412
		//  Estimated: `0`
413
		// Minimum execution time: 5_066_000 picoseconds.
414
		Weight::from_parts(5_215_000, 0)
415
	}
416
	/// Storage: Benchmark Override (r:0 w:0)
417
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
418
	fn lock_asset() -> Weight {
419
		// Proof Size summary in bytes:
420
		//  Measured:  `0`
421
		//  Estimated: `0`
422
		// Minimum execution time: 500_000_000_000 picoseconds.
423
		Weight::from_parts(500_000_000_000, 0)
424
	}
425
	/// Storage: Benchmark Override (r:0 w:0)
426
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
427
	fn unlock_asset() -> Weight {
428
		// Proof Size summary in bytes:
429
		//  Measured:  `0`
430
		//  Estimated: `0`
431
		// Minimum execution time: 500_000_000_000 picoseconds.
432
		Weight::from_parts(500_000_000_000, 0)
433
	}
434
	/// Storage: Benchmark Override (r:0 w:0)
435
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
436
	fn note_unlockable() -> Weight {
437
		// Proof Size summary in bytes:
438
		//  Measured:  `0`
439
		//  Estimated: `0`
440
		// Minimum execution time: 500_000_000_000 picoseconds.
441
		Weight::from_parts(500_000_000_000, 0)
442
	}
443
	/// Storage: Benchmark Override (r:0 w:0)
444
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
445
	fn request_unlock() -> Weight {
446
		// Proof Size summary in bytes:
447
		//  Measured:  `0`
448
		//  Estimated: `0`
449
		// Minimum execution time: 500_000_000_000 picoseconds.
450
		Weight::from_parts(500_000_000_000, 0)
451
	}
452
	fn unpaid_execution() -> Weight {
453
		// Proof Size summary in bytes:
454
		//  Measured:  `0`
455
		//  Estimated: `0`
456
		// Minimum execution time: 5_249_000 picoseconds.
457
		Weight::from_parts(5_371_000, 0)
458
	}
459
}
460

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