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-03, 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: 27_457_000 picoseconds.
68
		Weight::from_parts(28_738_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: 103_336_000 picoseconds.
108
		Weight::from_parts(106_610_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: `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
	fn transfer_assets() -> Weight {
159
		// Proof Size summary in bytes:
160
		//  Measured:  `12642`
161
		//  Estimated: `21057`
162
		// Minimum execution time: 345_202_000 picoseconds.
163
		Weight::from_parts(359_149_000, 21057)
164
			.saturating_add(T::DbWeight::get().reads(27_u64))
165
			.saturating_add(T::DbWeight::get().writes(8_u64))
166
	}
167
	/// Storage: `Benchmark::Override` (r:0 w:0)
168
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
169
	fn execute() -> Weight {
170
		// Proof Size summary in bytes:
171
		//  Measured:  `0`
172
		//  Estimated: `0`
173
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
174
		Weight::from_parts(18_446_744_073_709_551_000, 0)
175
	}
176
	/// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
177
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
178
	fn force_xcm_version() -> Weight {
179
		// Proof Size summary in bytes:
180
		//  Measured:  `0`
181
		//  Estimated: `0`
182
		// Minimum execution time: 7_327_000 picoseconds.
183
		Weight::from_parts(7_609_000, 0)
184
			.saturating_add(T::DbWeight::get().writes(1_u64))
185
	}
186
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
187
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
188
	fn force_default_xcm_version() -> Weight {
189
		// Proof Size summary in bytes:
190
		//  Measured:  `0`
191
		//  Estimated: `0`
192
		// Minimum execution time: 2_585_000 picoseconds.
193
		Weight::from_parts(2_681_000, 0)
194
			.saturating_add(T::DbWeight::get().writes(1_u64))
195
	}
196
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
197
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
198
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
199
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
200
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
201
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
202
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
203
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
204
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
205
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
206
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
207
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
208
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
209
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
210
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
211
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
212
	fn force_subscribe_version_notify() -> Weight {
213
		// Proof Size summary in bytes:
214
		//  Measured:  `172`
215
		//  Estimated: `3637`
216
		// Minimum execution time: 31_391_000 picoseconds.
217
		Weight::from_parts(32_420_000, 3637)
218
			.saturating_add(T::DbWeight::get().reads(7_u64))
219
			.saturating_add(T::DbWeight::get().writes(5_u64))
220
	}
221
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
222
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
223
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
224
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
225
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
226
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
227
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
228
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
229
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
230
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
231
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
232
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
233
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
234
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
235
	fn force_unsubscribe_version_notify() -> Weight {
236
		// Proof Size summary in bytes:
237
		//  Measured:  `390`
238
		//  Estimated: `3855`
239
		// Minimum execution time: 35_904_000 picoseconds.
240
		Weight::from_parts(37_240_000, 3855)
241
			.saturating_add(T::DbWeight::get().reads(6_u64))
242
			.saturating_add(T::DbWeight::get().writes(4_u64))
243
	}
244
	/// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
245
	/// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
246
	fn force_suspension() -> Weight {
247
		// Proof Size summary in bytes:
248
		//  Measured:  `0`
249
		//  Estimated: `0`
250
		// Minimum execution time: 2_458_000 picoseconds.
251
		Weight::from_parts(2_600_000, 0)
252
			.saturating_add(T::DbWeight::get().writes(1_u64))
253
	}
254
	/// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
255
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
256
	fn migrate_supported_version() -> Weight {
257
		// Proof Size summary in bytes:
258
		//  Measured:  `162`
259
		//  Estimated: `16002`
260
		// Minimum execution time: 24_818_000 picoseconds.
261
		Weight::from_parts(25_670_000, 16002)
262
			.saturating_add(T::DbWeight::get().reads(6_u64))
263
			.saturating_add(T::DbWeight::get().writes(2_u64))
264
	}
265
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
266
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
267
	fn migrate_version_notifiers() -> Weight {
268
		// Proof Size summary in bytes:
269
		//  Measured:  `163`
270
		//  Estimated: `16003`
271
		// Minimum execution time: 23_584_000 picoseconds.
272
		Weight::from_parts(24_301_000, 16003)
273
			.saturating_add(T::DbWeight::get().reads(6_u64))
274
			.saturating_add(T::DbWeight::get().writes(2_u64))
275
	}
276
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
277
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
278
	fn already_notified_target() -> Weight {
279
		// Proof Size summary in bytes:
280
		//  Measured:  `279`
281
		//  Estimated: `18594`
282
		// Minimum execution time: 29_108_000 picoseconds.
283
		Weight::from_parts(29_608_000, 18594)
284
			.saturating_add(T::DbWeight::get().reads(7_u64))
285
	}
286
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
287
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
288
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
289
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
290
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
291
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
292
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
293
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
294
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
295
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
296
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
297
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
298
	fn notify_current_targets() -> Weight {
299
		// Proof Size summary in bytes:
300
		//  Measured:  `240`
301
		//  Estimated: `6180`
302
		// Minimum execution time: 29_726_000 picoseconds.
303
		Weight::from_parts(30_509_000, 6180)
304
			.saturating_add(T::DbWeight::get().reads(7_u64))
305
			.saturating_add(T::DbWeight::get().writes(3_u64))
306
	}
307
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
308
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
309
	fn notify_target_migration_fail() -> Weight {
310
		// Proof Size summary in bytes:
311
		//  Measured:  `282`
312
		//  Estimated: `13647`
313
		// Minimum execution time: 20_205_000 picoseconds.
314
		Weight::from_parts(20_541_000, 13647)
315
			.saturating_add(T::DbWeight::get().reads(5_u64))
316
	}
317
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
318
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
319
	fn migrate_version_notify_targets() -> Weight {
320
		// Proof Size summary in bytes:
321
		//  Measured:  `170`
322
		//  Estimated: `16010`
323
		// Minimum execution time: 24_288_000 picoseconds.
324
		Weight::from_parts(24_752_000, 16010)
325
			.saturating_add(T::DbWeight::get().reads(6_u64))
326
			.saturating_add(T::DbWeight::get().writes(2_u64))
327
	}
328
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
329
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
330
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
331
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
332
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
333
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
334
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
335
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
336
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
337
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
338
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
339
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
340
	fn migrate_and_notify_old_targets() -> Weight {
341
		// Proof Size summary in bytes:
342
		//  Measured:  `240`
343
		//  Estimated: `16080`
344
		// Minimum execution time: 42_959_000 picoseconds.
345
		Weight::from_parts(44_385_000, 16080)
346
			.saturating_add(T::DbWeight::get().reads(11_u64))
347
			.saturating_add(T::DbWeight::get().writes(4_u64))
348
	}
349
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
350
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
351
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
352
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
353
	fn new_query() -> Weight {
354
		// Proof Size summary in bytes:
355
		//  Measured:  `103`
356
		//  Estimated: `1588`
357
		// Minimum execution time: 5_251_000 picoseconds.
358
		Weight::from_parts(5_492_000, 1588)
359
			.saturating_add(T::DbWeight::get().reads(1_u64))
360
			.saturating_add(T::DbWeight::get().writes(2_u64))
361
	}
362
	/// Storage: `PolkadotXcm::Queries` (r:1 w:1)
363
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
364
	fn take_response() -> Weight {
365
		// Proof Size summary in bytes:
366
		//  Measured:  `7739`
367
		//  Estimated: `11204`
368
		// Minimum execution time: 27_836_000 picoseconds.
369
		Weight::from_parts(28_627_000, 11204)
370
			.saturating_add(T::DbWeight::get().reads(1_u64))
371
			.saturating_add(T::DbWeight::get().writes(1_u64))
372
	}
373
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
374
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
375
	/// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
376
	/// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
377
	fn claim_assets() -> Weight {
378
		// Proof Size summary in bytes:
379
		//  Measured:  `160`
380
		//  Estimated: `3625`
381
		// Minimum execution time: 40_663_000 picoseconds.
382
		Weight::from_parts(41_679_000, 3625)
383
			.saturating_add(T::DbWeight::get().reads(2_u64))
384
			.saturating_add(T::DbWeight::get().writes(1_u64))
385
	}
386
	/// Storage: `Benchmark::Override` (r:0 w:0)
387
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
388
	fn add_authorized_alias() -> Weight {
389
		// Proof Size summary in bytes:
390
		//  Measured:  `0`
391
		//  Estimated: `0`
392
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
393
		Weight::from_parts(18_446_744_073_709_551_000, 0)
394
	}
395
	/// Storage: `Benchmark::Override` (r:0 w:0)
396
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
397
	fn remove_authorized_alias() -> Weight {
398
		// Proof Size summary in bytes:
399
		//  Measured:  `0`
400
		//  Estimated: `0`
401
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
402
		Weight::from_parts(18_446_744_073_709_551_000, 0)
403
	}
404
}