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-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_074_000 picoseconds.
68
		Weight::from_parts(26_313_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:  `423`
106
		//  Estimated: `3888`
107
		// Minimum execution time: 100_882_000 picoseconds.
108
		Weight::from_parts(103_242_000, 3888)
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
18
	fn transfer_assets() -> Weight {
157
18
		// Proof Size summary in bytes:
158
18
		//  Measured:  `12432`
159
18
		//  Estimated: `20847`
160
18
		// Minimum execution time: 337_529_000 picoseconds.
161
18
		Weight::from_parts(347_720_000, 20847)
162
18
			.saturating_add(T::DbWeight::get().reads(26_u64))
163
18
			.saturating_add(T::DbWeight::get().writes(8_u64))
164
18
	}
165
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
166
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
167
	fn execute() -> Weight {
168
		// Proof Size summary in bytes:
169
		//  Measured:  `69`
170
		//  Estimated: `1554`
171
		// Minimum execution time: 10_976_000 picoseconds.
172
		Weight::from_parts(11_375_000, 1554)
173
			.saturating_add(T::DbWeight::get().reads(1_u64))
174
	}
175
	/// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
176
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
177
	fn force_xcm_version() -> Weight {
178
		// Proof Size summary in bytes:
179
		//  Measured:  `0`
180
		//  Estimated: `0`
181
		// Minimum execution time: 7_126_000 picoseconds.
182
		Weight::from_parts(7_430_000, 0)
183
			.saturating_add(T::DbWeight::get().writes(1_u64))
184
	}
185
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
186
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
187
	fn force_default_xcm_version() -> Weight {
188
		// Proof Size summary in bytes:
189
		//  Measured:  `0`
190
		//  Estimated: `0`
191
		// Minimum execution time: 2_457_000 picoseconds.
192
		Weight::from_parts(2_629_000, 0)
193
			.saturating_add(T::DbWeight::get().writes(1_u64))
194
	}
195
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
196
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
197
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
198
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
199
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
200
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
201
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
202
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
203
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
204
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
205
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
206
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
207
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
208
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
209
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
210
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
211
	fn force_subscribe_version_notify() -> Weight {
212
		// Proof Size summary in bytes:
213
		//  Measured:  `111`
214
		//  Estimated: `3576`
215
		// Minimum execution time: 29_258_000 picoseconds.
216
		Weight::from_parts(29_957_000, 3576)
217
			.saturating_add(T::DbWeight::get().reads(7_u64))
218
			.saturating_add(T::DbWeight::get().writes(5_u64))
219
	}
220
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
221
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
222
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
223
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
224
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
225
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
226
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
227
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
228
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
229
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
230
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
231
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
232
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
233
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
234
	fn force_unsubscribe_version_notify() -> Weight {
235
		// Proof Size summary in bytes:
236
		//  Measured:  `329`
237
		//  Estimated: `3794`
238
		// Minimum execution time: 34_393_000 picoseconds.
239
		Weight::from_parts(35_526_000, 3794)
240
			.saturating_add(T::DbWeight::get().reads(6_u64))
241
			.saturating_add(T::DbWeight::get().writes(4_u64))
242
	}
243
	/// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
244
	/// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
245
	fn force_suspension() -> Weight {
246
		// Proof Size summary in bytes:
247
		//  Measured:  `0`
248
		//  Estimated: `0`
249
		// Minimum execution time: 2_398_000 picoseconds.
250
		Weight::from_parts(2_630_000, 0)
251
			.saturating_add(T::DbWeight::get().writes(1_u64))
252
	}
253
	/// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
254
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
255
	fn migrate_supported_version() -> Weight {
256
		// Proof Size summary in bytes:
257
		//  Measured:  `125`
258
		//  Estimated: `15965`
259
		// Minimum execution time: 22_601_000 picoseconds.
260
		Weight::from_parts(23_394_000, 15965)
261
			.saturating_add(T::DbWeight::get().reads(6_u64))
262
			.saturating_add(T::DbWeight::get().writes(2_u64))
263
	}
264
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
265
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
266
	fn migrate_version_notifiers() -> Weight {
267
		// Proof Size summary in bytes:
268
		//  Measured:  `129`
269
		//  Estimated: `15969`
270
		// Minimum execution time: 22_998_000 picoseconds.
271
		Weight::from_parts(23_567_000, 15969)
272
			.saturating_add(T::DbWeight::get().reads(6_u64))
273
			.saturating_add(T::DbWeight::get().writes(2_u64))
274
	}
275
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
276
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
277
	fn already_notified_target() -> Weight {
278
		// Proof Size summary in bytes:
279
		//  Measured:  `212`
280
		//  Estimated: `18527`
281
		// Minimum execution time: 28_774_000 picoseconds.
282
		Weight::from_parts(29_227_000, 18527)
283
			.saturating_add(T::DbWeight::get().reads(7_u64))
284
	}
285
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 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
	fn notify_current_targets() -> Weight {
298
		// Proof Size summary in bytes:
299
		//  Measured:  `178`
300
		//  Estimated: `6118`
301
		// Minimum execution time: 27_320_000 picoseconds.
302
		Weight::from_parts(28_219_000, 6118)
303
			.saturating_add(T::DbWeight::get().reads(7_u64))
304
			.saturating_add(T::DbWeight::get().writes(3_u64))
305
	}
306
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
307
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
308
	fn notify_target_migration_fail() -> Weight {
309
		// Proof Size summary in bytes:
310
		//  Measured:  `215`
311
		//  Estimated: `13580`
312
		// Minimum execution time: 20_082_000 picoseconds.
313
		Weight::from_parts(20_383_000, 13580)
314
			.saturating_add(T::DbWeight::get().reads(5_u64))
315
	}
316
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
317
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
318
	fn migrate_version_notify_targets() -> Weight {
319
		// Proof Size summary in bytes:
320
		//  Measured:  `136`
321
		//  Estimated: `15976`
322
		// Minimum execution time: 23_340_000 picoseconds.
323
		Weight::from_parts(24_326_000, 15976)
324
			.saturating_add(T::DbWeight::get().reads(6_u64))
325
			.saturating_add(T::DbWeight::get().writes(2_u64))
326
	}
327
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
328
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
329
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
330
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
331
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
332
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
333
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
334
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
335
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
336
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
337
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
338
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
339
	fn migrate_and_notify_old_targets() -> Weight {
340
		// Proof Size summary in bytes:
341
		//  Measured:  `178`
342
		//  Estimated: `16018`
343
		// Minimum execution time: 40_575_000 picoseconds.
344
		Weight::from_parts(42_069_000, 16018)
345
			.saturating_add(T::DbWeight::get().reads(11_u64))
346
			.saturating_add(T::DbWeight::get().writes(4_u64))
347
	}
348
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
349
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
350
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
351
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
352
	fn new_query() -> Weight {
353
		// Proof Size summary in bytes:
354
		//  Measured:  `69`
355
		//  Estimated: `1554`
356
		// Minimum execution time: 5_102_000 picoseconds.
357
		Weight::from_parts(5_329_000, 1554)
358
			.saturating_add(T::DbWeight::get().reads(1_u64))
359
			.saturating_add(T::DbWeight::get().writes(2_u64))
360
	}
361
	/// Storage: `PolkadotXcm::Queries` (r:1 w:1)
362
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
363
	fn take_response() -> Weight {
364
		// Proof Size summary in bytes:
365
		//  Measured:  `7706`
366
		//  Estimated: `11171`
367
		// Minimum execution time: 27_307_000 picoseconds.
368
		Weight::from_parts(28_101_000, 11171)
369
			.saturating_add(T::DbWeight::get().reads(1_u64))
370
			.saturating_add(T::DbWeight::get().writes(1_u64))
371
	}
372
	/// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
373
	/// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
374
	/// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
375
	/// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
376
	fn claim_assets() -> Weight {
377
		// Proof Size summary in bytes:
378
		//  Measured:  `126`
379
		//  Estimated: `3591`
380
		// Minimum execution time: 40_106_000 picoseconds.
381
		Weight::from_parts(41_096_000, 3591)
382
			.saturating_add(T::DbWeight::get().reads(2_u64))
383
			.saturating_add(T::DbWeight::get().writes(1_u64))
384
	}
385
	/// Storage: `Benchmark::Override` (r:0 w:0)
386
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
387
	fn add_authorized_alias() -> Weight {
388
		// Proof Size summary in bytes:
389
		//  Measured:  `0`
390
		//  Estimated: `0`
391
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
392
		Weight::from_parts(18_446_744_073_709_551_000, 0)
393
	}
394
	/// Storage: `Benchmark::Override` (r:0 w:0)
395
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
396
	fn remove_authorized_alias() -> Weight {
397
		// Proof Size summary in bytes:
398
		//  Measured:  `0`
399
		//  Estimated: `0`
400
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
401
		Weight::from_parts(18_446_744_073_709_551_000, 0)
402
	}
403
}