1
// Copyright (C) Moondance Labs Ltd.
2
// This file is part of Tanssi.
3

            
4
// Tanssi 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
// Tanssi 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 Tanssi.  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 32.0.0
21
//! DATE: 2025-05-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `benchmark-1`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
24
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
25

            
26
// Executed Command:
27
// target/release/container-chain-simple-node
28
// benchmark
29
// pallet
30
// --execution=wasm
31
// --wasm-execution=compiled
32
// --pallet
33
// pallet_xcm
34
// --extrinsic
35
// *
36
// --chain=dev
37
// --steps
38
// 50
39
// --repeat
40
// 20
41
// --template=benchmarking/frame-weight-runtime-template.hbs
42
// --json-file
43
// raw.json
44
// --output
45
// tmp/simple_template_weights/pallet_xcm.rs
46

            
47
#![cfg_attr(rustfmt, rustfmt_skip)]
48
#![allow(unused_parens)]
49
#![allow(unused_imports)]
50

            
51
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
52
use sp_std::marker::PhantomData;
53

            
54
/// Weights for pallet_xcm using the Substrate node and recommended hardware.
55
pub struct SubstrateWeight<T>(PhantomData<T>);
56
impl<T: frame_system::Config> pallet_xcm::WeightInfo for SubstrateWeight<T> {
57
	fn add_authorized_alias() -> cumulus_primitives_core::Weight {
58
		Default::default()
59
	}
60
	fn remove_authorized_alias() -> cumulus_primitives_core::Weight {
61
		Default::default()
62
	}
63
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
64
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
65
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
66
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
67
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
68
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
69
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
70
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
71
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
72
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
73
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
74
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
75
	fn send() -> Weight {
76
		// Proof Size summary in bytes:
77
		//  Measured:  `111`
78
		//  Estimated: `3576`
79
		// Minimum execution time: 31_355_000 picoseconds.
80
		Weight::from_parts(32_138_000, 3576)
81
			.saturating_add(T::DbWeight::get().reads(6_u64))
82
			.saturating_add(T::DbWeight::get().writes(2_u64))
83
	}
84
	/// Storage: `Benchmark::Override` (r:0 w:0)
85
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
86
	fn teleport_assets() -> Weight {
87
		// Proof Size summary in bytes:
88
		//  Measured:  `0`
89
		//  Estimated: `0`
90
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
91
		Weight::from_parts(18_446_744_073_709_551_000, 0)
92
	}
93
	/// Storage: `XcmExecutorUtils::TeleportPolicy` (r:1 w:0)
94
	/// Proof: `XcmExecutorUtils::TeleportPolicy` (`max_values`: None, `max_size`: Some(602621), added: 605096, mode: `MaxEncodedLen`)
95
	/// Storage: `XcmExecutorUtils::ReservePolicy` (r:1 w:0)
96
	/// Proof: `XcmExecutorUtils::ReservePolicy` (`max_values`: None, `max_size`: Some(602621), added: 605096, mode: `MaxEncodedLen`)
97
	/// Storage: `System::Account` (r:1 w:1)
98
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
99
	/// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
100
	/// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
101
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
102
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
103
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
104
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
105
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
106
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
107
	/// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
108
	/// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
109
	/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
110
	/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
111
	/// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
112
	/// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
113
	fn reserve_transfer_assets() -> Weight {
114
		// Proof Size summary in bytes:
115
		//  Measured:  `408`
116
		//  Estimated: `606086`
117
		// Minimum execution time: 150_351_000 picoseconds.
118
		Weight::from_parts(152_152_000, 606086)
119
			.saturating_add(T::DbWeight::get().reads(9_u64))
120
			.saturating_add(T::DbWeight::get().writes(4_u64))
121
	}
122
	/// Storage: `XcmExecutorUtils::TeleportPolicy` (r:1 w:0)
123
	/// Proof: `XcmExecutorUtils::TeleportPolicy` (`max_values`: None, `max_size`: Some(602621), added: 605096, mode: `MaxEncodedLen`)
124
	/// Storage: `XcmExecutorUtils::ReservePolicy` (r:1 w:0)
125
	/// Proof: `XcmExecutorUtils::ReservePolicy` (`max_values`: None, `max_size`: Some(602621), added: 605096, mode: `MaxEncodedLen`)
126
	/// Storage: `System::Account` (r:1 w:1)
127
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
128
	/// Storage: `ForeignAssetsCreator::ForeignAssetToAssetId` (r:1 w:0)
129
	/// Proof: `ForeignAssetsCreator::ForeignAssetToAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`)
130
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
131
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`)
132
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
133
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`)
134
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
135
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
136
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
137
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
138
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
139
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
140
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
141
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
142
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
143
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
144
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
145
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
146
	fn transfer_assets() -> Weight {
147
		// Proof Size summary in bytes:
148
		//  Measured:  `737`
149
		//  Estimated: `606086`
150
		// Minimum execution time: 204_887_000 picoseconds.
151
		Weight::from_parts(209_844_000, 606086)
152
			.saturating_add(T::DbWeight::get().reads(12_u64))
153
			.saturating_add(T::DbWeight::get().writes(5_u64))
154
	}
155
	fn execute() -> Weight {
156
		// Proof Size summary in bytes:
157
		//  Measured:  `0`
158
		//  Estimated: `0`
159
		// Minimum execution time: 10_990_000 picoseconds.
160
		Weight::from_parts(11_257_000, 0)
161
	}
162
	/// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
163
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
164
	fn force_xcm_version() -> Weight {
165
		// Proof Size summary in bytes:
166
		//  Measured:  `0`
167
		//  Estimated: `0`
168
		// Minimum execution time: 9_640_000 picoseconds.
169
		Weight::from_parts(9_917_000, 0)
170
			.saturating_add(T::DbWeight::get().writes(1_u64))
171
	}
172
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
173
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
174
	fn force_default_xcm_version() -> Weight {
175
		// Proof Size summary in bytes:
176
		//  Measured:  `0`
177
		//  Estimated: `0`
178
		// Minimum execution time: 3_269_000 picoseconds.
179
		Weight::from_parts(3_433_000, 0)
180
			.saturating_add(T::DbWeight::get().writes(1_u64))
181
	}
182
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
183
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
184
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
185
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
186
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
187
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
188
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
189
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
190
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
191
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
192
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
193
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
194
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
195
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
196
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
197
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
198
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
199
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
200
	fn force_subscribe_version_notify() -> Weight {
201
		// Proof Size summary in bytes:
202
		//  Measured:  `111`
203
		//  Estimated: `3576`
204
		// Minimum execution time: 39_323_000 picoseconds.
205
		Weight::from_parts(40_231_000, 3576)
206
			.saturating_add(T::DbWeight::get().reads(8_u64))
207
			.saturating_add(T::DbWeight::get().writes(5_u64))
208
	}
209
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
210
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
211
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
212
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
213
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
214
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
215
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
216
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
217
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
218
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
219
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
220
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
221
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
222
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
223
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
224
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
225
	fn force_unsubscribe_version_notify() -> Weight {
226
		// Proof Size summary in bytes:
227
		//  Measured:  `294`
228
		//  Estimated: `3759`
229
		// Minimum execution time: 41_790_000 picoseconds.
230
		Weight::from_parts(42_777_000, 3759)
231
			.saturating_add(T::DbWeight::get().reads(7_u64))
232
			.saturating_add(T::DbWeight::get().writes(4_u64))
233
	}
234
	/// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
235
	/// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
236
	fn force_suspension() -> Weight {
237
		// Proof Size summary in bytes:
238
		//  Measured:  `0`
239
		//  Estimated: `0`
240
		// Minimum execution time: 3_266_000 picoseconds.
241
		Weight::from_parts(3_370_000, 0)
242
			.saturating_add(T::DbWeight::get().writes(1_u64))
243
	}
244
	/// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
245
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
246
	fn migrate_supported_version() -> Weight {
247
		// Proof Size summary in bytes:
248
		//  Measured:  `125`
249
		//  Estimated: `15965`
250
		// Minimum execution time: 30_481_000 picoseconds.
251
		Weight::from_parts(30_903_000, 15965)
252
			.saturating_add(T::DbWeight::get().reads(6_u64))
253
			.saturating_add(T::DbWeight::get().writes(2_u64))
254
	}
255
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
256
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
257
	fn migrate_version_notifiers() -> Weight {
258
		// Proof Size summary in bytes:
259
		//  Measured:  `129`
260
		//  Estimated: `15969`
261
		// Minimum execution time: 30_008_000 picoseconds.
262
		Weight::from_parts(30_508_000, 15969)
263
			.saturating_add(T::DbWeight::get().reads(6_u64))
264
			.saturating_add(T::DbWeight::get().writes(2_u64))
265
	}
266
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
267
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
268
	fn already_notified_target() -> Weight {
269
		// Proof Size summary in bytes:
270
		//  Measured:  `142`
271
		//  Estimated: `18457`
272
		// Minimum execution time: 33_696_000 picoseconds.
273
		Weight::from_parts(34_278_000, 18457)
274
			.saturating_add(T::DbWeight::get().reads(7_u64))
275
	}
276
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
277
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
278
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
279
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
280
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
281
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
282
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
283
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
284
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
285
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
286
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
287
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
288
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
289
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
290
	fn notify_current_targets() -> Weight {
291
		// Proof Size summary in bytes:
292
		//  Measured:  `178`
293
		//  Estimated: `6118`
294
		// Minimum execution time: 37_831_000 picoseconds.
295
		Weight::from_parts(38_525_000, 6118)
296
			.saturating_add(T::DbWeight::get().reads(8_u64))
297
			.saturating_add(T::DbWeight::get().writes(3_u64))
298
	}
299
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
300
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
301
	fn notify_target_migration_fail() -> Weight {
302
		// Proof Size summary in bytes:
303
		//  Measured:  `145`
304
		//  Estimated: `13510`
305
		// Minimum execution time: 22_102_000 picoseconds.
306
		Weight::from_parts(22_375_000, 13510)
307
			.saturating_add(T::DbWeight::get().reads(5_u64))
308
	}
309
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
310
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
311
	fn migrate_version_notify_targets() -> Weight {
312
		// Proof Size summary in bytes:
313
		//  Measured:  `136`
314
		//  Estimated: `15976`
315
		// Minimum execution time: 30_849_000 picoseconds.
316
		Weight::from_parts(31_283_000, 15976)
317
			.saturating_add(T::DbWeight::get().reads(6_u64))
318
			.saturating_add(T::DbWeight::get().writes(2_u64))
319
	}
320
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
321
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
322
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
323
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
324
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
325
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
326
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
327
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
328
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
329
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
330
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
331
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
332
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
333
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
334
	fn migrate_and_notify_old_targets() -> Weight {
335
		// Proof Size summary in bytes:
336
		//  Measured:  `178`
337
		//  Estimated: `16018`
338
		// Minimum execution time: 53_296_000 picoseconds.
339
		Weight::from_parts(54_107_000, 16018)
340
			.saturating_add(T::DbWeight::get().reads(12_u64))
341
			.saturating_add(T::DbWeight::get().writes(4_u64))
342
	}
343
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
344
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
345
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
346
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
347
	fn new_query() -> Weight {
348
		// Proof Size summary in bytes:
349
		//  Measured:  `69`
350
		//  Estimated: `1554`
351
		// Minimum execution time: 8_241_000 picoseconds.
352
		Weight::from_parts(8_621_000, 1554)
353
			.saturating_add(T::DbWeight::get().reads(1_u64))
354
			.saturating_add(T::DbWeight::get().writes(2_u64))
355
	}
356
	/// Storage: `PolkadotXcm::Queries` (r:1 w:1)
357
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
358
	fn take_response() -> Weight {
359
		// Proof Size summary in bytes:
360
		//  Measured:  `7706`
361
		//  Estimated: `11171`
362
		// Minimum execution time: 35_842_000 picoseconds.
363
		Weight::from_parts(36_290_000, 11171)
364
			.saturating_add(T::DbWeight::get().reads(1_u64))
365
			.saturating_add(T::DbWeight::get().writes(1_u64))
366
	}
367
	/// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
368
	/// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
369
	fn claim_assets() -> Weight {
370
		// Proof Size summary in bytes:
371
		//  Measured:  `126`
372
		//  Estimated: `3591`
373
		// Minimum execution time: 53_656_000 picoseconds.
374
		Weight::from_parts(54_696_000, 3591)
375
			.saturating_add(T::DbWeight::get().reads(1_u64))
376
			.saturating_add(T::DbWeight::get().writes(1_u64))
377
	}
378
}