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-09-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `ip-10-0-0-198`, 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/moonbase-runtime/moonbase_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/moonbase/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:  `111`
66
		//  Estimated: `3576`
67
		// Minimum execution time: 25_691_000 picoseconds.
68
		Weight::from_parts(26_536_000, 3576)
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:  `489`
106
		//  Estimated: `3954`
107
		// Minimum execution time: 100_912_000 picoseconds.
108
		Weight::from_parts(104_772_000, 3954)
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: `Assets::Asset` (r:1 w:0)
141
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
142
	/// Storage: `EVM::AccountStorages` (r:3 w:2)
143
	/// Proof: `EVM::AccountStorages` (`max_values`: None, `max_size`: None, mode: `Measured`)
144
	/// Storage: `Ethereum::CounterForPending` (r:1 w:1)
145
	/// Proof: `Ethereum::CounterForPending` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
146
	/// Storage: `Ethereum::Pending` (r:2 w:1)
147
	/// Proof: `Ethereum::Pending` (`max_values`: None, `max_size`: None, mode: `Measured`)
148
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
149
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
150
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
151
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
152
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
153
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
154
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
155
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
156
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
157
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
158
21
	fn transfer_assets() -> Weight {
159
21
		// Proof Size summary in bytes:
160
21
		//  Measured:  `12438`
161
21
		//  Estimated: `20853`
162
21
		// Minimum execution time: 344_458_000 picoseconds.
163
21
		Weight::from_parts(352_779_000, 20853)
164
21
			.saturating_add(T::DbWeight::get().reads(27_u64))
165
21
			.saturating_add(T::DbWeight::get().writes(8_u64))
166
21
	}
167
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
168
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
169
	fn execute() -> Weight {
170
		// Proof Size summary in bytes:
171
		//  Measured:  `69`
172
		//  Estimated: `1554`
173
		// Minimum execution time: 10_807_000 picoseconds.
174
		Weight::from_parts(11_278_000, 1554)
175
			.saturating_add(T::DbWeight::get().reads(1_u64))
176
	}
177
	/// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
178
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
179
	fn force_xcm_version() -> Weight {
180
		// Proof Size summary in bytes:
181
		//  Measured:  `0`
182
		//  Estimated: `0`
183
		// Minimum execution time: 7_223_000 picoseconds.
184
		Weight::from_parts(7_512_000, 0)
185
			.saturating_add(T::DbWeight::get().writes(1_u64))
186
	}
187
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
188
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
189
	fn force_default_xcm_version() -> Weight {
190
		// Proof Size summary in bytes:
191
		//  Measured:  `0`
192
		//  Estimated: `0`
193
		// Minimum execution time: 2_456_000 picoseconds.
194
		Weight::from_parts(2_650_000, 0)
195
			.saturating_add(T::DbWeight::get().writes(1_u64))
196
	}
197
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
198
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
199
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
200
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
201
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
202
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
203
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
204
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
205
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
206
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
207
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
208
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
209
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
210
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
211
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
212
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
213
	fn force_subscribe_version_notify() -> Weight {
214
		// Proof Size summary in bytes:
215
		//  Measured:  `111`
216
		//  Estimated: `3576`
217
		// Minimum execution time: 29_591_000 picoseconds.
218
		Weight::from_parts(30_512_000, 3576)
219
			.saturating_add(T::DbWeight::get().reads(7_u64))
220
			.saturating_add(T::DbWeight::get().writes(5_u64))
221
	}
222
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
223
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
224
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
225
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
226
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
227
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
228
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
229
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
230
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
231
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
232
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
233
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
234
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
235
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
236
	fn force_unsubscribe_version_notify() -> Weight {
237
		// Proof Size summary in bytes:
238
		//  Measured:  `329`
239
		//  Estimated: `3794`
240
		// Minimum execution time: 34_067_000 picoseconds.
241
		Weight::from_parts(35_157_000, 3794)
242
			.saturating_add(T::DbWeight::get().reads(6_u64))
243
			.saturating_add(T::DbWeight::get().writes(4_u64))
244
	}
245
	/// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
246
	/// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
247
	fn force_suspension() -> Weight {
248
		// Proof Size summary in bytes:
249
		//  Measured:  `0`
250
		//  Estimated: `0`
251
		// Minimum execution time: 2_321_000 picoseconds.
252
		Weight::from_parts(2_580_000, 0)
253
			.saturating_add(T::DbWeight::get().writes(1_u64))
254
	}
255
	/// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
256
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
257
	fn migrate_supported_version() -> Weight {
258
		// Proof Size summary in bytes:
259
		//  Measured:  `125`
260
		//  Estimated: `15965`
261
		// Minimum execution time: 23_545_000 picoseconds.
262
		Weight::from_parts(23_875_000, 15965)
263
			.saturating_add(T::DbWeight::get().reads(6_u64))
264
			.saturating_add(T::DbWeight::get().writes(2_u64))
265
	}
266
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
267
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
268
	fn migrate_version_notifiers() -> Weight {
269
		// Proof Size summary in bytes:
270
		//  Measured:  `129`
271
		//  Estimated: `15969`
272
		// Minimum execution time: 23_265_000 picoseconds.
273
		Weight::from_parts(23_914_000, 15969)
274
			.saturating_add(T::DbWeight::get().reads(6_u64))
275
			.saturating_add(T::DbWeight::get().writes(2_u64))
276
	}
277
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
278
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
279
	fn already_notified_target() -> Weight {
280
		// Proof Size summary in bytes:
281
		//  Measured:  `212`
282
		//  Estimated: `18527`
283
		// Minimum execution time: 29_322_000 picoseconds.
284
		Weight::from_parts(29_696_000, 18527)
285
			.saturating_add(T::DbWeight::get().reads(7_u64))
286
	}
287
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
288
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
289
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
290
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
291
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
292
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
293
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
294
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
295
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
296
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
297
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
298
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
299
	fn notify_current_targets() -> Weight {
300
		// Proof Size summary in bytes:
301
		//  Measured:  `178`
302
		//  Estimated: `6118`
303
		// Minimum execution time: 27_758_000 picoseconds.
304
		Weight::from_parts(29_032_000, 6118)
305
			.saturating_add(T::DbWeight::get().reads(7_u64))
306
			.saturating_add(T::DbWeight::get().writes(3_u64))
307
	}
308
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
309
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
310
	fn notify_target_migration_fail() -> Weight {
311
		// Proof Size summary in bytes:
312
		//  Measured:  `215`
313
		//  Estimated: `13580`
314
		// Minimum execution time: 19_806_000 picoseconds.
315
		Weight::from_parts(20_364_000, 13580)
316
			.saturating_add(T::DbWeight::get().reads(5_u64))
317
	}
318
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
319
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
320
	fn migrate_version_notify_targets() -> Weight {
321
		// Proof Size summary in bytes:
322
		//  Measured:  `136`
323
		//  Estimated: `15976`
324
		// Minimum execution time: 23_699_000 picoseconds.
325
		Weight::from_parts(24_231_000, 15976)
326
			.saturating_add(T::DbWeight::get().reads(6_u64))
327
			.saturating_add(T::DbWeight::get().writes(2_u64))
328
	}
329
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
330
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
331
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
332
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
333
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
334
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
335
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
336
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
337
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
338
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
339
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
340
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
341
	fn migrate_and_notify_old_targets() -> Weight {
342
		// Proof Size summary in bytes:
343
		//  Measured:  `178`
344
		//  Estimated: `16018`
345
		// Minimum execution time: 41_693_000 picoseconds.
346
		Weight::from_parts(42_811_000, 16018)
347
			.saturating_add(T::DbWeight::get().reads(11_u64))
348
			.saturating_add(T::DbWeight::get().writes(4_u64))
349
	}
350
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
351
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
352
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
353
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
354
	fn new_query() -> Weight {
355
		// Proof Size summary in bytes:
356
		//  Measured:  `69`
357
		//  Estimated: `1554`
358
		// Minimum execution time: 4_922_000 picoseconds.
359
		Weight::from_parts(5_310_000, 1554)
360
			.saturating_add(T::DbWeight::get().reads(1_u64))
361
			.saturating_add(T::DbWeight::get().writes(2_u64))
362
	}
363
	/// Storage: `PolkadotXcm::Queries` (r:1 w:1)
364
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
365
	fn take_response() -> Weight {
366
		// Proof Size summary in bytes:
367
		//  Measured:  `7706`
368
		//  Estimated: `11171`
369
		// Minimum execution time: 27_835_000 picoseconds.
370
		Weight::from_parts(28_583_000, 11171)
371
			.saturating_add(T::DbWeight::get().reads(1_u64))
372
			.saturating_add(T::DbWeight::get().writes(1_u64))
373
	}
374
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
375
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
376
	/// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
377
	/// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
378
	fn claim_assets() -> Weight {
379
		// Proof Size summary in bytes:
380
		//  Measured:  `126`
381
		//  Estimated: `3591`
382
		// Minimum execution time: 40_033_000 picoseconds.
383
		Weight::from_parts(41_407_000, 3591)
384
			.saturating_add(T::DbWeight::get().reads(2_u64))
385
			.saturating_add(T::DbWeight::get().writes(1_u64))
386
	}
387
	/// Storage: `Benchmark::Override` (r:0 w:0)
388
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
389
	fn add_authorized_alias() -> Weight {
390
		// Proof Size summary in bytes:
391
		//  Measured:  `0`
392
		//  Estimated: `0`
393
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
394
		Weight::from_parts(18_446_744_073_709_551_000, 0)
395
	}
396
	/// Storage: `Benchmark::Override` (r:0 w:0)
397
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
398
	fn remove_authorized_alias() -> Weight {
399
		// Proof Size summary in bytes:
400
		//  Measured:  `0`
401
		//  Estimated: `0`
402
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
403
		Weight::from_parts(18_446_744_073_709_551_000, 0)
404
	}
405
}