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/tanssi-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/dancebox_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() -> sp_runtime::Weight {
58
		Default::default()
59
	}
60
	fn remove_authorized_alias() -> sp_runtime::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
60
	fn send() -> Weight {
76
60
		// Proof Size summary in bytes:
77
60
		//  Measured:  `145`
78
60
		//  Estimated: `3610`
79
60
		// Minimum execution time: 33_238_000 picoseconds.
80
60
		Weight::from_parts(33_976_000, 3610)
81
60
			.saturating_add(T::DbWeight::get().reads(6_u64))
82
60
			.saturating_add(T::DbWeight::get().writes(2_u64))
83
60
	}
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: `System::Account` (r:1 w:1)
94
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
95
	/// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0)
96
	/// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
97
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
98
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
99
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
100
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
101
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
102
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
103
	/// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0)
104
	/// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
105
	/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
106
	/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
107
	/// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1)
108
	/// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`)
109
	fn reserve_transfer_assets() -> Weight {
110
		// Proof Size summary in bytes:
111
		//  Measured:  `400`
112
		//  Estimated: `3865`
113
		// Minimum execution time: 148_617_000 picoseconds.
114
		Weight::from_parts(150_889_000, 3865)
115
			.saturating_add(T::DbWeight::get().reads(7_u64))
116
			.saturating_add(T::DbWeight::get().writes(4_u64))
117
	}
118
	/// Storage: `System::Account` (r:1 w:1)
119
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
120
	/// Storage: `ForeignAssetsCreator::ForeignAssetToAssetId` (r:1 w:0)
121
	/// Proof: `ForeignAssetsCreator::ForeignAssetToAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`)
122
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
123
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`)
124
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
125
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`)
126
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
127
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
128
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
129
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
130
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
131
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
132
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
133
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
134
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
135
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
136
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
137
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
138
24
	fn transfer_assets() -> Weight {
139
24
		// Proof Size summary in bytes:
140
24
		//  Measured:  `730`
141
24
		//  Estimated: `4195`
142
24
		// Minimum execution time: 197_187_000 picoseconds.
143
24
		Weight::from_parts(200_602_000, 4195)
144
24
			.saturating_add(T::DbWeight::get().reads(10_u64))
145
24
			.saturating_add(T::DbWeight::get().writes(5_u64))
146
24
	}
147
	fn execute() -> Weight {
148
		// Proof Size summary in bytes:
149
		//  Measured:  `0`
150
		//  Estimated: `0`
151
		// Minimum execution time: 11_738_000 picoseconds.
152
		Weight::from_parts(11_972_000, 0)
153
	}
154
	/// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
155
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
156
	fn force_xcm_version() -> Weight {
157
		// Proof Size summary in bytes:
158
		//  Measured:  `0`
159
		//  Estimated: `0`
160
		// Minimum execution time: 10_341_000 picoseconds.
161
		Weight::from_parts(10_639_000, 0)
162
			.saturating_add(T::DbWeight::get().writes(1_u64))
163
	}
164
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
165
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
166
	fn force_default_xcm_version() -> Weight {
167
		// Proof Size summary in bytes:
168
		//  Measured:  `0`
169
		//  Estimated: `0`
170
		// Minimum execution time: 3_226_000 picoseconds.
171
		Weight::from_parts(3_442_000, 0)
172
			.saturating_add(T::DbWeight::get().writes(1_u64))
173
	}
174
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
175
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
176
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
177
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
178
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
179
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
180
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
181
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
182
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
183
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
184
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
185
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
186
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
187
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
188
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
189
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
190
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
191
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
192
	fn force_subscribe_version_notify() -> Weight {
193
		// Proof Size summary in bytes:
194
		//  Measured:  `145`
195
		//  Estimated: `3610`
196
		// Minimum execution time: 41_912_000 picoseconds.
197
		Weight::from_parts(43_020_000, 3610)
198
			.saturating_add(T::DbWeight::get().reads(8_u64))
199
			.saturating_add(T::DbWeight::get().writes(5_u64))
200
	}
201
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
202
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
203
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
204
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
205
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
206
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
207
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
208
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
209
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
210
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
211
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
212
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
213
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
214
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
215
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
216
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
217
	fn force_unsubscribe_version_notify() -> Weight {
218
		// Proof Size summary in bytes:
219
		//  Measured:  `328`
220
		//  Estimated: `3793`
221
		// Minimum execution time: 43_807_000 picoseconds.
222
		Weight::from_parts(44_700_000, 3793)
223
			.saturating_add(T::DbWeight::get().reads(7_u64))
224
			.saturating_add(T::DbWeight::get().writes(4_u64))
225
	}
226
	/// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
227
	/// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
228
	fn force_suspension() -> Weight {
229
		// Proof Size summary in bytes:
230
		//  Measured:  `0`
231
		//  Estimated: `0`
232
		// Minimum execution time: 3_314_000 picoseconds.
233
		Weight::from_parts(3_479_000, 0)
234
			.saturating_add(T::DbWeight::get().writes(1_u64))
235
	}
236
	/// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
237
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
238
	fn migrate_supported_version() -> Weight {
239
		// Proof Size summary in bytes:
240
		//  Measured:  `159`
241
		//  Estimated: `15999`
242
		// Minimum execution time: 31_388_000 picoseconds.
243
		Weight::from_parts(31_801_000, 15999)
244
			.saturating_add(T::DbWeight::get().reads(6_u64))
245
			.saturating_add(T::DbWeight::get().writes(2_u64))
246
	}
247
	/// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
248
	/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
249
	fn migrate_version_notifiers() -> Weight {
250
		// Proof Size summary in bytes:
251
		//  Measured:  `163`
252
		//  Estimated: `16003`
253
		// Minimum execution time: 31_306_000 picoseconds.
254
		Weight::from_parts(31_810_000, 16003)
255
			.saturating_add(T::DbWeight::get().reads(6_u64))
256
			.saturating_add(T::DbWeight::get().writes(2_u64))
257
	}
258
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
259
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
260
	fn already_notified_target() -> Weight {
261
		// Proof Size summary in bytes:
262
		//  Measured:  `278`
263
		//  Estimated: `18593`
264
		// Minimum execution time: 38_724_000 picoseconds.
265
		Weight::from_parts(39_421_000, 18593)
266
			.saturating_add(T::DbWeight::get().reads(7_u64))
267
	}
268
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
269
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
270
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
271
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
272
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
273
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
274
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
275
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
276
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
277
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
278
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
279
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
280
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
281
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
282
	fn notify_current_targets() -> Weight {
283
		// Proof Size summary in bytes:
284
		//  Measured:  `212`
285
		//  Estimated: `6152`
286
		// Minimum execution time: 38_603_000 picoseconds.
287
		Weight::from_parts(39_424_000, 6152)
288
			.saturating_add(T::DbWeight::get().reads(8_u64))
289
			.saturating_add(T::DbWeight::get().writes(3_u64))
290
	}
291
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
292
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
293
	fn notify_target_migration_fail() -> Weight {
294
		// Proof Size summary in bytes:
295
		//  Measured:  `281`
296
		//  Estimated: `13646`
297
		// Minimum execution time: 26_481_000 picoseconds.
298
		Weight::from_parts(26_828_000, 13646)
299
			.saturating_add(T::DbWeight::get().reads(5_u64))
300
	}
301
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
302
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
303
	fn migrate_version_notify_targets() -> Weight {
304
		// Proof Size summary in bytes:
305
		//  Measured:  `170`
306
		//  Estimated: `16010`
307
		// Minimum execution time: 31_237_000 picoseconds.
308
		Weight::from_parts(31_780_000, 16010)
309
			.saturating_add(T::DbWeight::get().reads(6_u64))
310
			.saturating_add(T::DbWeight::get().writes(2_u64))
311
	}
312
	/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
313
	/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
314
	/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
315
	/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
316
	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
317
	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
318
	/// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
319
	/// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
320
	/// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
321
	/// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
322
	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
323
	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
324
	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
325
	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
326
	fn migrate_and_notify_old_targets() -> Weight {
327
		// Proof Size summary in bytes:
328
		//  Measured:  `212`
329
		//  Estimated: `16052`
330
		// Minimum execution time: 55_039_000 picoseconds.
331
		Weight::from_parts(55_786_000, 16052)
332
			.saturating_add(T::DbWeight::get().reads(12_u64))
333
			.saturating_add(T::DbWeight::get().writes(4_u64))
334
	}
335
	/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
336
	/// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
337
	/// Storage: `PolkadotXcm::Queries` (r:0 w:1)
338
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
339
	fn new_query() -> Weight {
340
		// Proof Size summary in bytes:
341
		//  Measured:  `103`
342
		//  Estimated: `1588`
343
		// Minimum execution time: 8_350_000 picoseconds.
344
		Weight::from_parts(8_698_000, 1588)
345
			.saturating_add(T::DbWeight::get().reads(1_u64))
346
			.saturating_add(T::DbWeight::get().writes(2_u64))
347
	}
348
	/// Storage: `PolkadotXcm::Queries` (r:1 w:1)
349
	/// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
350
	fn take_response() -> Weight {
351
		// Proof Size summary in bytes:
352
		//  Measured:  `7740`
353
		//  Estimated: `11205`
354
		// Minimum execution time: 36_048_000 picoseconds.
355
		Weight::from_parts(36_470_000, 11205)
356
			.saturating_add(T::DbWeight::get().reads(1_u64))
357
			.saturating_add(T::DbWeight::get().writes(1_u64))
358
	}
359
	/// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
360
	/// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
361
	fn claim_assets() -> Weight {
362
		// Proof Size summary in bytes:
363
		//  Measured:  `160`
364
		//  Estimated: `3625`
365
		// Minimum execution time: 56_122_000 picoseconds.
366
		Weight::from_parts(56_909_000, 3625)
367
			.saturating_add(T::DbWeight::get().reads(1_u64))
368
			.saturating_add(T::DbWeight::get().writes(1_u64))
369
	}
370
}