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 48.0.0
21
//! DATE: 2025-10-28, 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:  `172`
66
		//  Estimated: `3637`
67
		// Minimum execution time: 26_920_000 picoseconds.
68
		Weight::from_parts(28_102_000, 3637)
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: UNKNOWN KEY `0x0b375bcf789eda4990e6aaebbecc9ea4` (r:1 w:0)
82
	/// Proof: UNKNOWN KEY `0x0b375bcf789eda4990e6aaebbecc9ea4` (r:1 w:0)
83
	/// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
84
	/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
85
	/// Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0)
86
	/// Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
87
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
88
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
89
	/// Storage: `System::Account` (r:1 w:1)
90
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
91
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
92
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
93
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
94
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
95
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
96
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
97
	/// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
98
	/// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
99
	/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
100
	/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
101
	/// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
102
	/// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
103
	fn reserve_transfer_assets() -> Weight {
104
		// Proof Size summary in bytes:
105
		//  Measured:  `517`
106
		//  Estimated: `3982`
107
		// Minimum execution time: 102_195_000 picoseconds.
108
		Weight::from_parts(105_009_000, 3982)
109
			.saturating_add(T::DbWeight::get().reads(10_u64))
110
			.saturating_add(T::DbWeight::get().writes(4_u64))
111
	}
112
	/// Storage: UNKNOWN KEY `0x0b375bcf789eda4990e6aaebbecc9ea4` (r:1 w:0)
113
	/// Proof: UNKNOWN KEY `0x0b375bcf789eda4990e6aaebbecc9ea4` (r:1 w:0)
114
	/// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
115
	/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
116
	/// Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0)
117
	/// Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
118
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
119
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
120
	/// Storage: `System::Account` (r:1 w:1)
121
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
122
	/// Storage: `EvmForeignAssets::AssetsByLocation` (r:1 w:0)
123
	/// Proof: `EvmForeignAssets::AssetsByLocation` (`max_values`: None, `max_size`: None, mode: `Measured`)
124
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
125
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
126
	/// Storage: `EthereumXcm::EthereumXcmSuspended` (r:1 w:0)
127
	/// Proof: `EthereumXcm::EthereumXcmSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
128
	/// Storage: `EthereumXcm::Nonce` (r:1 w:1)
129
	/// Proof: `EthereumXcm::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
130
	/// Storage: `EthereumChainId::ChainId` (r:1 w:0)
131
	/// Proof: `EthereumChainId::ChainId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
132
	/// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
133
	/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
134
	/// Storage: `EVM::AccountCodesMetadata` (r:2 w:0)
135
	/// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
136
	/// Storage: `System::Digest` (r:1 w:0)
137
	/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
138
	/// Storage: `EVM::AccountCodes` (r:1 w:0)
139
	/// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
140
	/// Storage: `EVM::AccountStorages` (r:3 w:2)
141
	/// Proof: `EVM::AccountStorages` (`max_values`: None, `max_size`: None, mode: `Measured`)
142
	/// Storage: `Ethereum::CounterForPending` (r:1 w:1)
143
	/// Proof: `Ethereum::CounterForPending` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
144
	/// Storage: `Ethereum::Pending` (r:2 w:1)
145
	/// Proof: `Ethereum::Pending` (`max_values`: None, `max_size`: None, mode: `Measured`)
146
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
147
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
148
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
149
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
150
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
151
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
152
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
153
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
154
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
155
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
156
	fn transfer_assets() -> Weight {
157
		// Proof Size summary in bytes:
158
		//  Measured:  `12602`
159
		//  Estimated: `21017`
160
		// Minimum execution time: 340_763_000 picoseconds.
161
		Weight::from_parts(351_279_000, 21017)
162
			.saturating_add(T::DbWeight::get().reads(26_u64))
163
			.saturating_add(T::DbWeight::get().writes(8_u64))
164
	}
165
	/// Storage: `Benchmark::Override` (r:0 w:0)
166
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
167
	fn execute() -> Weight {
168
		// Proof Size summary in bytes:
169
		//  Measured:  `0`
170
		//  Estimated: `0`
171
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
172
		Weight::from_parts(18_446_744_073_709_551_000, 0)
173
	}
174
	/// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
175
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
176
	fn force_xcm_version() -> Weight {
177
		// Proof Size summary in bytes:
178
		//  Measured:  `0`
179
		//  Estimated: `0`
180
		// Minimum execution time: 7_127_000 picoseconds.
181
		Weight::from_parts(7_340_000, 0)
182
			.saturating_add(T::DbWeight::get().writes(1_u64))
183
	}
184
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
185
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
186
	fn force_default_xcm_version() -> Weight {
187
		// Proof Size summary in bytes:
188
		//  Measured:  `0`
189
		//  Estimated: `0`
190
		// Minimum execution time: 2_449_000 picoseconds.
191
		Weight::from_parts(2_562_000, 0)
192
			.saturating_add(T::DbWeight::get().writes(1_u64))
193
	}
194
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
195
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
196
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
197
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
198
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
199
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
200
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
201
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
202
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
203
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
204
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
205
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
206
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
207
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
208
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
209
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
210
	fn force_subscribe_version_notify() -> Weight {
211
		// Proof Size summary in bytes:
212
		//  Measured:  `172`
213
		//  Estimated: `3637`
214
		// Minimum execution time: 30_878_000 picoseconds.
215
		Weight::from_parts(31_928_000, 3637)
216
			.saturating_add(T::DbWeight::get().reads(7_u64))
217
			.saturating_add(T::DbWeight::get().writes(5_u64))
218
	}
219
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
220
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
221
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
222
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
223
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
224
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
225
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
226
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
227
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
228
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
229
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
230
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
231
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
232
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
233
	fn force_unsubscribe_version_notify() -> Weight {
234
		// Proof Size summary in bytes:
235
		//  Measured:  `390`
236
		//  Estimated: `3855`
237
		// Minimum execution time: 35_627_000 picoseconds.
238
		Weight::from_parts(36_969_000, 3855)
239
			.saturating_add(T::DbWeight::get().reads(6_u64))
240
			.saturating_add(T::DbWeight::get().writes(4_u64))
241
	}
242
	/// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
243
	/// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
244
	fn force_suspension() -> Weight {
245
		// Proof Size summary in bytes:
246
		//  Measured:  `0`
247
		//  Estimated: `0`
248
		// Minimum execution time: 2_447_000 picoseconds.
249
		Weight::from_parts(2_603_000, 0)
250
			.saturating_add(T::DbWeight::get().writes(1_u64))
251
	}
252
	/// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
253
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
254
	fn migrate_supported_version() -> Weight {
255
		// Proof Size summary in bytes:
256
		//  Measured:  `162`
257
		//  Estimated: `16002`
258
		// Minimum execution time: 24_853_000 picoseconds.
259
		Weight::from_parts(25_816_000, 16002)
260
			.saturating_add(T::DbWeight::get().reads(6_u64))
261
			.saturating_add(T::DbWeight::get().writes(2_u64))
262
	}
263
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
264
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
265
	fn migrate_version_notifiers() -> Weight {
266
		// Proof Size summary in bytes:
267
		//  Measured:  `163`
268
		//  Estimated: `16003`
269
		// Minimum execution time: 23_503_000 picoseconds.
270
		Weight::from_parts(23_984_000, 16003)
271
			.saturating_add(T::DbWeight::get().reads(6_u64))
272
			.saturating_add(T::DbWeight::get().writes(2_u64))
273
	}
274
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
275
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
276
	fn already_notified_target() -> Weight {
277
		// Proof Size summary in bytes:
278
		//  Measured:  `279`
279
		//  Estimated: `18594`
280
		// Minimum execution time: 28_777_000 picoseconds.
281
		Weight::from_parts(29_372_000, 18594)
282
			.saturating_add(T::DbWeight::get().reads(7_u64))
283
	}
284
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
285
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
286
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
287
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
288
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
289
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
290
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
291
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
292
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
293
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
294
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
295
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
296
	fn notify_current_targets() -> Weight {
297
		// Proof Size summary in bytes:
298
		//  Measured:  `240`
299
		//  Estimated: `6180`
300
		// Minimum execution time: 29_764_000 picoseconds.
301
		Weight::from_parts(30_531_000, 6180)
302
			.saturating_add(T::DbWeight::get().reads(7_u64))
303
			.saturating_add(T::DbWeight::get().writes(3_u64))
304
	}
305
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
306
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
307
	fn notify_target_migration_fail() -> Weight {
308
		// Proof Size summary in bytes:
309
		//  Measured:  `282`
310
		//  Estimated: `13647`
311
		// Minimum execution time: 19_757_000 picoseconds.
312
		Weight::from_parts(20_222_000, 13647)
313
			.saturating_add(T::DbWeight::get().reads(5_u64))
314
	}
315
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
316
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
317
	fn migrate_version_notify_targets() -> Weight {
318
		// Proof Size summary in bytes:
319
		//  Measured:  `170`
320
		//  Estimated: `16010`
321
		// Minimum execution time: 23_348_000 picoseconds.
322
		Weight::from_parts(24_155_000, 16010)
323
			.saturating_add(T::DbWeight::get().reads(6_u64))
324
			.saturating_add(T::DbWeight::get().writes(2_u64))
325
	}
326
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
327
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
328
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
329
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
330
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
331
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
332
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
333
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
334
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
335
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
336
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
337
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
338
	fn migrate_and_notify_old_targets() -> Weight {
339
		// Proof Size summary in bytes:
340
		//  Measured:  `240`
341
		//  Estimated: `16080`
342
		// Minimum execution time: 42_471_000 picoseconds.
343
		Weight::from_parts(43_652_000, 16080)
344
			.saturating_add(T::DbWeight::get().reads(11_u64))
345
			.saturating_add(T::DbWeight::get().writes(4_u64))
346
	}
347
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
348
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
349
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
350
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
351
	fn new_query() -> Weight {
352
		// Proof Size summary in bytes:
353
		//  Measured:  `103`
354
		//  Estimated: `1588`
355
		// Minimum execution time: 5_262_000 picoseconds.
356
		Weight::from_parts(5_442_000, 1588)
357
			.saturating_add(T::DbWeight::get().reads(1_u64))
358
			.saturating_add(T::DbWeight::get().writes(2_u64))
359
	}
360
	/// Storage: `PolkadotXcm::Queries` (r:1 w:1)
361
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
362
	fn take_response() -> Weight {
363
		// Proof Size summary in bytes:
364
		//  Measured:  `7739`
365
		//  Estimated: `11204`
366
		// Minimum execution time: 27_244_000 picoseconds.
367
		Weight::from_parts(27_654_000, 11204)
368
			.saturating_add(T::DbWeight::get().reads(1_u64))
369
			.saturating_add(T::DbWeight::get().writes(1_u64))
370
	}
371
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
372
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
373
	/// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
374
	/// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
375
	fn claim_assets() -> Weight {
376
		// Proof Size summary in bytes:
377
		//  Measured:  `160`
378
		//  Estimated: `3625`
379
		// Minimum execution time: 40_285_000 picoseconds.
380
		Weight::from_parts(41_486_000, 3625)
381
			.saturating_add(T::DbWeight::get().reads(2_u64))
382
			.saturating_add(T::DbWeight::get().writes(1_u64))
383
	}
384
	/// Storage: `Benchmark::Override` (r:0 w:0)
385
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
386
	fn add_authorized_alias() -> Weight {
387
		// Proof Size summary in bytes:
388
		//  Measured:  `0`
389
		//  Estimated: `0`
390
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
391
		Weight::from_parts(18_446_744_073_709_551_000, 0)
392
	}
393
	/// Storage: `Benchmark::Override` (r:0 w:0)
394
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
395
	fn remove_authorized_alias() -> Weight {
396
		// Proof Size summary in bytes:
397
		//  Measured:  `0`
398
		//  Estimated: `0`
399
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
400
		Weight::from_parts(18_446_744_073_709_551_000, 0)
401
	}
402
}