1
// Copyright 2025 Moonbeam foundation
2
// This file is part of Moonbeam.
3

            
4
// Moonbeam is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8

            
9
// Moonbeam is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
// GNU General Public License for more details.
13

            
14
// You should have received a copy of the GNU General Public License
15
// along with Moonbeam.  If not, see <http://www.gnu.org/licenses/>.
16

            
17
//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
18
//!
19
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0
20
//! DATE: 2026-03-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21
//! WORST CASE MAP SIZE: `1000000`
22
//! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
23
//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
24

            
25
// Executed Command:
26
// ./frame-omni-bencher
27
// v1
28
// benchmark
29
// pallet
30
// --runtime=./target/production/wbuild/moonbeam-runtime/moonbeam_runtime.wasm
31
// --genesis-builder=runtime
32
// --genesis-builder-preset=development
33
// --steps=50
34
// --repeat=20
35
// --pallet=pallet_xcm_benchmarks::generic
36
// --extrinsic=*
37
// --wasm-execution=compiled
38
// --header=./file_header.txt
39
// --template=./benchmarking/xcm-weight-template.hbs
40
// --disable-log-color
41
// --output=./runtime/moonbeam/src/weights/xcm
42

            
43
#![cfg_attr(rustfmt, rustfmt_skip)]
44
#![allow(unused_parens)]
45
#![allow(unused_imports)]
46

            
47
use frame_support::{traits::Get, weights::Weight};
48
use core::marker::PhantomData;
49

            
50
/// Weight functions for `pallet_xcm_benchmarks::generic`.
51
pub struct WeightInfo<T>(PhantomData<T>);
52
impl<T: frame_system::Config> WeightInfo<T> {
53
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
54
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
55
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
56
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
57
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
58
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
59
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
60
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
61
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
62
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
63
	pub(crate) fn report_holding() -> Weight {
64
		// Proof Size summary in bytes:
65
		//  Measured:  `242`
66
		//  Estimated: `3707`
67
		// Minimum execution time: 66_177_000 picoseconds.
68
		Weight::from_parts(68_680_000, 3707)
69
			.saturating_add(T::DbWeight::get().reads(5))
70
			.saturating_add(T::DbWeight::get().writes(2))
71
	}
72
	/// Storage: `XcmWeightTrader::SupportedAssets` (r:1 w:0)
73
	/// Proof: `XcmWeightTrader::SupportedAssets` (`max_values`: None, `max_size`: Some(635), added: 3110, mode: `MaxEncodedLen`)
74
	/// Storage: `EvmForeignAssets::AssetsByLocation` (r:1 w:0)
75
	/// Proof: `EvmForeignAssets::AssetsByLocation` (`max_values`: None, `max_size`: None, mode: `Measured`)
76
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
77
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
78
	/// Storage: `EthereumXcm::EthereumXcmSuspended` (r:1 w:0)
79
	/// Proof: `EthereumXcm::EthereumXcmSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
80
	/// Storage: `EthereumXcm::Nonce` (r:1 w:1)
81
	/// Proof: `EthereumXcm::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
82
	/// Storage: `EthereumChainId::ChainId` (r:1 w:0)
83
	/// Proof: `EthereumChainId::ChainId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
84
	/// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
85
	/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
86
	/// Storage: `EVM::AccountCodesMetadata` (r:1 w:0)
87
	/// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
88
	/// Storage: `System::Account` (r:1 w:1)
89
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
90
	/// Storage: `System::Digest` (r:1 w:0)
91
	/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
92
	/// Storage: `EVM::AccountCodes` (r:1 w:0)
93
	/// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
94
	/// Storage: `Ethereum::CounterForPending` (r:1 w:1)
95
	/// Proof: `Ethereum::CounterForPending` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
96
	/// Storage: `Ethereum::Pending` (r:2 w:1)
97
	/// Proof: `Ethereum::Pending` (`max_values`: None, `max_size`: None, mode: `Measured`)
98
1
	pub(crate) fn buy_execution() -> Weight {
99
		// Proof Size summary in bytes:
100
		//  Measured:  `607`
101
		//  Estimated: `6547`
102
		// Minimum execution time: 15_471_000 picoseconds.
103
1
		Weight::from_parts(16_209_000, 6547)
104
1
			.saturating_add(T::DbWeight::get().reads(14))
105
1
			.saturating_add(T::DbWeight::get().writes(4))
106
1
	}
107
	/// Storage: `XcmWeightTrader::SupportedAssets` (r:1 w:0)
108
	/// Proof: `XcmWeightTrader::SupportedAssets` (`max_values`: None, `max_size`: Some(635), added: 3110, mode: `MaxEncodedLen`)
109
	/// Storage: `EvmForeignAssets::AssetsByLocation` (r:1 w:0)
110
	/// Proof: `EvmForeignAssets::AssetsByLocation` (`max_values`: None, `max_size`: None, mode: `Measured`)
111
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
112
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
113
	/// Storage: `EthereumXcm::EthereumXcmSuspended` (r:1 w:0)
114
	/// Proof: `EthereumXcm::EthereumXcmSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
115
	/// Storage: `EthereumXcm::Nonce` (r:1 w:1)
116
	/// Proof: `EthereumXcm::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
117
	/// Storage: `EthereumChainId::ChainId` (r:1 w:0)
118
	/// Proof: `EthereumChainId::ChainId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
119
	/// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
120
	/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
121
	/// Storage: `EVM::AccountCodesMetadata` (r:1 w:0)
122
	/// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
123
	/// Storage: `System::Account` (r:1 w:1)
124
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
125
	/// Storage: `System::Digest` (r:1 w:0)
126
	/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
127
	/// Storage: `EVM::AccountCodes` (r:1 w:0)
128
	/// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
129
	/// Storage: `Ethereum::CounterForPending` (r:1 w:1)
130
	/// Proof: `Ethereum::CounterForPending` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
131
	/// Storage: `Ethereum::Pending` (r:2 w:1)
132
	/// Proof: `Ethereum::Pending` (`max_values`: None, `max_size`: None, mode: `Measured`)
133
	pub(crate) fn pay_fees() -> Weight {
134
		// Proof Size summary in bytes:
135
		//  Measured:  `607`
136
		//  Estimated: `6547`
137
		// Minimum execution time: 15_696_000 picoseconds.
138
		Weight::from_parts(16_237_000, 6547)
139
			.saturating_add(T::DbWeight::get().reads(14))
140
			.saturating_add(T::DbWeight::get().writes(4))
141
	}
142
	pub(crate) fn asset_claimer() -> Weight {
143
		// Proof Size summary in bytes:
144
		//  Measured:  `0`
145
		//  Estimated: `0`
146
		// Minimum execution time: 889_000 picoseconds.
147
		Weight::from_parts(964_000, 0)
148
	}
149
	/// Storage: `PolkadotXcm::Queries` (r:1 w:0)
150
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
151
	pub(crate) fn query_response() -> Weight {
152
		// Proof Size summary in bytes:
153
		//  Measured:  `103`
154
		//  Estimated: `3568`
155
		// Minimum execution time: 8_363_000 picoseconds.
156
		Weight::from_parts(8_891_000, 3568)
157
			.saturating_add(T::DbWeight::get().reads(1))
158
	}
159
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
160
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
161
1
	pub(crate) fn transact() -> Weight {
162
		// Proof Size summary in bytes:
163
		//  Measured:  `42`
164
		//  Estimated: `1527`
165
		// Minimum execution time: 10_576_000 picoseconds.
166
1
		Weight::from_parts(10_904_000, 1527)
167
1
			.saturating_add(T::DbWeight::get().reads(1))
168
1
	}
169
	/// Storage: `XcmWeightTrader::SupportedAssets` (r:1 w:0)
170
	/// Proof: `XcmWeightTrader::SupportedAssets` (`max_values`: None, `max_size`: Some(635), added: 3110, mode: `MaxEncodedLen`)
171
	/// Storage: `EvmForeignAssets::AssetsByLocation` (r:1 w:0)
172
	/// Proof: `EvmForeignAssets::AssetsByLocation` (`max_values`: None, `max_size`: None, mode: `Measured`)
173
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
174
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
175
	/// Storage: `EthereumXcm::EthereumXcmSuspended` (r:1 w:0)
176
	/// Proof: `EthereumXcm::EthereumXcmSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
177
	/// Storage: `EthereumXcm::Nonce` (r:1 w:1)
178
	/// Proof: `EthereumXcm::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
179
	/// Storage: `EthereumChainId::ChainId` (r:1 w:0)
180
	/// Proof: `EthereumChainId::ChainId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
181
	/// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
182
	/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
183
	/// Storage: `EVM::AccountCodesMetadata` (r:1 w:0)
184
	/// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
185
	/// Storage: `System::Account` (r:1 w:1)
186
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
187
	/// Storage: `System::Digest` (r:1 w:0)
188
	/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
189
	/// Storage: `EVM::AccountCodes` (r:1 w:0)
190
	/// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
191
	/// Storage: `Ethereum::CounterForPending` (r:1 w:1)
192
	/// Proof: `Ethereum::CounterForPending` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
193
	/// Storage: `Ethereum::Pending` (r:2 w:1)
194
	/// Proof: `Ethereum::Pending` (`max_values`: None, `max_size`: None, mode: `Measured`)
195
	pub(crate) fn refund_surplus() -> Weight {
196
		// Proof Size summary in bytes:
197
		//  Measured:  `607`
198
		//  Estimated: `6547`
199
		// Minimum execution time: 10_440_000 picoseconds.
200
		Weight::from_parts(11_084_000, 6547)
201
			.saturating_add(T::DbWeight::get().reads(14))
202
			.saturating_add(T::DbWeight::get().writes(4))
203
	}
204
	pub(crate) fn set_error_handler() -> Weight {
205
		// Proof Size summary in bytes:
206
		//  Measured:  `0`
207
		//  Estimated: `0`
208
		// Minimum execution time: 885_000 picoseconds.
209
		Weight::from_parts(951_000, 0)
210
	}
211
	pub(crate) fn set_appendix() -> Weight {
212
		// Proof Size summary in bytes:
213
		//  Measured:  `0`
214
		//  Estimated: `0`
215
		// Minimum execution time: 883_000 picoseconds.
216
		Weight::from_parts(932_000, 0)
217
	}
218
	pub(crate) fn clear_error() -> Weight {
219
		// Proof Size summary in bytes:
220
		//  Measured:  `0`
221
		//  Estimated: `0`
222
		// Minimum execution time: 850_000 picoseconds.
223
		Weight::from_parts(873_000, 0)
224
	}
225
1
	pub(crate) fn descend_origin() -> Weight {
226
		// Proof Size summary in bytes:
227
		//  Measured:  `0`
228
		//  Estimated: `0`
229
		// Minimum execution time: 877_000 picoseconds.
230
1
		Weight::from_parts(924_000, 0)
231
1
	}
232
	/// Storage: `Benchmark::Override` (r:0 w:0)
233
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
234
	pub(crate) fn execute_with_origin() -> Weight {
235
		// Proof Size summary in bytes:
236
		//  Measured:  `0`
237
		//  Estimated: `0`
238
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
239
		Weight::from_parts(18_446_744_073_709_551_000, 0)
240
	}
241
4
	pub(crate) fn clear_origin() -> Weight {
242
		// Proof Size summary in bytes:
243
		//  Measured:  `0`
244
		//  Estimated: `0`
245
		// Minimum execution time: 833_000 picoseconds.
246
4
		Weight::from_parts(924_000, 0)
247
4
	}
248
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
249
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
250
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
251
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
252
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
253
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
254
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
255
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
256
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
257
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
258
	pub(crate) fn report_error() -> Weight {
259
		// Proof Size summary in bytes:
260
		//  Measured:  `242`
261
		//  Estimated: `3707`
262
		// Minimum execution time: 29_771_000 picoseconds.
263
		Weight::from_parts(30_522_000, 3707)
264
			.saturating_add(T::DbWeight::get().reads(5))
265
			.saturating_add(T::DbWeight::get().writes(2))
266
	}
267
	/// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
268
	/// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
269
2
	pub(crate) fn claim_asset() -> Weight {
270
		// Proof Size summary in bytes:
271
		//  Measured:  `160`
272
		//  Estimated: `3625`
273
		// Minimum execution time: 12_009_000 picoseconds.
274
2
		Weight::from_parts(12_510_000, 3625)
275
2
			.saturating_add(T::DbWeight::get().reads(1))
276
2
			.saturating_add(T::DbWeight::get().writes(1))
277
2
	}
278
	pub(crate) fn trap() -> Weight {
279
		// Proof Size summary in bytes:
280
		//  Measured:  `0`
281
		//  Estimated: `0`
282
		// Minimum execution time: 3_524_000 picoseconds.
283
		Weight::from_parts(3_747_000, 0)
284
	}
285
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:1 w:1)
286
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
287
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
288
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
289
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
290
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
291
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
292
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
293
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
294
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
295
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
296
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
297
	pub(crate) fn subscribe_version() -> Weight {
298
		// Proof Size summary in bytes:
299
		//  Measured:  `242`
300
		//  Estimated: `3707`
301
		// Minimum execution time: 32_418_000 picoseconds.
302
		Weight::from_parts(34_360_000, 3707)
303
			.saturating_add(T::DbWeight::get().reads(6))
304
			.saturating_add(T::DbWeight::get().writes(3))
305
	}
306
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:0 w:1)
307
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
308
	pub(crate) fn unsubscribe_version() -> Weight {
309
		// Proof Size summary in bytes:
310
		//  Measured:  `0`
311
		//  Estimated: `0`
312
		// Minimum execution time: 3_195_000 picoseconds.
313
		Weight::from_parts(3_417_000, 0)
314
			.saturating_add(T::DbWeight::get().writes(1))
315
	}
316
2
	pub(crate) fn burn_asset() -> Weight {
317
		// Proof Size summary in bytes:
318
		//  Measured:  `0`
319
		//  Estimated: `0`
320
		// Minimum execution time: 8_212_000 picoseconds.
321
2
		Weight::from_parts(8_621_000, 0)
322
2
	}
323
	pub(crate) fn expect_asset() -> Weight {
324
		// Proof Size summary in bytes:
325
		//  Measured:  `0`
326
		//  Estimated: `0`
327
		// Minimum execution time: 2_736_000 picoseconds.
328
		Weight::from_parts(2_935_000, 0)
329
	}
330
	pub(crate) fn expect_origin() -> Weight {
331
		// Proof Size summary in bytes:
332
		//  Measured:  `0`
333
		//  Estimated: `0`
334
		// Minimum execution time: 3_503_000 picoseconds.
335
		Weight::from_parts(3_672_000, 0)
336
	}
337
	pub(crate) fn expect_error() -> Weight {
338
		// Proof Size summary in bytes:
339
		//  Measured:  `0`
340
		//  Estimated: `0`
341
		// Minimum execution time: 3_492_000 picoseconds.
342
		Weight::from_parts(3_727_000, 0)
343
	}
344
	pub(crate) fn expect_transact_status() -> Weight {
345
		// Proof Size summary in bytes:
346
		//  Measured:  `0`
347
		//  Estimated: `0`
348
		// Minimum execution time: 1_041_000 picoseconds.
349
		Weight::from_parts(1_097_000, 0)
350
	}
351
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
352
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
353
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
354
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
355
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
356
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
357
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
358
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
359
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
360
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
361
	pub(crate) fn query_pallet() -> Weight {
362
		// Proof Size summary in bytes:
363
		//  Measured:  `242`
364
		//  Estimated: `3707`
365
		// Minimum execution time: 39_082_000 picoseconds.
366
		Weight::from_parts(40_223_000, 3707)
367
			.saturating_add(T::DbWeight::get().reads(5))
368
			.saturating_add(T::DbWeight::get().writes(2))
369
	}
370
	pub(crate) fn expect_pallet() -> Weight {
371
		// Proof Size summary in bytes:
372
		//  Measured:  `0`
373
		//  Estimated: `0`
374
		// Minimum execution time: 8_666_000 picoseconds.
375
		Weight::from_parts(8_918_000, 0)
376
	}
377
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
378
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
379
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
380
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
381
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
382
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
383
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
384
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
385
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
386
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
387
	pub(crate) fn report_transact_status() -> Weight {
388
		// Proof Size summary in bytes:
389
		//  Measured:  `242`
390
		//  Estimated: `3707`
391
		// Minimum execution time: 29_539_000 picoseconds.
392
		Weight::from_parts(30_697_000, 3707)
393
			.saturating_add(T::DbWeight::get().reads(5))
394
			.saturating_add(T::DbWeight::get().writes(2))
395
	}
396
	pub(crate) fn clear_transact_status() -> Weight {
397
		// Proof Size summary in bytes:
398
		//  Measured:  `0`
399
		//  Estimated: `0`
400
		// Minimum execution time: 883_000 picoseconds.
401
		Weight::from_parts(962_000, 0)
402
	}
403
1
	pub(crate) fn set_topic() -> Weight {
404
		// Proof Size summary in bytes:
405
		//  Measured:  `0`
406
		//  Estimated: `0`
407
		// Minimum execution time: 822_000 picoseconds.
408
1
		Weight::from_parts(875_000, 0)
409
1
	}
410
	pub(crate) fn clear_topic() -> Weight {
411
		// Proof Size summary in bytes:
412
		//  Measured:  `0`
413
		//  Estimated: `0`
414
		// Minimum execution time: 796_000 picoseconds.
415
		Weight::from_parts(887_000, 0)
416
	}
417
4
	pub(crate) fn set_fees_mode() -> Weight {
418
		// Proof Size summary in bytes:
419
		//  Measured:  `0`
420
		//  Estimated: `0`
421
		// Minimum execution time: 826_000 picoseconds.
422
4
		Weight::from_parts(864_000, 0)
423
4
	}
424
	pub(crate) fn unpaid_execution() -> Weight {
425
		// Proof Size summary in bytes:
426
		//  Measured:  `0`
427
		//  Estimated: `0`
428
		// Minimum execution time: 838_000 picoseconds.
429
		Weight::from_parts(903_000, 0)
430
	}
431
}