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