moonbeam_runtime/weights/xcm/pallet_xcm_benchmarks_generic.rs
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//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
18//!
19//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0
20//! DATE: 2026-02-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21//! WORST CASE MAP SIZE: `1000000`
22//! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
23//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
24
25// Executed Command:
26// ./frame-omni-bencher
27// v1
28// benchmark
29// pallet
30// --runtime=./target/production/wbuild/moonbeam-runtime/moonbeam_runtime.wasm
31// --genesis-builder=runtime
32// --genesis-builder-preset=development
33// --steps=50
34// --repeat=20
35// --pallet=pallet_xcm_benchmarks::generic
36// --extrinsic=*
37// --wasm-execution=compiled
38// --header=./file_header.txt
39// --template=./benchmarking/xcm-weight-template.hbs
40// --disable-log-color
41// --output=./runtime/moonbeam/src/weights/xcm
42
43#![cfg_attr(rustfmt, rustfmt_skip)]
44#![allow(unused_parens)]
45#![allow(unused_imports)]
46
47use frame_support::{traits::Get, weights::Weight};
48use core::marker::PhantomData;
49
50/// Weight functions for `pallet_xcm_benchmarks::generic`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> 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 pub(crate) fn report_holding() -> Weight {
64 // Proof Size summary in bytes:
65 // Measured: `242`
66 // Estimated: `3707`
67 // Minimum execution time: 68_801_000 picoseconds.
68 Weight::from_parts(70_404_000, 3707)
69 .saturating_add(T::DbWeight::get().reads(5))
70 .saturating_add(T::DbWeight::get().writes(2))
71 }
72 /// Storage: `XcmWeightTrader::SupportedAssets` (r:1 w:0)
73 /// Proof: `XcmWeightTrader::SupportedAssets` (`max_values`: None, `max_size`: Some(635), added: 3110, mode: `MaxEncodedLen`)
74 /// Storage: `EvmForeignAssets::AssetsByLocation` (r:1 w:0)
75 /// Proof: `EvmForeignAssets::AssetsByLocation` (`max_values`: None, `max_size`: None, mode: `Measured`)
76 /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
77 /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
78 /// Storage: `EthereumXcm::EthereumXcmSuspended` (r:1 w:0)
79 /// Proof: `EthereumXcm::EthereumXcmSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
80 /// Storage: `EthereumXcm::Nonce` (r:1 w:1)
81 /// Proof: `EthereumXcm::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
82 /// Storage: `EthereumChainId::ChainId` (r:1 w:0)
83 /// Proof: `EthereumChainId::ChainId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
84 /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
85 /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
86 /// Storage: `EVM::AccountCodesMetadata` (r:2 w:0)
87 /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
88 /// Storage: `System::Account` (r:1 w:1)
89 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
90 /// Storage: `System::Digest` (r:1 w:0)
91 /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
92 /// Storage: `Ethereum::CounterForPending` (r:1 w:1)
93 /// Proof: `Ethereum::CounterForPending` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
94 /// Storage: `Ethereum::Pending` (r:2 w:1)
95 /// Proof: `Ethereum::Pending` (`max_values`: None, `max_size`: None, mode: `Measured`)
96 pub(crate) fn buy_execution() -> Weight {
97 // Proof Size summary in bytes:
98 // Measured: `607`
99 // Estimated: `6547`
100 // Minimum execution time: 15_498_000 picoseconds.
101 Weight::from_parts(16_301_000, 6547)
102 .saturating_add(T::DbWeight::get().reads(14))
103 .saturating_add(T::DbWeight::get().writes(4))
104 }
105 /// Storage: `XcmWeightTrader::SupportedAssets` (r:1 w:0)
106 /// Proof: `XcmWeightTrader::SupportedAssets` (`max_values`: None, `max_size`: Some(635), added: 3110, mode: `MaxEncodedLen`)
107 /// Storage: `EvmForeignAssets::AssetsByLocation` (r:1 w:0)
108 /// Proof: `EvmForeignAssets::AssetsByLocation` (`max_values`: None, `max_size`: None, mode: `Measured`)
109 /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
110 /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
111 /// Storage: `EthereumXcm::EthereumXcmSuspended` (r:1 w:0)
112 /// Proof: `EthereumXcm::EthereumXcmSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
113 /// Storage: `EthereumXcm::Nonce` (r:1 w:1)
114 /// Proof: `EthereumXcm::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
115 /// Storage: `EthereumChainId::ChainId` (r:1 w:0)
116 /// Proof: `EthereumChainId::ChainId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
117 /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
118 /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
119 /// Storage: `EVM::AccountCodesMetadata` (r:2 w:0)
120 /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
121 /// Storage: `System::Account` (r:1 w:1)
122 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
123 /// Storage: `System::Digest` (r:1 w:0)
124 /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
125 /// Storage: `Ethereum::CounterForPending` (r:1 w:1)
126 /// Proof: `Ethereum::CounterForPending` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
127 /// Storage: `Ethereum::Pending` (r:2 w:1)
128 /// Proof: `Ethereum::Pending` (`max_values`: None, `max_size`: None, mode: `Measured`)
129 pub(crate) fn pay_fees() -> Weight {
130 // Proof Size summary in bytes:
131 // Measured: `607`
132 // Estimated: `6547`
133 // Minimum execution time: 15_438_000 picoseconds.
134 Weight::from_parts(16_328_000, 6547)
135 .saturating_add(T::DbWeight::get().reads(14))
136 .saturating_add(T::DbWeight::get().writes(4))
137 }
138 pub(crate) fn asset_claimer() -> Weight {
139 // Proof Size summary in bytes:
140 // Measured: `0`
141 // Estimated: `0`
142 // Minimum execution time: 993_000 picoseconds.
143 Weight::from_parts(1_057_000, 0)
144 }
145 /// Storage: `PolkadotXcm::Queries` (r:1 w:0)
146 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
147 pub(crate) fn query_response() -> Weight {
148 // Proof Size summary in bytes:
149 // Measured: `103`
150 // Estimated: `3568`
151 // Minimum execution time: 8_445_000 picoseconds.
152 Weight::from_parts(8_832_000, 3568)
153 .saturating_add(T::DbWeight::get().reads(1))
154 }
155 /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
156 /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
157 pub(crate) fn transact() -> Weight {
158 // Proof Size summary in bytes:
159 // Measured: `42`
160 // Estimated: `1527`
161 // Minimum execution time: 10_539_000 picoseconds.
162 Weight::from_parts(10_791_000, 1527)
163 .saturating_add(T::DbWeight::get().reads(1))
164 }
165 /// Storage: `XcmWeightTrader::SupportedAssets` (r:1 w:0)
166 /// Proof: `XcmWeightTrader::SupportedAssets` (`max_values`: None, `max_size`: Some(635), added: 3110, mode: `MaxEncodedLen`)
167 /// Storage: `EvmForeignAssets::AssetsByLocation` (r:1 w:0)
168 /// Proof: `EvmForeignAssets::AssetsByLocation` (`max_values`: None, `max_size`: None, mode: `Measured`)
169 /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
170 /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
171 /// Storage: `EthereumXcm::EthereumXcmSuspended` (r:1 w:0)
172 /// Proof: `EthereumXcm::EthereumXcmSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
173 /// Storage: `EthereumXcm::Nonce` (r:1 w:1)
174 /// Proof: `EthereumXcm::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
175 /// Storage: `EthereumChainId::ChainId` (r:1 w:0)
176 /// Proof: `EthereumChainId::ChainId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
177 /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
178 /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
179 /// Storage: `EVM::AccountCodesMetadata` (r:2 w:0)
180 /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
181 /// Storage: `System::Account` (r:1 w:1)
182 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
183 /// Storage: `System::Digest` (r:1 w:0)
184 /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
185 /// Storage: `Ethereum::CounterForPending` (r:1 w:1)
186 /// Proof: `Ethereum::CounterForPending` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
187 /// Storage: `Ethereum::Pending` (r:2 w:1)
188 /// Proof: `Ethereum::Pending` (`max_values`: None, `max_size`: None, mode: `Measured`)
189 pub(crate) fn refund_surplus() -> Weight {
190 // Proof Size summary in bytes:
191 // Measured: `607`
192 // Estimated: `6547`
193 // Minimum execution time: 10_635_000 picoseconds.
194 Weight::from_parts(11_361_000, 6547)
195 .saturating_add(T::DbWeight::get().reads(14))
196 .saturating_add(T::DbWeight::get().writes(4))
197 }
198 pub(crate) fn set_error_handler() -> Weight {
199 // Proof Size summary in bytes:
200 // Measured: `0`
201 // Estimated: `0`
202 // Minimum execution time: 926_000 picoseconds.
203 Weight::from_parts(1_007_000, 0)
204 }
205 pub(crate) fn set_appendix() -> Weight {
206 // Proof Size summary in bytes:
207 // Measured: `0`
208 // Estimated: `0`
209 // Minimum execution time: 916_000 picoseconds.
210 Weight::from_parts(958_000, 0)
211 }
212 pub(crate) fn clear_error() -> Weight {
213 // Proof Size summary in bytes:
214 // Measured: `0`
215 // Estimated: `0`
216 // Minimum execution time: 903_000 picoseconds.
217 Weight::from_parts(984_000, 0)
218 }
219 pub(crate) fn descend_origin() -> Weight {
220 // Proof Size summary in bytes:
221 // Measured: `0`
222 // Estimated: `0`
223 // Minimum execution time: 962_000 picoseconds.
224 Weight::from_parts(1_027_000, 0)
225 }
226 /// Storage: `Benchmark::Override` (r:0 w:0)
227 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
228 pub(crate) fn execute_with_origin() -> Weight {
229 // Proof Size summary in bytes:
230 // Measured: `0`
231 // Estimated: `0`
232 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
233 Weight::from_parts(18_446_744_073_709_551_000, 0)
234 }
235 pub(crate) fn clear_origin() -> Weight {
236 // Proof Size summary in bytes:
237 // Measured: `0`
238 // Estimated: `0`
239 // Minimum execution time: 909_000 picoseconds.
240 Weight::from_parts(994_000, 0)
241 }
242 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
243 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
244 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
245 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
246 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
247 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
248 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
249 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
250 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
251 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
252 pub(crate) fn report_error() -> Weight {
253 // Proof Size summary in bytes:
254 // Measured: `242`
255 // Estimated: `3707`
256 // Minimum execution time: 30_048_000 picoseconds.
257 Weight::from_parts(31_108_000, 3707)
258 .saturating_add(T::DbWeight::get().reads(5))
259 .saturating_add(T::DbWeight::get().writes(2))
260 }
261 /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
262 /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
263 pub(crate) fn claim_asset() -> Weight {
264 // Proof Size summary in bytes:
265 // Measured: `160`
266 // Estimated: `3625`
267 // Minimum execution time: 12_252_000 picoseconds.
268 Weight::from_parts(12_782_000, 3625)
269 .saturating_add(T::DbWeight::get().reads(1))
270 .saturating_add(T::DbWeight::get().writes(1))
271 }
272 pub(crate) fn trap() -> Weight {
273 // Proof Size summary in bytes:
274 // Measured: `0`
275 // Estimated: `0`
276 // Minimum execution time: 3_582_000 picoseconds.
277 Weight::from_parts(3_878_000, 0)
278 }
279 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:1 w:1)
280 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
281 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
282 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
283 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
284 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
285 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
286 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
287 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
288 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
289 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
290 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
291 pub(crate) fn subscribe_version() -> Weight {
292 // Proof Size summary in bytes:
293 // Measured: `242`
294 // Estimated: `3707`
295 // Minimum execution time: 34_005_000 picoseconds.
296 Weight::from_parts(35_513_000, 3707)
297 .saturating_add(T::DbWeight::get().reads(6))
298 .saturating_add(T::DbWeight::get().writes(3))
299 }
300 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:0 w:1)
301 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
302 pub(crate) fn unsubscribe_version() -> Weight {
303 // Proof Size summary in bytes:
304 // Measured: `0`
305 // Estimated: `0`
306 // Minimum execution time: 3_301_000 picoseconds.
307 Weight::from_parts(3_452_000, 0)
308 .saturating_add(T::DbWeight::get().writes(1))
309 }
310 pub(crate) fn burn_asset() -> Weight {
311 // Proof Size summary in bytes:
312 // Measured: `0`
313 // Estimated: `0`
314 // Minimum execution time: 8_440_000 picoseconds.
315 Weight::from_parts(8_827_000, 0)
316 }
317 pub(crate) fn expect_asset() -> Weight {
318 // Proof Size summary in bytes:
319 // Measured: `0`
320 // Estimated: `0`
321 // Minimum execution time: 2_784_000 picoseconds.
322 Weight::from_parts(2_955_000, 0)
323 }
324 pub(crate) fn expect_origin() -> Weight {
325 // Proof Size summary in bytes:
326 // Measured: `0`
327 // Estimated: `0`
328 // Minimum execution time: 3_632_000 picoseconds.
329 Weight::from_parts(3_826_000, 0)
330 }
331 pub(crate) fn expect_error() -> Weight {
332 // Proof Size summary in bytes:
333 // Measured: `0`
334 // Estimated: `0`
335 // Minimum execution time: 3_687_000 picoseconds.
336 Weight::from_parts(3_844_000, 0)
337 }
338 pub(crate) fn expect_transact_status() -> Weight {
339 // Proof Size summary in bytes:
340 // Measured: `0`
341 // Estimated: `0`
342 // Minimum execution time: 1_071_000 picoseconds.
343 Weight::from_parts(1_125_000, 0)
344 }
345 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
346 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
347 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
348 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
349 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
350 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
351 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
352 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
353 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
354 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
355 pub(crate) fn query_pallet() -> Weight {
356 // Proof Size summary in bytes:
357 // Measured: `242`
358 // Estimated: `3707`
359 // Minimum execution time: 39_792_000 picoseconds.
360 Weight::from_parts(40_712_000, 3707)
361 .saturating_add(T::DbWeight::get().reads(5))
362 .saturating_add(T::DbWeight::get().writes(2))
363 }
364 pub(crate) fn expect_pallet() -> Weight {
365 // Proof Size summary in bytes:
366 // Measured: `0`
367 // Estimated: `0`
368 // Minimum execution time: 8_573_000 picoseconds.
369 Weight::from_parts(8_814_000, 0)
370 }
371 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
372 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
373 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
374 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
375 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
376 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
377 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
378 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
379 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
380 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
381 pub(crate) fn report_transact_status() -> Weight {
382 // Proof Size summary in bytes:
383 // Measured: `242`
384 // Estimated: `3707`
385 // Minimum execution time: 30_562_000 picoseconds.
386 Weight::from_parts(31_717_000, 3707)
387 .saturating_add(T::DbWeight::get().reads(5))
388 .saturating_add(T::DbWeight::get().writes(2))
389 }
390 pub(crate) fn clear_transact_status() -> Weight {
391 // Proof Size summary in bytes:
392 // Measured: `0`
393 // Estimated: `0`
394 // Minimum execution time: 944_000 picoseconds.
395 Weight::from_parts(1_039_000, 0)
396 }
397 pub(crate) fn set_topic() -> Weight {
398 // Proof Size summary in bytes:
399 // Measured: `0`
400 // Estimated: `0`
401 // Minimum execution time: 846_000 picoseconds.
402 Weight::from_parts(946_000, 0)
403 }
404 pub(crate) fn clear_topic() -> Weight {
405 // Proof Size summary in bytes:
406 // Measured: `0`
407 // Estimated: `0`
408 // Minimum execution time: 933_000 picoseconds.
409 Weight::from_parts(984_000, 0)
410 }
411 pub(crate) fn set_fees_mode() -> Weight {
412 // Proof Size summary in bytes:
413 // Measured: `0`
414 // Estimated: `0`
415 // Minimum execution time: 907_000 picoseconds.
416 Weight::from_parts(951_000, 0)
417 }
418 pub(crate) fn unpaid_execution() -> Weight {
419 // Proof Size summary in bytes:
420 // Measured: `0`
421 // Estimated: `0`
422 // Minimum execution time: 887_000 picoseconds.
423 Weight::from_parts(985_000, 0)
424 }
425}