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-frontier-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/frontier_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
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
58
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
59
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
60
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
61
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
62
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
63
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
64
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
65
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
66
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
67
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
68
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
69
	fn send() -> Weight {
70
		// Proof Size summary in bytes:
71
		//  Measured:  `75`
72
		//  Estimated: `3540`
73
		// Minimum execution time: 30_509_000 picoseconds.
74
		Weight::from_parts(31_065_000, 3540)
75
			.saturating_add(T::DbWeight::get().reads(6_u64))
76
			.saturating_add(T::DbWeight::get().writes(2_u64))
77
	}
78
	/// Storage: `Benchmark::Override` (r:0 w:0)
79
	/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
80
	fn teleport_assets() -> Weight {
81
		// Proof Size summary in bytes:
82
		//  Measured:  `0`
83
		//  Estimated: `0`
84
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
85
		Weight::from_parts(18_446_744_073_709_551_000, 0)
86
	}
87
	/// Storage: `XcmExecutorUtils::TeleportPolicy` (r:1 w:0)
88
	/// Proof: `XcmExecutorUtils::TeleportPolicy` (`max_values`: None, `max_size`: Some(602621), added: 605096, mode: `MaxEncodedLen`)
89
	/// Storage: `XcmExecutorUtils::ReservePolicy` (r:1 w:0)
90
	/// Proof: `XcmExecutorUtils::ReservePolicy` (`max_values`: None, `max_size`: Some(602621), added: 605096, mode: `MaxEncodedLen`)
91
	/// Storage: `System::Account` (r:1 w:1)
92
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
93
	/// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
94
	/// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
95
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
96
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
97
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
98
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
99
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
100
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
101
	/// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
102
	/// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
103
	/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
104
	/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
105
	/// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
106
	/// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
107
	fn reserve_transfer_assets() -> Weight {
108
		// Proof Size summary in bytes:
109
		//  Measured:  `359`
110
		//  Estimated: `606086`
111
		// Minimum execution time: 160_204_000 picoseconds.
112
		Weight::from_parts(162_907_000, 606086)
113
			.saturating_add(T::DbWeight::get().reads(9_u64))
114
			.saturating_add(T::DbWeight::get().writes(4_u64))
115
	}
116
	/// Storage: `XcmExecutorUtils::TeleportPolicy` (r:1 w:0)
117
	/// Proof: `XcmExecutorUtils::TeleportPolicy` (`max_values`: None, `max_size`: Some(602621), added: 605096, mode: `MaxEncodedLen`)
118
	/// Storage: `XcmExecutorUtils::ReservePolicy` (r:1 w:0)
119
	/// Proof: `XcmExecutorUtils::ReservePolicy` (`max_values`: None, `max_size`: Some(602621), added: 605096, mode: `MaxEncodedLen`)
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: `ForeignAssetsCreator::ForeignAssetToAssetId` (r:1 w:0)
123
	/// Proof: `ForeignAssetsCreator::ForeignAssetToAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`)
124
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
125
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
126
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
127
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
128
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
129
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
130
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
131
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
132
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
133
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
134
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
135
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
136
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
137
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
138
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
139
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
140
	fn transfer_assets() -> Weight {
141
		// Proof Size summary in bytes:
142
		//  Measured:  `628`
143
		//  Estimated: `606086`
144
		// Minimum execution time: 218_586_000 picoseconds.
145
		Weight::from_parts(223_667_000, 606086)
146
			.saturating_add(T::DbWeight::get().reads(12_u64))
147
			.saturating_add(T::DbWeight::get().writes(5_u64))
148
	}
149
	fn execute() -> Weight {
150
		// Proof Size summary in bytes:
151
		//  Measured:  `0`
152
		//  Estimated: `0`
153
		// Minimum execution time: 11_719_000 picoseconds.
154
		Weight::from_parts(11_964_000, 0)
155
	}
156
	/// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
157
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
158
	fn force_xcm_version() -> Weight {
159
		// Proof Size summary in bytes:
160
		//  Measured:  `0`
161
		//  Estimated: `0`
162
		// Minimum execution time: 10_000_000 picoseconds.
163
		Weight::from_parts(10_318_000, 0)
164
			.saturating_add(T::DbWeight::get().writes(1_u64))
165
	}
166
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
167
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
168
	fn force_default_xcm_version() -> Weight {
169
		// Proof Size summary in bytes:
170
		//  Measured:  `0`
171
		//  Estimated: `0`
172
		// Minimum execution time: 3_262_000 picoseconds.
173
		Weight::from_parts(3_449_000, 0)
174
			.saturating_add(T::DbWeight::get().writes(1_u64))
175
	}
176
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
177
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
178
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
179
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
180
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
181
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
182
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
183
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
184
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
185
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
186
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
187
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
188
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
189
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
190
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
191
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
192
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
193
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
194
	fn force_subscribe_version_notify() -> Weight {
195
		// Proof Size summary in bytes:
196
		//  Measured:  `75`
197
		//  Estimated: `3540`
198
		// Minimum execution time: 39_366_000 picoseconds.
199
		Weight::from_parts(40_086_000, 3540)
200
			.saturating_add(T::DbWeight::get().reads(8_u64))
201
			.saturating_add(T::DbWeight::get().writes(5_u64))
202
	}
203
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
204
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
205
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
206
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
207
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
208
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
209
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
210
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
211
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
212
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
213
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
214
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
215
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
216
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
217
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
218
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
219
	fn force_unsubscribe_version_notify() -> Weight {
220
		// Proof Size summary in bytes:
221
		//  Measured:  `257`
222
		//  Estimated: `3722`
223
		// Minimum execution time: 41_348_000 picoseconds.
224
		Weight::from_parts(41_813_000, 3722)
225
			.saturating_add(T::DbWeight::get().reads(7_u64))
226
			.saturating_add(T::DbWeight::get().writes(4_u64))
227
	}
228
	/// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
229
	/// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
230
	fn force_suspension() -> Weight {
231
		// Proof Size summary in bytes:
232
		//  Measured:  `0`
233
		//  Estimated: `0`
234
		// Minimum execution time: 3_329_000 picoseconds.
235
		Weight::from_parts(3_559_000, 0)
236
			.saturating_add(T::DbWeight::get().writes(1_u64))
237
	}
238
	/// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
239
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
240
	fn migrate_supported_version() -> Weight {
241
		// Proof Size summary in bytes:
242
		//  Measured:  `125`
243
		//  Estimated: `15965`
244
		// Minimum execution time: 29_460_000 picoseconds.
245
		Weight::from_parts(29_939_000, 15965)
246
			.saturating_add(T::DbWeight::get().reads(6_u64))
247
			.saturating_add(T::DbWeight::get().writes(2_u64))
248
	}
249
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
250
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
251
	fn migrate_version_notifiers() -> Weight {
252
		// Proof Size summary in bytes:
253
		//  Measured:  `129`
254
		//  Estimated: `15969`
255
		// Minimum execution time: 29_424_000 picoseconds.
256
		Weight::from_parts(30_119_000, 15969)
257
			.saturating_add(T::DbWeight::get().reads(6_u64))
258
			.saturating_add(T::DbWeight::get().writes(2_u64))
259
	}
260
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
261
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
262
	fn already_notified_target() -> Weight {
263
		// Proof Size summary in bytes:
264
		//  Measured:  `142`
265
		//  Estimated: `18457`
266
		// Minimum execution time: 32_978_000 picoseconds.
267
		Weight::from_parts(33_292_000, 18457)
268
			.saturating_add(T::DbWeight::get().reads(7_u64))
269
	}
270
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
271
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
272
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
273
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
274
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
275
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
276
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
277
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
278
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
279
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
280
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
281
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
282
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
283
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
284
	fn notify_current_targets() -> Weight {
285
		// Proof Size summary in bytes:
286
		//  Measured:  `142`
287
		//  Estimated: `6082`
288
		// Minimum execution time: 36_701_000 picoseconds.
289
		Weight::from_parts(37_307_000, 6082)
290
			.saturating_add(T::DbWeight::get().reads(8_u64))
291
			.saturating_add(T::DbWeight::get().writes(3_u64))
292
	}
293
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
294
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
295
	fn notify_target_migration_fail() -> Weight {
296
		// Proof Size summary in bytes:
297
		//  Measured:  `145`
298
		//  Estimated: `13510`
299
		// Minimum execution time: 22_762_000 picoseconds.
300
		Weight::from_parts(23_071_000, 13510)
301
			.saturating_add(T::DbWeight::get().reads(5_u64))
302
	}
303
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
304
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
305
	fn migrate_version_notify_targets() -> Weight {
306
		// Proof Size summary in bytes:
307
		//  Measured:  `136`
308
		//  Estimated: `15976`
309
		// Minimum execution time: 29_711_000 picoseconds.
310
		Weight::from_parts(30_337_000, 15976)
311
			.saturating_add(T::DbWeight::get().reads(6_u64))
312
			.saturating_add(T::DbWeight::get().writes(2_u64))
313
	}
314
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
315
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
316
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
317
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
318
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
319
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
320
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
321
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
322
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
323
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
324
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
325
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
326
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
327
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
328
	fn migrate_and_notify_old_targets() -> Weight {
329
		// Proof Size summary in bytes:
330
		//  Measured:  `142`
331
		//  Estimated: `15982`
332
		// Minimum execution time: 53_192_000 picoseconds.
333
		Weight::from_parts(53_948_000, 15982)
334
			.saturating_add(T::DbWeight::get().reads(12_u64))
335
			.saturating_add(T::DbWeight::get().writes(4_u64))
336
	}
337
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
338
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
339
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
340
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
341
	fn new_query() -> Weight {
342
		// Proof Size summary in bytes:
343
		//  Measured:  `69`
344
		//  Estimated: `1554`
345
		// Minimum execution time: 6_880_000 picoseconds.
346
		Weight::from_parts(7_075_000, 1554)
347
			.saturating_add(T::DbWeight::get().reads(1_u64))
348
			.saturating_add(T::DbWeight::get().writes(2_u64))
349
	}
350
	/// Storage: `PolkadotXcm::Queries` (r:1 w:1)
351
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
352
	fn take_response() -> Weight {
353
		// Proof Size summary in bytes:
354
		//  Measured:  `7706`
355
		//  Estimated: `11171`
356
		// Minimum execution time: 34_553_000 picoseconds.
357
		Weight::from_parts(35_042_000, 11171)
358
			.saturating_add(T::DbWeight::get().reads(1_u64))
359
			.saturating_add(T::DbWeight::get().writes(1_u64))
360
	}
361
	/// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
362
	/// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
363
	fn claim_assets() -> Weight {
364
		// Proof Size summary in bytes:
365
		//  Measured:  `126`
366
		//  Estimated: `3591`
367
		// Minimum execution time: 56_267_000 picoseconds.
368
		Weight::from_parts(57_171_000, 3591)
369
			.saturating_add(T::DbWeight::get().reads(1_u64))
370
			.saturating_add(T::DbWeight::get().writes(1_u64))
371
	}
372
}