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

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

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

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

            
17

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

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

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

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

            
50
/// Weights for `pallet_xcm`.
51
pub struct WeightInfo<T>(PhantomData<T>);
52
impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
53
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
54
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
55
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
56
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
57
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
58
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
59
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
60
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
61
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
62
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
63
	fn send() -> Weight {
64
		// Proof Size summary in bytes:
65
		//  Measured:  `242`
66
		//  Estimated: `3707`
67
		// Minimum execution time: 34_848_000 picoseconds.
68
		Weight::from_parts(36_126_000, 3707)
69
			.saturating_add(T::DbWeight::get().reads(5_u64))
70
			.saturating_add(T::DbWeight::get().writes(2_u64))
71
	}
72
	/// Storage: `Benchmark::Override` (r:0 w:0)
73
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
74
	fn teleport_assets() -> Weight {
75
		// Proof Size summary in bytes:
76
		//  Measured:  `0`
77
		//  Estimated: `0`
78
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
79
		Weight::from_parts(18_446_744_073_709_551_000, 0)
80
	}
81
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
82
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
83
	/// Storage: `System::Account` (r:1 w:1)
84
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
85
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
86
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
87
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
88
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
89
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
90
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
91
	/// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
92
	/// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
93
	/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
94
	/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
95
	/// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
96
	/// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
97
	fn reserve_transfer_assets() -> Weight {
98
		// Proof Size summary in bytes:
99
		//  Measured:  `513`
100
		//  Estimated: `3978`
101
		// Minimum execution time: 109_479_000 picoseconds.
102
		Weight::from_parts(112_610_000, 3978)
103
			.saturating_add(T::DbWeight::get().reads(7_u64))
104
			.saturating_add(T::DbWeight::get().writes(4_u64))
105
	}
106
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
107
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
108
	/// Storage: `System::Account` (r:1 w:1)
109
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
110
	/// Storage: `EvmForeignAssets::AssetsByLocation` (r:1 w:0)
111
	/// Proof: `EvmForeignAssets::AssetsByLocation` (`max_values`: None, `max_size`: None, mode: `Measured`)
112
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
113
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
114
	/// Storage: `EthereumXcm::EthereumXcmSuspended` (r:1 w:0)
115
	/// Proof: `EthereumXcm::EthereumXcmSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
116
	/// Storage: `EthereumXcm::Nonce` (r:1 w:1)
117
	/// Proof: `EthereumXcm::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
118
	/// Storage: `EthereumChainId::ChainId` (r:1 w:0)
119
	/// Proof: `EthereumChainId::ChainId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
120
	/// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
121
	/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
122
	/// Storage: `EVM::AccountCodesMetadata` (r:2 w:0)
123
	/// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
124
	/// Storage: `System::Digest` (r:1 w:0)
125
	/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
126
	/// Storage: `EVM::AccountCodes` (r:1 w:0)
127
	/// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
128
	/// Storage: `EVM::AccountStorages` (r:3 w:2)
129
	/// Proof: `EVM::AccountStorages` (`max_values`: None, `max_size`: None, mode: `Measured`)
130
	/// Storage: `Ethereum::CounterForPending` (r:1 w:1)
131
	/// Proof: `Ethereum::CounterForPending` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
132
	/// Storage: `Ethereum::Pending` (r:2 w:1)
133
	/// Proof: `Ethereum::Pending` (`max_values`: None, `max_size`: None, mode: `Measured`)
134
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
135
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
136
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
137
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
138
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
139
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
140
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
141
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
142
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
143
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
144
	fn transfer_assets() -> Weight {
145
		// Proof Size summary in bytes:
146
		//  Measured:  `12669`
147
		//  Estimated: `21084`
148
		// Minimum execution time: 351_515_000 picoseconds.
149
		Weight::from_parts(371_404_000, 21084)
150
			.saturating_add(T::DbWeight::get().reads(23_u64))
151
			.saturating_add(T::DbWeight::get().writes(8_u64))
152
	}
153
	/// Storage: `Benchmark::Override` (r:0 w:0)
154
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
155
	fn execute() -> Weight {
156
		// Proof Size summary in bytes:
157
		//  Measured:  `0`
158
		//  Estimated: `0`
159
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
160
		Weight::from_parts(18_446_744_073_709_551_000, 0)
161
	}
162
	/// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
163
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
164
	fn force_xcm_version() -> Weight {
165
		// Proof Size summary in bytes:
166
		//  Measured:  `0`
167
		//  Estimated: `0`
168
		// Minimum execution time: 7_854_000 picoseconds.
169
		Weight::from_parts(8_083_000, 0)
170
			.saturating_add(T::DbWeight::get().writes(1_u64))
171
	}
172
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
173
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
174
	fn force_default_xcm_version() -> Weight {
175
		// Proof Size summary in bytes:
176
		//  Measured:  `0`
177
		//  Estimated: `0`
178
		// Minimum execution time: 2_536_000 picoseconds.
179
		Weight::from_parts(2_819_000, 0)
180
			.saturating_add(T::DbWeight::get().writes(1_u64))
181
	}
182
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
183
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
184
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
185
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
186
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
187
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
188
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
189
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
190
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
191
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
192
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
193
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
194
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
195
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
196
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
197
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
198
	fn force_subscribe_version_notify() -> Weight {
199
		// Proof Size summary in bytes:
200
		//  Measured:  `242`
201
		//  Estimated: `3707`
202
		// Minimum execution time: 38_954_000 picoseconds.
203
		Weight::from_parts(40_547_000, 3707)
204
			.saturating_add(T::DbWeight::get().reads(7_u64))
205
			.saturating_add(T::DbWeight::get().writes(5_u64))
206
	}
207
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
208
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
209
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
210
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
211
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
212
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
213
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
214
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
215
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
216
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
217
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
218
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
219
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
220
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
221
	fn force_unsubscribe_version_notify() -> Weight {
222
		// Proof Size summary in bytes:
223
		//  Measured:  `456`
224
		//  Estimated: `3921`
225
		// Minimum execution time: 41_350_000 picoseconds.
226
		Weight::from_parts(42_012_000, 3921)
227
			.saturating_add(T::DbWeight::get().reads(6_u64))
228
			.saturating_add(T::DbWeight::get().writes(4_u64))
229
	}
230
	/// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
231
	/// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
232
	fn force_suspension() -> Weight {
233
		// Proof Size summary in bytes:
234
		//  Measured:  `0`
235
		//  Estimated: `0`
236
		// Minimum execution time: 2_523_000 picoseconds.
237
		Weight::from_parts(2_722_000, 0)
238
			.saturating_add(T::DbWeight::get().writes(1_u64))
239
	}
240
	/// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
241
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
242
	fn migrate_supported_version() -> Weight {
243
		// Proof Size summary in bytes:
244
		//  Measured:  `162`
245
		//  Estimated: `16002`
246
		// Minimum execution time: 26_469_000 picoseconds.
247
		Weight::from_parts(27_131_000, 16002)
248
			.saturating_add(T::DbWeight::get().reads(6_u64))
249
			.saturating_add(T::DbWeight::get().writes(2_u64))
250
	}
251
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
252
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
253
	fn migrate_version_notifiers() -> Weight {
254
		// Proof Size summary in bytes:
255
		//  Measured:  `163`
256
		//  Estimated: `16003`
257
		// Minimum execution time: 24_446_000 picoseconds.
258
		Weight::from_parts(25_210_000, 16003)
259
			.saturating_add(T::DbWeight::get().reads(6_u64))
260
			.saturating_add(T::DbWeight::get().writes(2_u64))
261
	}
262
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
263
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
264
	fn already_notified_target() -> Weight {
265
		// Proof Size summary in bytes:
266
		//  Measured:  `279`
267
		//  Estimated: `18594`
268
		// Minimum execution time: 30_575_000 picoseconds.
269
		Weight::from_parts(31_352_000, 18594)
270
			.saturating_add(T::DbWeight::get().reads(7_u64))
271
	}
272
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
273
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
274
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
275
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
276
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
277
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
278
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
279
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
280
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
281
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
282
	fn notify_current_targets() -> Weight {
283
		// Proof Size summary in bytes:
284
		//  Measured:  `240`
285
		//  Estimated: `6180`
286
		// Minimum execution time: 27_087_000 picoseconds.
287
		Weight::from_parts(27_660_000, 6180)
288
			.saturating_add(T::DbWeight::get().reads(6_u64))
289
			.saturating_add(T::DbWeight::get().writes(2_u64))
290
	}
291
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
292
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
293
	fn notify_target_migration_fail() -> Weight {
294
		// Proof Size summary in bytes:
295
		//  Measured:  `282`
296
		//  Estimated: `13647`
297
		// Minimum execution time: 21_247_000 picoseconds.
298
		Weight::from_parts(21_658_000, 13647)
299
			.saturating_add(T::DbWeight::get().reads(5_u64))
300
	}
301
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
302
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
303
	fn migrate_version_notify_targets() -> Weight {
304
		// Proof Size summary in bytes:
305
		//  Measured:  `170`
306
		//  Estimated: `16010`
307
		// Minimum execution time: 24_650_000 picoseconds.
308
		Weight::from_parts(25_473_000, 16010)
309
			.saturating_add(T::DbWeight::get().reads(6_u64))
310
			.saturating_add(T::DbWeight::get().writes(2_u64))
311
	}
312
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1)
313
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
314
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
315
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
316
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
317
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
318
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
319
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
320
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
321
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
322
	fn migrate_and_notify_old_targets() -> Weight {
323
		// Proof Size summary in bytes:
324
		//  Measured:  `240`
325
		//  Estimated: `16080`
326
		// Minimum execution time: 38_728_000 picoseconds.
327
		Weight::from_parts(39_742_000, 16080)
328
			.saturating_add(T::DbWeight::get().reads(10_u64))
329
			.saturating_add(T::DbWeight::get().writes(2_u64))
330
	}
331
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
332
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
333
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
334
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
335
	fn new_query() -> Weight {
336
		// Proof Size summary in bytes:
337
		//  Measured:  `103`
338
		//  Estimated: `1588`
339
		// Minimum execution time: 5_461_000 picoseconds.
340
		Weight::from_parts(5_657_000, 1588)
341
			.saturating_add(T::DbWeight::get().reads(1_u64))
342
			.saturating_add(T::DbWeight::get().writes(2_u64))
343
	}
344
	/// Storage: `PolkadotXcm::Queries` (r:1 w:1)
345
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
346
	fn take_response() -> Weight {
347
		// Proof Size summary in bytes:
348
		//  Measured:  `7739`
349
		//  Estimated: `11204`
350
		// Minimum execution time: 33_251_000 picoseconds.
351
		Weight::from_parts(33_784_000, 11204)
352
			.saturating_add(T::DbWeight::get().reads(1_u64))
353
			.saturating_add(T::DbWeight::get().writes(1_u64))
354
	}
355
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
356
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
357
	/// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
358
	/// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
359
	fn claim_assets() -> Weight {
360
		// Proof Size summary in bytes:
361
		//  Measured:  `160`
362
		//  Estimated: `3625`
363
		// Minimum execution time: 44_240_000 picoseconds.
364
		Weight::from_parts(45_327_000, 3625)
365
			.saturating_add(T::DbWeight::get().reads(2_u64))
366
			.saturating_add(T::DbWeight::get().writes(1_u64))
367
	}
368
	/// Storage: `Benchmark::Override` (r:0 w:0)
369
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
370
	fn add_authorized_alias() -> Weight {
371
		// Proof Size summary in bytes:
372
		//  Measured:  `0`
373
		//  Estimated: `0`
374
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
375
		Weight::from_parts(18_446_744_073_709_551_000, 0)
376
	}
377
	/// Storage: `Benchmark::Override` (r:0 w:0)
378
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
379
	fn remove_authorized_alias() -> Weight {
380
		// Proof Size summary in bytes:
381
		//  Measured:  `0`
382
		//  Estimated: `0`
383
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
384
		Weight::from_parts(18_446_744_073_709_551_000, 0)
385
	}
386
}