pallet_contracts/weights.rs
1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_contracts`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `4563561839a5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_contracts
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/contracts/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --genesis-builder-policy=none
62// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
63
64#![cfg_attr(rustfmt, rustfmt_skip)]
65#![allow(unused_parens)]
66#![allow(unused_imports)]
67#![allow(missing_docs)]
68#![allow(dead_code)]
69
70use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
71use core::marker::PhantomData;
72
73/// Weight functions needed for `pallet_contracts`.
74pub trait WeightInfo {
75 fn on_process_deletion_queue_batch() -> Weight;
76 fn on_initialize_per_trie_key(k: u32, ) -> Weight;
77 fn v9_migration_step(c: u32, ) -> Weight;
78 fn v10_migration_step() -> Weight;
79 fn v11_migration_step(k: u32, ) -> Weight;
80 fn v12_migration_step(c: u32, ) -> Weight;
81 fn v13_migration_step() -> Weight;
82 fn v14_migration_step() -> Weight;
83 fn v15_migration_step() -> Weight;
84 fn v16_migration_step() -> Weight;
85 fn migration_noop() -> Weight;
86 fn migrate() -> Weight;
87 fn on_runtime_upgrade_noop() -> Weight;
88 fn on_runtime_upgrade_in_progress() -> Weight;
89 fn on_runtime_upgrade() -> Weight;
90 fn call_with_code_per_byte(c: u32, ) -> Weight;
91 fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight;
92 fn instantiate(i: u32, s: u32, ) -> Weight;
93 fn call() -> Weight;
94 fn upload_code_determinism_enforced(c: u32, ) -> Weight;
95 fn upload_code_determinism_relaxed(c: u32, ) -> Weight;
96 fn remove_code() -> Weight;
97 fn set_code() -> Weight;
98 fn noop_host_fn(r: u32, ) -> Weight;
99 fn seal_caller() -> Weight;
100 fn seal_is_contract() -> Weight;
101 fn seal_code_hash() -> Weight;
102 fn seal_own_code_hash() -> Weight;
103 fn seal_caller_is_origin() -> Weight;
104 fn seal_caller_is_root() -> Weight;
105 fn seal_address() -> Weight;
106 fn seal_gas_left() -> Weight;
107 fn seal_balance() -> Weight;
108 fn seal_value_transferred() -> Weight;
109 fn seal_minimum_balance() -> Weight;
110 fn seal_block_number() -> Weight;
111 fn seal_now() -> Weight;
112 fn seal_weight_to_fee() -> Weight;
113 fn seal_input(n: u32, ) -> Weight;
114 fn seal_return(n: u32, ) -> Weight;
115 fn seal_terminate(n: u32, ) -> Weight;
116 fn seal_random() -> Weight;
117 fn seal_deposit_event(t: u32, n: u32, ) -> Weight;
118 fn seal_debug_message(i: u32, ) -> Weight;
119 fn get_storage_empty() -> Weight;
120 fn get_storage_full() -> Weight;
121 fn set_storage_empty() -> Weight;
122 fn set_storage_full() -> Weight;
123 fn seal_set_storage(n: u32, o: u32, ) -> Weight;
124 fn seal_clear_storage(n: u32, ) -> Weight;
125 fn seal_get_storage(n: u32, ) -> Weight;
126 fn seal_contains_storage(n: u32, ) -> Weight;
127 fn seal_take_storage(n: u32, ) -> Weight;
128 fn set_transient_storage_empty() -> Weight;
129 fn set_transient_storage_full() -> Weight;
130 fn get_transient_storage_empty() -> Weight;
131 fn get_transient_storage_full() -> Weight;
132 fn rollback_transient_storage() -> Weight;
133 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight;
134 fn seal_clear_transient_storage(n: u32, ) -> Weight;
135 fn seal_get_transient_storage(n: u32, ) -> Weight;
136 fn seal_contains_transient_storage(n: u32, ) -> Weight;
137 fn seal_take_transient_storage(n: u32, ) -> Weight;
138 fn seal_transfer() -> Weight;
139 fn seal_call(t: u32, i: u32, ) -> Weight;
140 fn seal_delegate_call() -> Weight;
141 fn seal_instantiate(i: u32, s: u32, ) -> Weight;
142 fn seal_hash_sha2_256(n: u32, ) -> Weight;
143 fn seal_hash_keccak_256(n: u32, ) -> Weight;
144 fn seal_hash_blake2_256(n: u32, ) -> Weight;
145 fn seal_hash_blake2_128(n: u32, ) -> Weight;
146 fn seal_sr25519_verify(n: u32, ) -> Weight;
147 fn seal_ecdsa_recover() -> Weight;
148 fn seal_ecdsa_to_eth_address() -> Weight;
149 fn seal_set_code_hash() -> Weight;
150 fn lock_delegate_dependency() -> Weight;
151 fn unlock_delegate_dependency() -> Weight;
152 fn seal_reentrance_count() -> Weight;
153 fn seal_account_reentrance_count() -> Weight;
154 fn seal_instantiation_nonce() -> Weight;
155 fn instr_i64_load_store(r: u32, ) -> Weight;
156}
157
158/// Weights for `pallet_contracts` using the Substrate node and recommended hardware.
159pub struct SubstrateWeight<T>(PhantomData<T>);
160impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
161 /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:0)
162 /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
163 fn on_process_deletion_queue_batch() -> Weight {
164 // Proof Size summary in bytes:
165 // Measured: `0`
166 // Estimated: `1485`
167 // Minimum execution time: 662_000 picoseconds.
168 Weight::from_parts(715_000, 1485)
169 .saturating_add(T::DbWeight::get().reads(1_u64))
170 }
171 /// Storage: `Skipped::Metadata` (r:0 w:0)
172 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
173 /// The range of component `k` is `[0, 1024]`.
174 fn on_initialize_per_trie_key(k: u32, ) -> Weight {
175 // Proof Size summary in bytes:
176 // Measured: `224 + k * (69 ±0)`
177 // Estimated: `216 + k * (70 ±0)`
178 // Minimum execution time: 12_277_000 picoseconds.
179 Weight::from_parts(12_597_000, 216)
180 // Standard Error: 3_444
181 .saturating_add(Weight::from_parts(1_357_086, 0).saturating_mul(k.into()))
182 .saturating_add(T::DbWeight::get().reads(2_u64))
183 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
184 .saturating_add(T::DbWeight::get().writes(2_u64))
185 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
186 .saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
187 }
188 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1)
189 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1)
190 /// The range of component `c` is `[0, 125952]`.
191 fn v9_migration_step(c: u32, ) -> Weight {
192 // Proof Size summary in bytes:
193 // Measured: `49 + c * (1 ±0)`
194 // Estimated: `5987 + c * (1 ±0)`
195 // Minimum execution time: 5_876_000 picoseconds.
196 Weight::from_parts(6_203_000, 5987)
197 // Standard Error: 5
198 .saturating_add(Weight::from_parts(1_860, 0).saturating_mul(c.into()))
199 .saturating_add(T::DbWeight::get().reads(2_u64))
200 .saturating_add(T::DbWeight::get().writes(1_u64))
201 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
202 }
203 /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
204 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
205 /// Storage: `System::Account` (r:1 w:0)
206 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
207 fn v10_migration_step() -> Weight {
208 // Proof Size summary in bytes:
209 // Measured: `322`
210 // Estimated: `6262`
211 // Minimum execution time: 14_462_000 picoseconds.
212 Weight::from_parts(15_233_000, 6262)
213 .saturating_add(T::DbWeight::get().reads(3_u64))
214 .saturating_add(T::DbWeight::get().writes(1_u64))
215 }
216 /// Storage: `Contracts::DeletionQueue` (r:1 w:1025)
217 /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
218 /// Storage: `Contracts::DeletionQueueCounter` (r:0 w:1)
219 /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
220 /// The range of component `k` is `[0, 1024]`.
221 fn v11_migration_step(k: u32, ) -> Weight {
222 // Proof Size summary in bytes:
223 // Measured: `9 + k * (1 ±0)`
224 // Estimated: `3473 + k * (1 ±0)`
225 // Minimum execution time: 2_288_000 picoseconds.
226 Weight::from_parts(2_332_000, 3473)
227 // Standard Error: 885
228 .saturating_add(Weight::from_parts(1_101_283, 0).saturating_mul(k.into()))
229 .saturating_add(T::DbWeight::get().reads(1_u64))
230 .saturating_add(T::DbWeight::get().writes(2_u64))
231 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
232 .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into()))
233 }
234 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
235 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
236 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
237 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
238 /// Storage: `System::Account` (r:1 w:0)
239 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
240 /// Storage: `Contracts::CodeInfoOf` (r:0 w:1)
241 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
242 /// The range of component `c` is `[0, 125952]`.
243 fn v12_migration_step(c: u32, ) -> Weight {
244 // Proof Size summary in bytes:
245 // Measured: `188 + c * (1 ±0)`
246 // Estimated: `6126 + c * (1 ±0)`
247 // Minimum execution time: 15_169_000 picoseconds.
248 Weight::from_parts(5_930_836, 6126)
249 // Standard Error: 6
250 .saturating_add(Weight::from_parts(818, 0).saturating_mul(c.into()))
251 .saturating_add(T::DbWeight::get().reads(4_u64))
252 .saturating_add(T::DbWeight::get().writes(2_u64))
253 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
254 }
255 /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
256 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
257 fn v13_migration_step() -> Weight {
258 // Proof Size summary in bytes:
259 // Measured: `303`
260 // Estimated: `6243`
261 // Minimum execution time: 11_213_000 picoseconds.
262 Weight::from_parts(11_459_000, 6243)
263 .saturating_add(T::DbWeight::get().reads(2_u64))
264 .saturating_add(T::DbWeight::get().writes(1_u64))
265 }
266 /// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
267 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
268 /// Storage: `System::Account` (r:1 w:1)
269 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
270 /// Storage: `Balances::Holds` (r:1 w:0)
271 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
272 fn v14_migration_step() -> Weight {
273 // Proof Size summary in bytes:
274 // Measured: `139`
275 // Estimated: `6079`
276 // Minimum execution time: 43_708_000 picoseconds.
277 Weight::from_parts(44_426_000, 6079)
278 .saturating_add(T::DbWeight::get().reads(4_u64))
279 .saturating_add(T::DbWeight::get().writes(1_u64))
280 }
281 /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
282 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
283 /// Storage: `System::Account` (r:2 w:1)
284 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
285 fn v15_migration_step() -> Weight {
286 // Proof Size summary in bytes:
287 // Measured: `355`
288 // Estimated: `6295`
289 // Minimum execution time: 38_695_000 picoseconds.
290 Weight::from_parts(39_802_000, 6295)
291 .saturating_add(T::DbWeight::get().reads(4_u64))
292 .saturating_add(T::DbWeight::get().writes(2_u64))
293 }
294 /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
295 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
296 fn v16_migration_step() -> Weight {
297 // Proof Size summary in bytes:
298 // Measured: `272`
299 // Estimated: `6212`
300 // Minimum execution time: 10_591_000 picoseconds.
301 Weight::from_parts(11_053_000, 6212)
302 .saturating_add(T::DbWeight::get().reads(2_u64))
303 .saturating_add(T::DbWeight::get().writes(1_u64))
304 }
305 /// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
306 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
307 fn migration_noop() -> Weight {
308 // Proof Size summary in bytes:
309 // Measured: `6`
310 // Estimated: `1491`
311 // Minimum execution time: 1_920_000 picoseconds.
312 Weight::from_parts(2_054_000, 1491)
313 .saturating_add(T::DbWeight::get().reads(1_u64))
314 .saturating_add(T::DbWeight::get().writes(1_u64))
315 }
316 /// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
317 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
318 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
319 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
320 fn migrate() -> Weight {
321 // Proof Size summary in bytes:
322 // Measured: `29`
323 // Estimated: `3494`
324 // Minimum execution time: 9_449_000 picoseconds.
325 Weight::from_parts(9_800_000, 3494)
326 .saturating_add(T::DbWeight::get().reads(2_u64))
327 .saturating_add(T::DbWeight::get().writes(2_u64))
328 }
329 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
330 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
331 fn on_runtime_upgrade_noop() -> Weight {
332 // Proof Size summary in bytes:
333 // Measured: `6`
334 // Estimated: `3471`
335 // Minimum execution time: 3_272_000 picoseconds.
336 Weight::from_parts(3_396_000, 3471)
337 .saturating_add(T::DbWeight::get().reads(1_u64))
338 }
339 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
340 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
341 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
342 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
343 fn on_runtime_upgrade_in_progress() -> Weight {
344 // Proof Size summary in bytes:
345 // Measured: `30`
346 // Estimated: `3495`
347 // Minimum execution time: 4_972_000 picoseconds.
348 Weight::from_parts(5_130_000, 3495)
349 .saturating_add(T::DbWeight::get().reads(2_u64))
350 }
351 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
352 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
353 /// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
354 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
355 fn on_runtime_upgrade() -> Weight {
356 // Proof Size summary in bytes:
357 // Measured: `6`
358 // Estimated: `3471`
359 // Minimum execution time: 4_452_000 picoseconds.
360 Weight::from_parts(4_651_000, 3471)
361 .saturating_add(T::DbWeight::get().reads(2_u64))
362 .saturating_add(T::DbWeight::get().writes(1_u64))
363 }
364 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
365 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
366 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
367 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
368 /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
369 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
370 /// Storage: `Contracts::PristineCode` (r:1 w:0)
371 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
372 /// Storage: `Timestamp::Now` (r:1 w:0)
373 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
374 /// Storage: `System::Account` (r:1 w:1)
375 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
376 /// The range of component `c` is `[0, 125952]`.
377 fn call_with_code_per_byte(c: u32, ) -> Weight {
378 // Proof Size summary in bytes:
379 // Measured: `460 + c * (1 ±0)`
380 // Estimated: `3925 + c * (1 ±0)`
381 // Minimum execution time: 257_238_000 picoseconds.
382 Weight::from_parts(270_073_069, 3925)
383 // Standard Error: 8
384 .saturating_add(Weight::from_parts(1_175, 0).saturating_mul(c.into()))
385 .saturating_add(T::DbWeight::get().reads(6_u64))
386 .saturating_add(T::DbWeight::get().writes(2_u64))
387 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
388 }
389 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
390 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
391 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
392 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
393 /// Storage: `Balances::Holds` (r:2 w:2)
394 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
395 /// Storage: `Contracts::Nonce` (r:1 w:1)
396 /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
397 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
398 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
399 /// Storage: `Timestamp::Now` (r:1 w:0)
400 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
401 /// Storage: `System::Account` (r:1 w:1)
402 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
403 /// Storage: `Contracts::PristineCode` (r:0 w:1)
404 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
405 /// The range of component `c` is `[0, 125952]`.
406 /// The range of component `i` is `[0, 1048576]`.
407 /// The range of component `s` is `[0, 1048576]`.
408 fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight {
409 // Proof Size summary in bytes:
410 // Measured: `0`
411 // Estimated: `5940`
412 // Minimum execution time: 11_691_973_000 picoseconds.
413 Weight::from_parts(11_859_232_000, 5940)
414 // Standard Error: 760
415 .saturating_add(Weight::from_parts(8_842, 0).saturating_mul(c.into()))
416 // Standard Error: 91
417 .saturating_add(Weight::from_parts(1_397, 0).saturating_mul(i.into()))
418 // Standard Error: 91
419 .saturating_add(Weight::from_parts(1_561, 0).saturating_mul(s.into()))
420 .saturating_add(T::DbWeight::get().reads(8_u64))
421 .saturating_add(T::DbWeight::get().writes(7_u64))
422 }
423 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
424 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
425 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
426 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
427 /// Storage: `Contracts::PristineCode` (r:1 w:0)
428 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
429 /// Storage: `Contracts::Nonce` (r:1 w:1)
430 /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
431 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
432 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
433 /// Storage: `Timestamp::Now` (r:1 w:0)
434 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
435 /// Storage: `System::Account` (r:1 w:1)
436 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
437 /// Storage: `Balances::Holds` (r:1 w:1)
438 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
439 /// The range of component `i` is `[0, 1048576]`.
440 /// The range of component `s` is `[0, 1048576]`.
441 fn instantiate(i: u32, s: u32, ) -> Weight {
442 // Proof Size summary in bytes:
443 // Measured: `205`
444 // Estimated: `3670`
445 // Minimum execution time: 5_930_123_000 picoseconds.
446 Weight::from_parts(5_938_894_000, 3670)
447 // Standard Error: 72
448 .saturating_add(Weight::from_parts(1_660, 0).saturating_mul(i.into()))
449 // Standard Error: 72
450 .saturating_add(Weight::from_parts(1_841, 0).saturating_mul(s.into()))
451 .saturating_add(T::DbWeight::get().reads(8_u64))
452 .saturating_add(T::DbWeight::get().writes(5_u64))
453 }
454 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
455 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
456 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
457 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
458 /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
459 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
460 /// Storage: `Contracts::PristineCode` (r:1 w:0)
461 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
462 /// Storage: `Timestamp::Now` (r:1 w:0)
463 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
464 /// Storage: `System::Account` (r:1 w:1)
465 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
466 fn call() -> Weight {
467 // Proof Size summary in bytes:
468 // Measured: `472`
469 // Estimated: `3937`
470 // Minimum execution time: 171_677_000 picoseconds.
471 Weight::from_parts(176_340_000, 3937)
472 .saturating_add(T::DbWeight::get().reads(6_u64))
473 .saturating_add(T::DbWeight::get().writes(2_u64))
474 }
475 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
476 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
477 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
478 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
479 /// Storage: `Balances::Holds` (r:1 w:1)
480 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
481 /// Storage: `Contracts::PristineCode` (r:0 w:1)
482 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
483 /// The range of component `c` is `[0, 125952]`.
484 fn upload_code_determinism_enforced(c: u32, ) -> Weight {
485 // Proof Size summary in bytes:
486 // Measured: `0`
487 // Estimated: `3465`
488 // Minimum execution time: 233_222_000 picoseconds.
489 Weight::from_parts(256_594_116, 3465)
490 // Standard Error: 92
491 .saturating_add(Weight::from_parts(48_635, 0).saturating_mul(c.into()))
492 .saturating_add(T::DbWeight::get().reads(3_u64))
493 .saturating_add(T::DbWeight::get().writes(3_u64))
494 }
495 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
496 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
497 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
498 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
499 /// Storage: `Balances::Holds` (r:1 w:1)
500 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
501 /// Storage: `Contracts::PristineCode` (r:0 w:1)
502 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
503 /// The range of component `c` is `[0, 125952]`.
504 fn upload_code_determinism_relaxed(c: u32, ) -> Weight {
505 // Proof Size summary in bytes:
506 // Measured: `0`
507 // Estimated: `3465`
508 // Minimum execution time: 244_888_000 picoseconds.
509 Weight::from_parts(279_103_331, 3465)
510 // Standard Error: 76
511 .saturating_add(Weight::from_parts(48_450, 0).saturating_mul(c.into()))
512 .saturating_add(T::DbWeight::get().reads(3_u64))
513 .saturating_add(T::DbWeight::get().writes(3_u64))
514 }
515 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
516 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
517 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
518 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
519 /// Storage: `Balances::Holds` (r:1 w:1)
520 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
521 /// Storage: `Contracts::PristineCode` (r:0 w:1)
522 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
523 fn remove_code() -> Weight {
524 // Proof Size summary in bytes:
525 // Measured: `178`
526 // Estimated: `3643`
527 // Minimum execution time: 41_485_000 picoseconds.
528 Weight::from_parts(42_404_000, 3643)
529 .saturating_add(T::DbWeight::get().reads(3_u64))
530 .saturating_add(T::DbWeight::get().writes(3_u64))
531 }
532 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
533 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
534 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
535 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
536 /// Storage: `Contracts::CodeInfoOf` (r:2 w:2)
537 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
538 fn set_code() -> Weight {
539 // Proof Size summary in bytes:
540 // Measured: `415`
541 // Estimated: `6355`
542 // Minimum execution time: 25_614_000 picoseconds.
543 Weight::from_parts(26_843_000, 6355)
544 .saturating_add(T::DbWeight::get().reads(4_u64))
545 .saturating_add(T::DbWeight::get().writes(3_u64))
546 }
547 /// The range of component `r` is `[0, 1600]`.
548 fn noop_host_fn(r: u32, ) -> Weight {
549 // Proof Size summary in bytes:
550 // Measured: `0`
551 // Estimated: `0`
552 // Minimum execution time: 8_437_000 picoseconds.
553 Weight::from_parts(9_257_820, 0)
554 // Standard Error: 134
555 .saturating_add(Weight::from_parts(52_863, 0).saturating_mul(r.into()))
556 }
557 fn seal_caller() -> Weight {
558 // Proof Size summary in bytes:
559 // Measured: `0`
560 // Estimated: `0`
561 // Minimum execution time: 687_000 picoseconds.
562 Weight::from_parts(756_000, 0)
563 }
564 /// Storage: `Contracts::ContractInfoOf` (r:1 w:0)
565 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
566 fn seal_is_contract() -> Weight {
567 // Proof Size summary in bytes:
568 // Measured: `217`
569 // Estimated: `3682`
570 // Minimum execution time: 7_928_000 picoseconds.
571 Weight::from_parts(8_224_000, 3682)
572 .saturating_add(T::DbWeight::get().reads(1_u64))
573 }
574 /// Storage: `Contracts::ContractInfoOf` (r:1 w:0)
575 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
576 fn seal_code_hash() -> Weight {
577 // Proof Size summary in bytes:
578 // Measured: `310`
579 // Estimated: `3775`
580 // Minimum execution time: 9_508_000 picoseconds.
581 Weight::from_parts(9_994_000, 3775)
582 .saturating_add(T::DbWeight::get().reads(1_u64))
583 }
584 fn seal_own_code_hash() -> Weight {
585 // Proof Size summary in bytes:
586 // Measured: `0`
587 // Estimated: `0`
588 // Minimum execution time: 815_000 picoseconds.
589 Weight::from_parts(920_000, 0)
590 }
591 fn seal_caller_is_origin() -> Weight {
592 // Proof Size summary in bytes:
593 // Measured: `0`
594 // Estimated: `0`
595 // Minimum execution time: 370_000 picoseconds.
596 Weight::from_parts(393_000, 0)
597 }
598 fn seal_caller_is_root() -> Weight {
599 // Proof Size summary in bytes:
600 // Measured: `0`
601 // Estimated: `0`
602 // Minimum execution time: 295_000 picoseconds.
603 Weight::from_parts(329_000, 0)
604 }
605 fn seal_address() -> Weight {
606 // Proof Size summary in bytes:
607 // Measured: `0`
608 // Estimated: `0`
609 // Minimum execution time: 642_000 picoseconds.
610 Weight::from_parts(692_000, 0)
611 }
612 fn seal_gas_left() -> Weight {
613 // Proof Size summary in bytes:
614 // Measured: `0`
615 // Estimated: `0`
616 // Minimum execution time: 779_000 picoseconds.
617 Weight::from_parts(829_000, 0)
618 }
619 fn seal_balance() -> Weight {
620 // Proof Size summary in bytes:
621 // Measured: `101`
622 // Estimated: `0`
623 // Minimum execution time: 4_582_000 picoseconds.
624 Weight::from_parts(4_896_000, 0)
625 }
626 fn seal_value_transferred() -> Weight {
627 // Proof Size summary in bytes:
628 // Measured: `0`
629 // Estimated: `0`
630 // Minimum execution time: 723_000 picoseconds.
631 Weight::from_parts(773_000, 0)
632 }
633 fn seal_minimum_balance() -> Weight {
634 // Proof Size summary in bytes:
635 // Measured: `0`
636 // Estimated: `0`
637 // Minimum execution time: 718_000 picoseconds.
638 Weight::from_parts(751_000, 0)
639 }
640 fn seal_block_number() -> Weight {
641 // Proof Size summary in bytes:
642 // Measured: `0`
643 // Estimated: `0`
644 // Minimum execution time: 679_000 picoseconds.
645 Weight::from_parts(728_000, 0)
646 }
647 fn seal_now() -> Weight {
648 // Proof Size summary in bytes:
649 // Measured: `0`
650 // Estimated: `0`
651 // Minimum execution time: 723_000 picoseconds.
652 Weight::from_parts(774_000, 0)
653 }
654 fn seal_weight_to_fee() -> Weight {
655 // Proof Size summary in bytes:
656 // Measured: `0`
657 // Estimated: `0`
658 // Minimum execution time: 1_577_000 picoseconds.
659 Weight::from_parts(1_709_000, 0)
660 }
661 /// The range of component `n` is `[0, 1048572]`.
662 fn seal_input(n: u32, ) -> Weight {
663 // Proof Size summary in bytes:
664 // Measured: `0`
665 // Estimated: `0`
666 // Minimum execution time: 566_000 picoseconds.
667 Weight::from_parts(430_440, 0)
668 // Standard Error: 0
669 .saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into()))
670 }
671 /// The range of component `n` is `[0, 1048572]`.
672 fn seal_return(n: u32, ) -> Weight {
673 // Proof Size summary in bytes:
674 // Measured: `0`
675 // Estimated: `0`
676 // Minimum execution time: 337_000 picoseconds.
677 Weight::from_parts(389_000, 0)
678 // Standard Error: 0
679 .saturating_add(Weight::from_parts(203, 0).saturating_mul(n.into()))
680 }
681 /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1)
682 /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
683 /// Storage: `Contracts::CodeInfoOf` (r:33 w:33)
684 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
685 /// Storage: `Contracts::DeletionQueue` (r:0 w:1)
686 /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
687 /// The range of component `n` is `[0, 32]`.
688 fn seal_terminate(n: u32, ) -> Weight {
689 // Proof Size summary in bytes:
690 // Measured: `182 + n * (78 ±0)`
691 // Estimated: `3647 + n * (2553 ±0)`
692 // Minimum execution time: 15_302_000 picoseconds.
693 Weight::from_parts(15_426_466, 3647)
694 // Standard Error: 8_441
695 .saturating_add(Weight::from_parts(4_507_899, 0).saturating_mul(n.into()))
696 .saturating_add(T::DbWeight::get().reads(2_u64))
697 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
698 .saturating_add(T::DbWeight::get().writes(3_u64))
699 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
700 .saturating_add(Weight::from_parts(0, 2553).saturating_mul(n.into()))
701 }
702 /// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0)
703 /// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`)
704 fn seal_random() -> Weight {
705 // Proof Size summary in bytes:
706 // Measured: `0`
707 // Estimated: `1485`
708 // Minimum execution time: 2_304_000 picoseconds.
709 Weight::from_parts(2_359_000, 1485)
710 .saturating_add(T::DbWeight::get().reads(1_u64))
711 }
712 /// Storage: `System::EventTopics` (r:4 w:4)
713 /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
714 /// The range of component `t` is `[0, 4]`.
715 /// The range of component `n` is `[0, 16384]`.
716 fn seal_deposit_event(t: u32, n: u32, ) -> Weight {
717 // Proof Size summary in bytes:
718 // Measured: `0`
719 // Estimated: `990 + t * (2475 ±0)`
720 // Minimum execution time: 3_963_000 picoseconds.
721 Weight::from_parts(4_143_031, 990)
722 // Standard Error: 6_527
723 .saturating_add(Weight::from_parts(2_186_206, 0).saturating_mul(t.into()))
724 // Standard Error: 1
725 .saturating_add(Weight::from_parts(25, 0).saturating_mul(n.into()))
726 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
727 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
728 .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into()))
729 }
730 /// The range of component `i` is `[0, 1048576]`.
731 fn seal_debug_message(i: u32, ) -> Weight {
732 // Proof Size summary in bytes:
733 // Measured: `0`
734 // Estimated: `0`
735 // Minimum execution time: 411_000 picoseconds.
736 Weight::from_parts(582_596, 0)
737 // Standard Error: 0
738 .saturating_add(Weight::from_parts(712, 0).saturating_mul(i.into()))
739 }
740 /// Storage: `Skipped::Metadata` (r:0 w:0)
741 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
742 fn get_storage_empty() -> Weight {
743 // Proof Size summary in bytes:
744 // Measured: `16522`
745 // Estimated: `16522`
746 // Minimum execution time: 12_684_000 picoseconds.
747 Weight::from_parts(13_116_000, 16522)
748 .saturating_add(T::DbWeight::get().reads(1_u64))
749 }
750 /// Storage: `Skipped::Metadata` (r:0 w:0)
751 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
752 fn get_storage_full() -> Weight {
753 // Proof Size summary in bytes:
754 // Measured: `26532`
755 // Estimated: `26532`
756 // Minimum execution time: 53_633_000 picoseconds.
757 Weight::from_parts(55_592_000, 26532)
758 .saturating_add(T::DbWeight::get().reads(1_u64))
759 }
760 /// Storage: `Skipped::Metadata` (r:0 w:0)
761 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
762 fn set_storage_empty() -> Weight {
763 // Proof Size summary in bytes:
764 // Measured: `16522`
765 // Estimated: `16522`
766 // Minimum execution time: 14_319_000 picoseconds.
767 Weight::from_parts(14_725_000, 16522)
768 .saturating_add(T::DbWeight::get().reads(1_u64))
769 .saturating_add(T::DbWeight::get().writes(1_u64))
770 }
771 /// Storage: `Skipped::Metadata` (r:0 w:0)
772 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
773 fn set_storage_full() -> Weight {
774 // Proof Size summary in bytes:
775 // Measured: `26532`
776 // Estimated: `26532`
777 // Minimum execution time: 56_431_000 picoseconds.
778 Weight::from_parts(57_931_000, 26532)
779 .saturating_add(T::DbWeight::get().reads(1_u64))
780 .saturating_add(T::DbWeight::get().writes(1_u64))
781 }
782 /// Storage: `Skipped::Metadata` (r:0 w:0)
783 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
784 /// The range of component `n` is `[0, 16384]`.
785 /// The range of component `o` is `[0, 16384]`.
786 fn seal_set_storage(n: u32, o: u32, ) -> Weight {
787 // Proof Size summary in bytes:
788 // Measured: `154 + o * (1 ±0)`
789 // Estimated: `153 + o * (1 ±0)`
790 // Minimum execution time: 9_356_000 picoseconds.
791 Weight::from_parts(8_075_772, 153)
792 // Standard Error: 2
793 .saturating_add(Weight::from_parts(276, 0).saturating_mul(n.into()))
794 // Standard Error: 2
795 .saturating_add(Weight::from_parts(114, 0).saturating_mul(o.into()))
796 .saturating_add(T::DbWeight::get().reads(1_u64))
797 .saturating_add(T::DbWeight::get().writes(1_u64))
798 .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into()))
799 }
800 /// Storage: `Skipped::Metadata` (r:0 w:0)
801 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
802 /// The range of component `n` is `[0, 16384]`.
803 fn seal_clear_storage(n: u32, ) -> Weight {
804 // Proof Size summary in bytes:
805 // Measured: `152 + n * (1 ±0)`
806 // Estimated: `152 + n * (1 ±0)`
807 // Minimum execution time: 6_210_000 picoseconds.
808 Weight::from_parts(7_608_498, 152)
809 // Standard Error: 2
810 .saturating_add(Weight::from_parts(137, 0).saturating_mul(n.into()))
811 .saturating_add(T::DbWeight::get().reads(1_u64))
812 .saturating_add(T::DbWeight::get().writes(1_u64))
813 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
814 }
815 /// Storage: `Skipped::Metadata` (r:0 w:0)
816 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
817 /// The range of component `n` is `[0, 16384]`.
818 fn seal_get_storage(n: u32, ) -> Weight {
819 // Proof Size summary in bytes:
820 // Measured: `152 + n * (1 ±0)`
821 // Estimated: `152 + n * (1 ±0)`
822 // Minimum execution time: 5_676_000 picoseconds.
823 Weight::from_parts(7_581_087, 152)
824 // Standard Error: 2
825 .saturating_add(Weight::from_parts(557, 0).saturating_mul(n.into()))
826 .saturating_add(T::DbWeight::get().reads(1_u64))
827 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
828 }
829 /// Storage: `Skipped::Metadata` (r:0 w:0)
830 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
831 /// The range of component `n` is `[0, 16384]`.
832 fn seal_contains_storage(n: u32, ) -> Weight {
833 // Proof Size summary in bytes:
834 // Measured: `152 + n * (1 ±0)`
835 // Estimated: `152 + n * (1 ±0)`
836 // Minimum execution time: 5_286_000 picoseconds.
837 Weight::from_parts(6_872_699, 152)
838 // Standard Error: 1
839 .saturating_add(Weight::from_parts(119, 0).saturating_mul(n.into()))
840 .saturating_add(T::DbWeight::get().reads(1_u64))
841 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
842 }
843 /// Storage: `Skipped::Metadata` (r:0 w:0)
844 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
845 /// The range of component `n` is `[0, 16384]`.
846 fn seal_take_storage(n: u32, ) -> Weight {
847 // Proof Size summary in bytes:
848 // Measured: `152 + n * (1 ±0)`
849 // Estimated: `152 + n * (1 ±0)`
850 // Minimum execution time: 6_353_000 picoseconds.
851 Weight::from_parts(8_139_270, 152)
852 // Standard Error: 5
853 .saturating_add(Weight::from_parts(590, 0).saturating_mul(n.into()))
854 .saturating_add(T::DbWeight::get().reads(1_u64))
855 .saturating_add(T::DbWeight::get().writes(1_u64))
856 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
857 }
858 fn set_transient_storage_empty() -> Weight {
859 // Proof Size summary in bytes:
860 // Measured: `0`
861 // Estimated: `0`
862 // Minimum execution time: 1_487_000 picoseconds.
863 Weight::from_parts(1_610_000, 0)
864 }
865 fn set_transient_storage_full() -> Weight {
866 // Proof Size summary in bytes:
867 // Measured: `0`
868 // Estimated: `0`
869 // Minimum execution time: 2_549_000 picoseconds.
870 Weight::from_parts(2_699_000, 0)
871 }
872 fn get_transient_storage_empty() -> Weight {
873 // Proof Size summary in bytes:
874 // Measured: `0`
875 // Estimated: `0`
876 // Minimum execution time: 3_279_000 picoseconds.
877 Weight::from_parts(3_339_000, 0)
878 }
879 fn get_transient_storage_full() -> Weight {
880 // Proof Size summary in bytes:
881 // Measured: `0`
882 // Estimated: `0`
883 // Minimum execution time: 4_085_000 picoseconds.
884 Weight::from_parts(4_332_000, 0)
885 }
886 fn rollback_transient_storage() -> Weight {
887 // Proof Size summary in bytes:
888 // Measured: `0`
889 // Estimated: `0`
890 // Minimum execution time: 1_522_000 picoseconds.
891 Weight::from_parts(1_723_000, 0)
892 }
893 /// The range of component `n` is `[0, 16384]`.
894 /// The range of component `o` is `[0, 16384]`.
895 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight {
896 // Proof Size summary in bytes:
897 // Measured: `0`
898 // Estimated: `0`
899 // Minimum execution time: 5_583_000 picoseconds.
900 Weight::from_parts(2_628_557, 0)
901 // Standard Error: 0
902 .saturating_add(Weight::from_parts(204, 0).saturating_mul(n.into()))
903 // Standard Error: 0
904 .saturating_add(Weight::from_parts(222, 0).saturating_mul(o.into()))
905 }
906 /// The range of component `n` is `[0, 16384]`.
907 fn seal_clear_transient_storage(n: u32, ) -> Weight {
908 // Proof Size summary in bytes:
909 // Measured: `0`
910 // Estimated: `0`
911 // Minimum execution time: 2_188_000 picoseconds.
912 Weight::from_parts(2_515_424, 0)
913 // Standard Error: 0
914 .saturating_add(Weight::from_parts(227, 0).saturating_mul(n.into()))
915 }
916 /// The range of component `n` is `[0, 16384]`.
917 fn seal_get_transient_storage(n: u32, ) -> Weight {
918 // Proof Size summary in bytes:
919 // Measured: `0`
920 // Estimated: `0`
921 // Minimum execution time: 1_890_000 picoseconds.
922 Weight::from_parts(2_182_387, 0)
923 // Standard Error: 0
924 .saturating_add(Weight::from_parts(226, 0).saturating_mul(n.into()))
925 }
926 /// The range of component `n` is `[0, 16384]`.
927 fn seal_contains_transient_storage(n: u32, ) -> Weight {
928 // Proof Size summary in bytes:
929 // Measured: `0`
930 // Estimated: `0`
931 // Minimum execution time: 1_738_000 picoseconds.
932 Weight::from_parts(1_974_584, 0)
933 // Standard Error: 0
934 .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into()))
935 }
936 /// The range of component `n` is `[0, 16384]`.
937 fn seal_take_transient_storage(n: u32, ) -> Weight {
938 // Proof Size summary in bytes:
939 // Measured: `0`
940 // Estimated: `0`
941 // Minimum execution time: 7_913_000 picoseconds.
942 Weight::from_parts(8_133_541, 0)
943 // Standard Error: 2
944 .saturating_add(Weight::from_parts(3, 0).saturating_mul(n.into()))
945 }
946 fn seal_transfer() -> Weight {
947 // Proof Size summary in bytes:
948 // Measured: `101`
949 // Estimated: `0`
950 // Minimum execution time: 8_943_000 picoseconds.
951 Weight::from_parts(9_230_000, 0)
952 }
953 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
954 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
955 /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
956 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
957 /// Storage: `Contracts::PristineCode` (r:1 w:0)
958 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
959 /// Storage: `System::Account` (r:1 w:1)
960 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
961 /// The range of component `t` is `[0, 1]`.
962 /// The range of component `i` is `[0, 1048576]`.
963 fn seal_call(t: u32, i: u32, ) -> Weight {
964 // Proof Size summary in bytes:
965 // Measured: `459 + t * (242 ±0)`
966 // Estimated: `3924 + t * (2083 ±0)`
967 // Minimum execution time: 132_736_000 picoseconds.
968 Weight::from_parts(129_310_380, 3924)
969 // Standard Error: 270_788
970 .saturating_add(Weight::from_parts(45_537_319, 0).saturating_mul(t.into()))
971 // Standard Error: 0
972 .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into()))
973 .saturating_add(T::DbWeight::get().reads(3_u64))
974 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
975 .saturating_add(T::DbWeight::get().writes(1_u64))
976 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
977 .saturating_add(Weight::from_parts(0, 2083).saturating_mul(t.into()))
978 }
979 /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
980 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
981 /// Storage: `Contracts::PristineCode` (r:1 w:0)
982 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
983 fn seal_delegate_call() -> Weight {
984 // Proof Size summary in bytes:
985 // Measured: `269`
986 // Estimated: `3734`
987 // Minimum execution time: 120_046_000 picoseconds.
988 Weight::from_parts(121_748_000, 3734)
989 .saturating_add(T::DbWeight::get().reads(2_u64))
990 }
991 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
992 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
993 /// Storage: `Contracts::PristineCode` (r:1 w:0)
994 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
995 /// Storage: `Contracts::Nonce` (r:1 w:0)
996 /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
997 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
998 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
999 /// Storage: `System::Account` (r:1 w:1)
1000 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1001 /// The range of component `i` is `[0, 983040]`.
1002 /// The range of component `s` is `[0, 983040]`.
1003 fn seal_instantiate(i: u32, s: u32, ) -> Weight {
1004 // Proof Size summary in bytes:
1005 // Measured: `463`
1006 // Estimated: `3937`
1007 // Minimum execution time: 1_877_748_000 picoseconds.
1008 Weight::from_parts(156_912_679, 3937)
1009 // Standard Error: 19
1010 .saturating_add(Weight::from_parts(1_663, 0).saturating_mul(i.into()))
1011 // Standard Error: 19
1012 .saturating_add(Weight::from_parts(2_033, 0).saturating_mul(s.into()))
1013 .saturating_add(T::DbWeight::get().reads(5_u64))
1014 .saturating_add(T::DbWeight::get().writes(3_u64))
1015 }
1016 /// The range of component `n` is `[0, 1048576]`.
1017 fn seal_hash_sha2_256(n: u32, ) -> Weight {
1018 // Proof Size summary in bytes:
1019 // Measured: `0`
1020 // Estimated: `0`
1021 // Minimum execution time: 940_000 picoseconds.
1022 Weight::from_parts(8_848_107, 0)
1023 // Standard Error: 1
1024 .saturating_add(Weight::from_parts(1_322, 0).saturating_mul(n.into()))
1025 }
1026 /// The range of component `n` is `[0, 1048576]`.
1027 fn seal_hash_keccak_256(n: u32, ) -> Weight {
1028 // Proof Size summary in bytes:
1029 // Measured: `0`
1030 // Estimated: `0`
1031 // Minimum execution time: 1_308_000 picoseconds.
1032 Weight::from_parts(13_432_971, 0)
1033 // Standard Error: 1
1034 .saturating_add(Weight::from_parts(3_515, 0).saturating_mul(n.into()))
1035 }
1036 /// The range of component `n` is `[0, 1048576]`.
1037 fn seal_hash_blake2_256(n: u32, ) -> Weight {
1038 // Proof Size summary in bytes:
1039 // Measured: `0`
1040 // Estimated: `0`
1041 // Minimum execution time: 839_000 picoseconds.
1042 Weight::from_parts(4_868_192, 0)
1043 // Standard Error: 1
1044 .saturating_add(Weight::from_parts(1_458, 0).saturating_mul(n.into()))
1045 }
1046 /// The range of component `n` is `[0, 1048576]`.
1047 fn seal_hash_blake2_128(n: u32, ) -> Weight {
1048 // Proof Size summary in bytes:
1049 // Measured: `0`
1050 // Estimated: `0`
1051 // Minimum execution time: 790_000 picoseconds.
1052 Weight::from_parts(814_000, 0)
1053 // Standard Error: 2
1054 .saturating_add(Weight::from_parts(1_495, 0).saturating_mul(n.into()))
1055 }
1056 /// The range of component `n` is `[0, 125697]`.
1057 fn seal_sr25519_verify(n: u32, ) -> Weight {
1058 // Proof Size summary in bytes:
1059 // Measured: `0`
1060 // Estimated: `0`
1061 // Minimum execution time: 42_811_000 picoseconds.
1062 Weight::from_parts(41_107_222, 0)
1063 // Standard Error: 9
1064 .saturating_add(Weight::from_parts(4_949, 0).saturating_mul(n.into()))
1065 }
1066 fn seal_ecdsa_recover() -> Weight {
1067 // Proof Size summary in bytes:
1068 // Measured: `0`
1069 // Estimated: `0`
1070 // Minimum execution time: 47_723_000 picoseconds.
1071 Weight::from_parts(48_486_000, 0)
1072 }
1073 fn seal_ecdsa_to_eth_address() -> Weight {
1074 // Proof Size summary in bytes:
1075 // Measured: `0`
1076 // Estimated: `0`
1077 // Minimum execution time: 12_903_000 picoseconds.
1078 Weight::from_parts(13_026_000, 0)
1079 }
1080 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
1081 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1082 /// Storage: `Contracts::PristineCode` (r:1 w:0)
1083 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1084 fn seal_set_code_hash() -> Weight {
1085 // Proof Size summary in bytes:
1086 // Measured: `269`
1087 // Estimated: `3734`
1088 // Minimum execution time: 19_643_000 picoseconds.
1089 Weight::from_parts(20_330_000, 3734)
1090 .saturating_add(T::DbWeight::get().reads(2_u64))
1091 .saturating_add(T::DbWeight::get().writes(1_u64))
1092 }
1093 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
1094 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1095 fn lock_delegate_dependency() -> Weight {
1096 // Proof Size summary in bytes:
1097 // Measured: `218`
1098 // Estimated: `3683`
1099 // Minimum execution time: 10_632_000 picoseconds.
1100 Weight::from_parts(11_052_000, 3683)
1101 .saturating_add(T::DbWeight::get().reads(1_u64))
1102 .saturating_add(T::DbWeight::get().writes(1_u64))
1103 }
1104 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
1105 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
1106 fn unlock_delegate_dependency() -> Weight {
1107 // Proof Size summary in bytes:
1108 // Measured: `218`
1109 // Estimated: `3558`
1110 // Minimum execution time: 9_383_000 picoseconds.
1111 Weight::from_parts(9_640_000, 3558)
1112 .saturating_add(T::DbWeight::get().reads(1_u64))
1113 .saturating_add(T::DbWeight::get().writes(1_u64))
1114 }
1115 fn seal_reentrance_count() -> Weight {
1116 // Proof Size summary in bytes:
1117 // Measured: `0`
1118 // Estimated: `0`
1119 // Minimum execution time: 391_000 picoseconds.
1120 Weight::from_parts(415_000, 0)
1121 }
1122 fn seal_account_reentrance_count() -> Weight {
1123 // Proof Size summary in bytes:
1124 // Measured: `0`
1125 // Estimated: `0`
1126 // Minimum execution time: 375_000 picoseconds.
1127 Weight::from_parts(397_000, 0)
1128 }
1129 /// Storage: `Contracts::Nonce` (r:1 w:0)
1130 /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1131 fn seal_instantiation_nonce() -> Weight {
1132 // Proof Size summary in bytes:
1133 // Measured: `82`
1134 // Estimated: `1567`
1135 // Minimum execution time: 2_883_000 picoseconds.
1136 Weight::from_parts(3_005_000, 1567)
1137 .saturating_add(T::DbWeight::get().reads(1_u64))
1138 }
1139 /// The range of component `r` is `[0, 5000]`.
1140 fn instr_i64_load_store(r: u32, ) -> Weight {
1141 // Proof Size summary in bytes:
1142 // Measured: `0`
1143 // Estimated: `0`
1144 // Minimum execution time: 947_000 picoseconds.
1145 Weight::from_parts(943_263, 0)
1146 // Standard Error: 11
1147 .saturating_add(Weight::from_parts(7_556, 0).saturating_mul(r.into()))
1148 }
1149}
1150
1151// For backwards compatibility and tests.
1152impl WeightInfo for () {
1153 /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:0)
1154 /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1155 fn on_process_deletion_queue_batch() -> Weight {
1156 // Proof Size summary in bytes:
1157 // Measured: `0`
1158 // Estimated: `1485`
1159 // Minimum execution time: 662_000 picoseconds.
1160 Weight::from_parts(715_000, 1485)
1161 .saturating_add(RocksDbWeight::get().reads(1_u64))
1162 }
1163 /// Storage: `Skipped::Metadata` (r:0 w:0)
1164 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1165 /// The range of component `k` is `[0, 1024]`.
1166 fn on_initialize_per_trie_key(k: u32, ) -> Weight {
1167 // Proof Size summary in bytes:
1168 // Measured: `224 + k * (69 ±0)`
1169 // Estimated: `216 + k * (70 ±0)`
1170 // Minimum execution time: 12_277_000 picoseconds.
1171 Weight::from_parts(12_597_000, 216)
1172 // Standard Error: 3_444
1173 .saturating_add(Weight::from_parts(1_357_086, 0).saturating_mul(k.into()))
1174 .saturating_add(RocksDbWeight::get().reads(2_u64))
1175 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into())))
1176 .saturating_add(RocksDbWeight::get().writes(2_u64))
1177 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
1178 .saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
1179 }
1180 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1)
1181 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1)
1182 /// The range of component `c` is `[0, 125952]`.
1183 fn v9_migration_step(c: u32, ) -> Weight {
1184 // Proof Size summary in bytes:
1185 // Measured: `49 + c * (1 ±0)`
1186 // Estimated: `5987 + c * (1 ±0)`
1187 // Minimum execution time: 5_876_000 picoseconds.
1188 Weight::from_parts(6_203_000, 5987)
1189 // Standard Error: 5
1190 .saturating_add(Weight::from_parts(1_860, 0).saturating_mul(c.into()))
1191 .saturating_add(RocksDbWeight::get().reads(2_u64))
1192 .saturating_add(RocksDbWeight::get().writes(1_u64))
1193 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
1194 }
1195 /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
1196 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1197 /// Storage: `System::Account` (r:1 w:0)
1198 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1199 fn v10_migration_step() -> Weight {
1200 // Proof Size summary in bytes:
1201 // Measured: `322`
1202 // Estimated: `6262`
1203 // Minimum execution time: 14_462_000 picoseconds.
1204 Weight::from_parts(15_233_000, 6262)
1205 .saturating_add(RocksDbWeight::get().reads(3_u64))
1206 .saturating_add(RocksDbWeight::get().writes(1_u64))
1207 }
1208 /// Storage: `Contracts::DeletionQueue` (r:1 w:1025)
1209 /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
1210 /// Storage: `Contracts::DeletionQueueCounter` (r:0 w:1)
1211 /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1212 /// The range of component `k` is `[0, 1024]`.
1213 fn v11_migration_step(k: u32, ) -> Weight {
1214 // Proof Size summary in bytes:
1215 // Measured: `9 + k * (1 ±0)`
1216 // Estimated: `3473 + k * (1 ±0)`
1217 // Minimum execution time: 2_288_000 picoseconds.
1218 Weight::from_parts(2_332_000, 3473)
1219 // Standard Error: 885
1220 .saturating_add(Weight::from_parts(1_101_283, 0).saturating_mul(k.into()))
1221 .saturating_add(RocksDbWeight::get().reads(1_u64))
1222 .saturating_add(RocksDbWeight::get().writes(2_u64))
1223 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
1224 .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into()))
1225 }
1226 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
1227 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
1228 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
1229 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
1230 /// Storage: `System::Account` (r:1 w:0)
1231 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1232 /// Storage: `Contracts::CodeInfoOf` (r:0 w:1)
1233 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1234 /// The range of component `c` is `[0, 125952]`.
1235 fn v12_migration_step(c: u32, ) -> Weight {
1236 // Proof Size summary in bytes:
1237 // Measured: `188 + c * (1 ±0)`
1238 // Estimated: `6126 + c * (1 ±0)`
1239 // Minimum execution time: 15_169_000 picoseconds.
1240 Weight::from_parts(5_930_836, 6126)
1241 // Standard Error: 6
1242 .saturating_add(Weight::from_parts(818, 0).saturating_mul(c.into()))
1243 .saturating_add(RocksDbWeight::get().reads(4_u64))
1244 .saturating_add(RocksDbWeight::get().writes(2_u64))
1245 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
1246 }
1247 /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
1248 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1249 fn v13_migration_step() -> Weight {
1250 // Proof Size summary in bytes:
1251 // Measured: `303`
1252 // Estimated: `6243`
1253 // Minimum execution time: 11_213_000 picoseconds.
1254 Weight::from_parts(11_459_000, 6243)
1255 .saturating_add(RocksDbWeight::get().reads(2_u64))
1256 .saturating_add(RocksDbWeight::get().writes(1_u64))
1257 }
1258 /// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
1259 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1260 /// Storage: `System::Account` (r:1 w:1)
1261 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1262 /// Storage: `Balances::Holds` (r:1 w:0)
1263 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1264 fn v14_migration_step() -> Weight {
1265 // Proof Size summary in bytes:
1266 // Measured: `139`
1267 // Estimated: `6079`
1268 // Minimum execution time: 43_708_000 picoseconds.
1269 Weight::from_parts(44_426_000, 6079)
1270 .saturating_add(RocksDbWeight::get().reads(4_u64))
1271 .saturating_add(RocksDbWeight::get().writes(1_u64))
1272 }
1273 /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
1274 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1275 /// Storage: `System::Account` (r:2 w:1)
1276 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1277 fn v15_migration_step() -> Weight {
1278 // Proof Size summary in bytes:
1279 // Measured: `355`
1280 // Estimated: `6295`
1281 // Minimum execution time: 38_695_000 picoseconds.
1282 Weight::from_parts(39_802_000, 6295)
1283 .saturating_add(RocksDbWeight::get().reads(4_u64))
1284 .saturating_add(RocksDbWeight::get().writes(2_u64))
1285 }
1286 /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
1287 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1288 fn v16_migration_step() -> Weight {
1289 // Proof Size summary in bytes:
1290 // Measured: `272`
1291 // Estimated: `6212`
1292 // Minimum execution time: 10_591_000 picoseconds.
1293 Weight::from_parts(11_053_000, 6212)
1294 .saturating_add(RocksDbWeight::get().reads(2_u64))
1295 .saturating_add(RocksDbWeight::get().writes(1_u64))
1296 }
1297 /// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
1298 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1299 fn migration_noop() -> Weight {
1300 // Proof Size summary in bytes:
1301 // Measured: `6`
1302 // Estimated: `1491`
1303 // Minimum execution time: 1_920_000 picoseconds.
1304 Weight::from_parts(2_054_000, 1491)
1305 .saturating_add(RocksDbWeight::get().reads(1_u64))
1306 .saturating_add(RocksDbWeight::get().writes(1_u64))
1307 }
1308 /// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
1309 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1310 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
1311 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
1312 fn migrate() -> Weight {
1313 // Proof Size summary in bytes:
1314 // Measured: `29`
1315 // Estimated: `3494`
1316 // Minimum execution time: 9_449_000 picoseconds.
1317 Weight::from_parts(9_800_000, 3494)
1318 .saturating_add(RocksDbWeight::get().reads(2_u64))
1319 .saturating_add(RocksDbWeight::get().writes(2_u64))
1320 }
1321 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
1322 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
1323 fn on_runtime_upgrade_noop() -> Weight {
1324 // Proof Size summary in bytes:
1325 // Measured: `6`
1326 // Estimated: `3471`
1327 // Minimum execution time: 3_272_000 picoseconds.
1328 Weight::from_parts(3_396_000, 3471)
1329 .saturating_add(RocksDbWeight::get().reads(1_u64))
1330 }
1331 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
1332 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
1333 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
1334 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1335 fn on_runtime_upgrade_in_progress() -> Weight {
1336 // Proof Size summary in bytes:
1337 // Measured: `30`
1338 // Estimated: `3495`
1339 // Minimum execution time: 4_972_000 picoseconds.
1340 Weight::from_parts(5_130_000, 3495)
1341 .saturating_add(RocksDbWeight::get().reads(2_u64))
1342 }
1343 /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
1344 /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
1345 /// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
1346 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1347 fn on_runtime_upgrade() -> Weight {
1348 // Proof Size summary in bytes:
1349 // Measured: `6`
1350 // Estimated: `3471`
1351 // Minimum execution time: 4_452_000 picoseconds.
1352 Weight::from_parts(4_651_000, 3471)
1353 .saturating_add(RocksDbWeight::get().reads(2_u64))
1354 .saturating_add(RocksDbWeight::get().writes(1_u64))
1355 }
1356 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
1357 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1358 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
1359 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1360 /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
1361 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1362 /// Storage: `Contracts::PristineCode` (r:1 w:0)
1363 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1364 /// Storage: `Timestamp::Now` (r:1 w:0)
1365 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1366 /// Storage: `System::Account` (r:1 w:1)
1367 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1368 /// The range of component `c` is `[0, 125952]`.
1369 fn call_with_code_per_byte(c: u32, ) -> Weight {
1370 // Proof Size summary in bytes:
1371 // Measured: `460 + c * (1 ±0)`
1372 // Estimated: `3925 + c * (1 ±0)`
1373 // Minimum execution time: 257_238_000 picoseconds.
1374 Weight::from_parts(270_073_069, 3925)
1375 // Standard Error: 8
1376 .saturating_add(Weight::from_parts(1_175, 0).saturating_mul(c.into()))
1377 .saturating_add(RocksDbWeight::get().reads(6_u64))
1378 .saturating_add(RocksDbWeight::get().writes(2_u64))
1379 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
1380 }
1381 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
1382 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1383 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
1384 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1385 /// Storage: `Balances::Holds` (r:2 w:2)
1386 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1387 /// Storage: `Contracts::Nonce` (r:1 w:1)
1388 /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1389 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
1390 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1391 /// Storage: `Timestamp::Now` (r:1 w:0)
1392 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1393 /// Storage: `System::Account` (r:1 w:1)
1394 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1395 /// Storage: `Contracts::PristineCode` (r:0 w:1)
1396 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1397 /// The range of component `c` is `[0, 125952]`.
1398 /// The range of component `i` is `[0, 1048576]`.
1399 /// The range of component `s` is `[0, 1048576]`.
1400 fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight {
1401 // Proof Size summary in bytes:
1402 // Measured: `0`
1403 // Estimated: `5940`
1404 // Minimum execution time: 11_691_973_000 picoseconds.
1405 Weight::from_parts(11_859_232_000, 5940)
1406 // Standard Error: 760
1407 .saturating_add(Weight::from_parts(8_842, 0).saturating_mul(c.into()))
1408 // Standard Error: 91
1409 .saturating_add(Weight::from_parts(1_397, 0).saturating_mul(i.into()))
1410 // Standard Error: 91
1411 .saturating_add(Weight::from_parts(1_561, 0).saturating_mul(s.into()))
1412 .saturating_add(RocksDbWeight::get().reads(8_u64))
1413 .saturating_add(RocksDbWeight::get().writes(7_u64))
1414 }
1415 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
1416 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1417 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
1418 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1419 /// Storage: `Contracts::PristineCode` (r:1 w:0)
1420 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1421 /// Storage: `Contracts::Nonce` (r:1 w:1)
1422 /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1423 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
1424 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1425 /// Storage: `Timestamp::Now` (r:1 w:0)
1426 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1427 /// Storage: `System::Account` (r:1 w:1)
1428 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1429 /// Storage: `Balances::Holds` (r:1 w:1)
1430 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1431 /// The range of component `i` is `[0, 1048576]`.
1432 /// The range of component `s` is `[0, 1048576]`.
1433 fn instantiate(i: u32, s: u32, ) -> Weight {
1434 // Proof Size summary in bytes:
1435 // Measured: `205`
1436 // Estimated: `3670`
1437 // Minimum execution time: 5_930_123_000 picoseconds.
1438 Weight::from_parts(5_938_894_000, 3670)
1439 // Standard Error: 72
1440 .saturating_add(Weight::from_parts(1_660, 0).saturating_mul(i.into()))
1441 // Standard Error: 72
1442 .saturating_add(Weight::from_parts(1_841, 0).saturating_mul(s.into()))
1443 .saturating_add(RocksDbWeight::get().reads(8_u64))
1444 .saturating_add(RocksDbWeight::get().writes(5_u64))
1445 }
1446 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
1447 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1448 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
1449 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1450 /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
1451 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1452 /// Storage: `Contracts::PristineCode` (r:1 w:0)
1453 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1454 /// Storage: `Timestamp::Now` (r:1 w:0)
1455 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1456 /// Storage: `System::Account` (r:1 w:1)
1457 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1458 fn call() -> Weight {
1459 // Proof Size summary in bytes:
1460 // Measured: `472`
1461 // Estimated: `3937`
1462 // Minimum execution time: 171_677_000 picoseconds.
1463 Weight::from_parts(176_340_000, 3937)
1464 .saturating_add(RocksDbWeight::get().reads(6_u64))
1465 .saturating_add(RocksDbWeight::get().writes(2_u64))
1466 }
1467 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
1468 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1469 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
1470 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1471 /// Storage: `Balances::Holds` (r:1 w:1)
1472 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1473 /// Storage: `Contracts::PristineCode` (r:0 w:1)
1474 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1475 /// The range of component `c` is `[0, 125952]`.
1476 fn upload_code_determinism_enforced(c: u32, ) -> Weight {
1477 // Proof Size summary in bytes:
1478 // Measured: `0`
1479 // Estimated: `3465`
1480 // Minimum execution time: 233_222_000 picoseconds.
1481 Weight::from_parts(256_594_116, 3465)
1482 // Standard Error: 92
1483 .saturating_add(Weight::from_parts(48_635, 0).saturating_mul(c.into()))
1484 .saturating_add(RocksDbWeight::get().reads(3_u64))
1485 .saturating_add(RocksDbWeight::get().writes(3_u64))
1486 }
1487 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
1488 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1489 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
1490 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1491 /// Storage: `Balances::Holds` (r:1 w:1)
1492 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1493 /// Storage: `Contracts::PristineCode` (r:0 w:1)
1494 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1495 /// The range of component `c` is `[0, 125952]`.
1496 fn upload_code_determinism_relaxed(c: u32, ) -> Weight {
1497 // Proof Size summary in bytes:
1498 // Measured: `0`
1499 // Estimated: `3465`
1500 // Minimum execution time: 244_888_000 picoseconds.
1501 Weight::from_parts(279_103_331, 3465)
1502 // Standard Error: 76
1503 .saturating_add(Weight::from_parts(48_450, 0).saturating_mul(c.into()))
1504 .saturating_add(RocksDbWeight::get().reads(3_u64))
1505 .saturating_add(RocksDbWeight::get().writes(3_u64))
1506 }
1507 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
1508 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1509 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
1510 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1511 /// Storage: `Balances::Holds` (r:1 w:1)
1512 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1513 /// Storage: `Contracts::PristineCode` (r:0 w:1)
1514 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1515 fn remove_code() -> Weight {
1516 // Proof Size summary in bytes:
1517 // Measured: `178`
1518 // Estimated: `3643`
1519 // Minimum execution time: 41_485_000 picoseconds.
1520 Weight::from_parts(42_404_000, 3643)
1521 .saturating_add(RocksDbWeight::get().reads(3_u64))
1522 .saturating_add(RocksDbWeight::get().writes(3_u64))
1523 }
1524 /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
1525 /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
1526 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
1527 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1528 /// Storage: `Contracts::CodeInfoOf` (r:2 w:2)
1529 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1530 fn set_code() -> Weight {
1531 // Proof Size summary in bytes:
1532 // Measured: `415`
1533 // Estimated: `6355`
1534 // Minimum execution time: 25_614_000 picoseconds.
1535 Weight::from_parts(26_843_000, 6355)
1536 .saturating_add(RocksDbWeight::get().reads(4_u64))
1537 .saturating_add(RocksDbWeight::get().writes(3_u64))
1538 }
1539 /// The range of component `r` is `[0, 1600]`.
1540 fn noop_host_fn(r: u32, ) -> Weight {
1541 // Proof Size summary in bytes:
1542 // Measured: `0`
1543 // Estimated: `0`
1544 // Minimum execution time: 8_437_000 picoseconds.
1545 Weight::from_parts(9_257_820, 0)
1546 // Standard Error: 134
1547 .saturating_add(Weight::from_parts(52_863, 0).saturating_mul(r.into()))
1548 }
1549 fn seal_caller() -> Weight {
1550 // Proof Size summary in bytes:
1551 // Measured: `0`
1552 // Estimated: `0`
1553 // Minimum execution time: 687_000 picoseconds.
1554 Weight::from_parts(756_000, 0)
1555 }
1556 /// Storage: `Contracts::ContractInfoOf` (r:1 w:0)
1557 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1558 fn seal_is_contract() -> Weight {
1559 // Proof Size summary in bytes:
1560 // Measured: `217`
1561 // Estimated: `3682`
1562 // Minimum execution time: 7_928_000 picoseconds.
1563 Weight::from_parts(8_224_000, 3682)
1564 .saturating_add(RocksDbWeight::get().reads(1_u64))
1565 }
1566 /// Storage: `Contracts::ContractInfoOf` (r:1 w:0)
1567 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1568 fn seal_code_hash() -> Weight {
1569 // Proof Size summary in bytes:
1570 // Measured: `310`
1571 // Estimated: `3775`
1572 // Minimum execution time: 9_508_000 picoseconds.
1573 Weight::from_parts(9_994_000, 3775)
1574 .saturating_add(RocksDbWeight::get().reads(1_u64))
1575 }
1576 fn seal_own_code_hash() -> Weight {
1577 // Proof Size summary in bytes:
1578 // Measured: `0`
1579 // Estimated: `0`
1580 // Minimum execution time: 815_000 picoseconds.
1581 Weight::from_parts(920_000, 0)
1582 }
1583 fn seal_caller_is_origin() -> Weight {
1584 // Proof Size summary in bytes:
1585 // Measured: `0`
1586 // Estimated: `0`
1587 // Minimum execution time: 370_000 picoseconds.
1588 Weight::from_parts(393_000, 0)
1589 }
1590 fn seal_caller_is_root() -> Weight {
1591 // Proof Size summary in bytes:
1592 // Measured: `0`
1593 // Estimated: `0`
1594 // Minimum execution time: 295_000 picoseconds.
1595 Weight::from_parts(329_000, 0)
1596 }
1597 fn seal_address() -> Weight {
1598 // Proof Size summary in bytes:
1599 // Measured: `0`
1600 // Estimated: `0`
1601 // Minimum execution time: 642_000 picoseconds.
1602 Weight::from_parts(692_000, 0)
1603 }
1604 fn seal_gas_left() -> Weight {
1605 // Proof Size summary in bytes:
1606 // Measured: `0`
1607 // Estimated: `0`
1608 // Minimum execution time: 779_000 picoseconds.
1609 Weight::from_parts(829_000, 0)
1610 }
1611 fn seal_balance() -> Weight {
1612 // Proof Size summary in bytes:
1613 // Measured: `101`
1614 // Estimated: `0`
1615 // Minimum execution time: 4_582_000 picoseconds.
1616 Weight::from_parts(4_896_000, 0)
1617 }
1618 fn seal_value_transferred() -> Weight {
1619 // Proof Size summary in bytes:
1620 // Measured: `0`
1621 // Estimated: `0`
1622 // Minimum execution time: 723_000 picoseconds.
1623 Weight::from_parts(773_000, 0)
1624 }
1625 fn seal_minimum_balance() -> Weight {
1626 // Proof Size summary in bytes:
1627 // Measured: `0`
1628 // Estimated: `0`
1629 // Minimum execution time: 718_000 picoseconds.
1630 Weight::from_parts(751_000, 0)
1631 }
1632 fn seal_block_number() -> Weight {
1633 // Proof Size summary in bytes:
1634 // Measured: `0`
1635 // Estimated: `0`
1636 // Minimum execution time: 679_000 picoseconds.
1637 Weight::from_parts(728_000, 0)
1638 }
1639 fn seal_now() -> Weight {
1640 // Proof Size summary in bytes:
1641 // Measured: `0`
1642 // Estimated: `0`
1643 // Minimum execution time: 723_000 picoseconds.
1644 Weight::from_parts(774_000, 0)
1645 }
1646 fn seal_weight_to_fee() -> Weight {
1647 // Proof Size summary in bytes:
1648 // Measured: `0`
1649 // Estimated: `0`
1650 // Minimum execution time: 1_577_000 picoseconds.
1651 Weight::from_parts(1_709_000, 0)
1652 }
1653 /// The range of component `n` is `[0, 1048572]`.
1654 fn seal_input(n: u32, ) -> Weight {
1655 // Proof Size summary in bytes:
1656 // Measured: `0`
1657 // Estimated: `0`
1658 // Minimum execution time: 566_000 picoseconds.
1659 Weight::from_parts(430_440, 0)
1660 // Standard Error: 0
1661 .saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into()))
1662 }
1663 /// The range of component `n` is `[0, 1048572]`.
1664 fn seal_return(n: u32, ) -> Weight {
1665 // Proof Size summary in bytes:
1666 // Measured: `0`
1667 // Estimated: `0`
1668 // Minimum execution time: 337_000 picoseconds.
1669 Weight::from_parts(389_000, 0)
1670 // Standard Error: 0
1671 .saturating_add(Weight::from_parts(203, 0).saturating_mul(n.into()))
1672 }
1673 /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1)
1674 /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1675 /// Storage: `Contracts::CodeInfoOf` (r:33 w:33)
1676 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1677 /// Storage: `Contracts::DeletionQueue` (r:0 w:1)
1678 /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
1679 /// The range of component `n` is `[0, 32]`.
1680 fn seal_terminate(n: u32, ) -> Weight {
1681 // Proof Size summary in bytes:
1682 // Measured: `182 + n * (78 ±0)`
1683 // Estimated: `3647 + n * (2553 ±0)`
1684 // Minimum execution time: 15_302_000 picoseconds.
1685 Weight::from_parts(15_426_466, 3647)
1686 // Standard Error: 8_441
1687 .saturating_add(Weight::from_parts(4_507_899, 0).saturating_mul(n.into()))
1688 .saturating_add(RocksDbWeight::get().reads(2_u64))
1689 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
1690 .saturating_add(RocksDbWeight::get().writes(3_u64))
1691 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
1692 .saturating_add(Weight::from_parts(0, 2553).saturating_mul(n.into()))
1693 }
1694 /// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0)
1695 /// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`)
1696 fn seal_random() -> Weight {
1697 // Proof Size summary in bytes:
1698 // Measured: `0`
1699 // Estimated: `1485`
1700 // Minimum execution time: 2_304_000 picoseconds.
1701 Weight::from_parts(2_359_000, 1485)
1702 .saturating_add(RocksDbWeight::get().reads(1_u64))
1703 }
1704 /// Storage: `System::EventTopics` (r:4 w:4)
1705 /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
1706 /// The range of component `t` is `[0, 4]`.
1707 /// The range of component `n` is `[0, 16384]`.
1708 fn seal_deposit_event(t: u32, n: u32, ) -> Weight {
1709 // Proof Size summary in bytes:
1710 // Measured: `0`
1711 // Estimated: `990 + t * (2475 ±0)`
1712 // Minimum execution time: 3_963_000 picoseconds.
1713 Weight::from_parts(4_143_031, 990)
1714 // Standard Error: 6_527
1715 .saturating_add(Weight::from_parts(2_186_206, 0).saturating_mul(t.into()))
1716 // Standard Error: 1
1717 .saturating_add(Weight::from_parts(25, 0).saturating_mul(n.into()))
1718 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into())))
1719 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
1720 .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into()))
1721 }
1722 /// The range of component `i` is `[0, 1048576]`.
1723 fn seal_debug_message(i: u32, ) -> Weight {
1724 // Proof Size summary in bytes:
1725 // Measured: `0`
1726 // Estimated: `0`
1727 // Minimum execution time: 411_000 picoseconds.
1728 Weight::from_parts(582_596, 0)
1729 // Standard Error: 0
1730 .saturating_add(Weight::from_parts(712, 0).saturating_mul(i.into()))
1731 }
1732 /// Storage: `Skipped::Metadata` (r:0 w:0)
1733 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1734 fn get_storage_empty() -> Weight {
1735 // Proof Size summary in bytes:
1736 // Measured: `16522`
1737 // Estimated: `16522`
1738 // Minimum execution time: 12_684_000 picoseconds.
1739 Weight::from_parts(13_116_000, 16522)
1740 .saturating_add(RocksDbWeight::get().reads(1_u64))
1741 }
1742 /// Storage: `Skipped::Metadata` (r:0 w:0)
1743 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1744 fn get_storage_full() -> Weight {
1745 // Proof Size summary in bytes:
1746 // Measured: `26532`
1747 // Estimated: `26532`
1748 // Minimum execution time: 53_633_000 picoseconds.
1749 Weight::from_parts(55_592_000, 26532)
1750 .saturating_add(RocksDbWeight::get().reads(1_u64))
1751 }
1752 /// Storage: `Skipped::Metadata` (r:0 w:0)
1753 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1754 fn set_storage_empty() -> Weight {
1755 // Proof Size summary in bytes:
1756 // Measured: `16522`
1757 // Estimated: `16522`
1758 // Minimum execution time: 14_319_000 picoseconds.
1759 Weight::from_parts(14_725_000, 16522)
1760 .saturating_add(RocksDbWeight::get().reads(1_u64))
1761 .saturating_add(RocksDbWeight::get().writes(1_u64))
1762 }
1763 /// Storage: `Skipped::Metadata` (r:0 w:0)
1764 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1765 fn set_storage_full() -> Weight {
1766 // Proof Size summary in bytes:
1767 // Measured: `26532`
1768 // Estimated: `26532`
1769 // Minimum execution time: 56_431_000 picoseconds.
1770 Weight::from_parts(57_931_000, 26532)
1771 .saturating_add(RocksDbWeight::get().reads(1_u64))
1772 .saturating_add(RocksDbWeight::get().writes(1_u64))
1773 }
1774 /// Storage: `Skipped::Metadata` (r:0 w:0)
1775 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1776 /// The range of component `n` is `[0, 16384]`.
1777 /// The range of component `o` is `[0, 16384]`.
1778 fn seal_set_storage(n: u32, o: u32, ) -> Weight {
1779 // Proof Size summary in bytes:
1780 // Measured: `154 + o * (1 ±0)`
1781 // Estimated: `153 + o * (1 ±0)`
1782 // Minimum execution time: 9_356_000 picoseconds.
1783 Weight::from_parts(8_075_772, 153)
1784 // Standard Error: 2
1785 .saturating_add(Weight::from_parts(276, 0).saturating_mul(n.into()))
1786 // Standard Error: 2
1787 .saturating_add(Weight::from_parts(114, 0).saturating_mul(o.into()))
1788 .saturating_add(RocksDbWeight::get().reads(1_u64))
1789 .saturating_add(RocksDbWeight::get().writes(1_u64))
1790 .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into()))
1791 }
1792 /// Storage: `Skipped::Metadata` (r:0 w:0)
1793 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1794 /// The range of component `n` is `[0, 16384]`.
1795 fn seal_clear_storage(n: u32, ) -> Weight {
1796 // Proof Size summary in bytes:
1797 // Measured: `152 + n * (1 ±0)`
1798 // Estimated: `152 + n * (1 ±0)`
1799 // Minimum execution time: 6_210_000 picoseconds.
1800 Weight::from_parts(7_608_498, 152)
1801 // Standard Error: 2
1802 .saturating_add(Weight::from_parts(137, 0).saturating_mul(n.into()))
1803 .saturating_add(RocksDbWeight::get().reads(1_u64))
1804 .saturating_add(RocksDbWeight::get().writes(1_u64))
1805 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1806 }
1807 /// Storage: `Skipped::Metadata` (r:0 w:0)
1808 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1809 /// The range of component `n` is `[0, 16384]`.
1810 fn seal_get_storage(n: u32, ) -> Weight {
1811 // Proof Size summary in bytes:
1812 // Measured: `152 + n * (1 ±0)`
1813 // Estimated: `152 + n * (1 ±0)`
1814 // Minimum execution time: 5_676_000 picoseconds.
1815 Weight::from_parts(7_581_087, 152)
1816 // Standard Error: 2
1817 .saturating_add(Weight::from_parts(557, 0).saturating_mul(n.into()))
1818 .saturating_add(RocksDbWeight::get().reads(1_u64))
1819 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1820 }
1821 /// Storage: `Skipped::Metadata` (r:0 w:0)
1822 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1823 /// The range of component `n` is `[0, 16384]`.
1824 fn seal_contains_storage(n: u32, ) -> Weight {
1825 // Proof Size summary in bytes:
1826 // Measured: `152 + n * (1 ±0)`
1827 // Estimated: `152 + n * (1 ±0)`
1828 // Minimum execution time: 5_286_000 picoseconds.
1829 Weight::from_parts(6_872_699, 152)
1830 // Standard Error: 1
1831 .saturating_add(Weight::from_parts(119, 0).saturating_mul(n.into()))
1832 .saturating_add(RocksDbWeight::get().reads(1_u64))
1833 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1834 }
1835 /// Storage: `Skipped::Metadata` (r:0 w:0)
1836 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1837 /// The range of component `n` is `[0, 16384]`.
1838 fn seal_take_storage(n: u32, ) -> Weight {
1839 // Proof Size summary in bytes:
1840 // Measured: `152 + n * (1 ±0)`
1841 // Estimated: `152 + n * (1 ±0)`
1842 // Minimum execution time: 6_353_000 picoseconds.
1843 Weight::from_parts(8_139_270, 152)
1844 // Standard Error: 5
1845 .saturating_add(Weight::from_parts(590, 0).saturating_mul(n.into()))
1846 .saturating_add(RocksDbWeight::get().reads(1_u64))
1847 .saturating_add(RocksDbWeight::get().writes(1_u64))
1848 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1849 }
1850 fn set_transient_storage_empty() -> Weight {
1851 // Proof Size summary in bytes:
1852 // Measured: `0`
1853 // Estimated: `0`
1854 // Minimum execution time: 1_487_000 picoseconds.
1855 Weight::from_parts(1_610_000, 0)
1856 }
1857 fn set_transient_storage_full() -> Weight {
1858 // Proof Size summary in bytes:
1859 // Measured: `0`
1860 // Estimated: `0`
1861 // Minimum execution time: 2_549_000 picoseconds.
1862 Weight::from_parts(2_699_000, 0)
1863 }
1864 fn get_transient_storage_empty() -> Weight {
1865 // Proof Size summary in bytes:
1866 // Measured: `0`
1867 // Estimated: `0`
1868 // Minimum execution time: 3_279_000 picoseconds.
1869 Weight::from_parts(3_339_000, 0)
1870 }
1871 fn get_transient_storage_full() -> Weight {
1872 // Proof Size summary in bytes:
1873 // Measured: `0`
1874 // Estimated: `0`
1875 // Minimum execution time: 4_085_000 picoseconds.
1876 Weight::from_parts(4_332_000, 0)
1877 }
1878 fn rollback_transient_storage() -> Weight {
1879 // Proof Size summary in bytes:
1880 // Measured: `0`
1881 // Estimated: `0`
1882 // Minimum execution time: 1_522_000 picoseconds.
1883 Weight::from_parts(1_723_000, 0)
1884 }
1885 /// The range of component `n` is `[0, 16384]`.
1886 /// The range of component `o` is `[0, 16384]`.
1887 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight {
1888 // Proof Size summary in bytes:
1889 // Measured: `0`
1890 // Estimated: `0`
1891 // Minimum execution time: 5_583_000 picoseconds.
1892 Weight::from_parts(2_628_557, 0)
1893 // Standard Error: 0
1894 .saturating_add(Weight::from_parts(204, 0).saturating_mul(n.into()))
1895 // Standard Error: 0
1896 .saturating_add(Weight::from_parts(222, 0).saturating_mul(o.into()))
1897 }
1898 /// The range of component `n` is `[0, 16384]`.
1899 fn seal_clear_transient_storage(n: u32, ) -> Weight {
1900 // Proof Size summary in bytes:
1901 // Measured: `0`
1902 // Estimated: `0`
1903 // Minimum execution time: 2_188_000 picoseconds.
1904 Weight::from_parts(2_515_424, 0)
1905 // Standard Error: 0
1906 .saturating_add(Weight::from_parts(227, 0).saturating_mul(n.into()))
1907 }
1908 /// The range of component `n` is `[0, 16384]`.
1909 fn seal_get_transient_storage(n: u32, ) -> Weight {
1910 // Proof Size summary in bytes:
1911 // Measured: `0`
1912 // Estimated: `0`
1913 // Minimum execution time: 1_890_000 picoseconds.
1914 Weight::from_parts(2_182_387, 0)
1915 // Standard Error: 0
1916 .saturating_add(Weight::from_parts(226, 0).saturating_mul(n.into()))
1917 }
1918 /// The range of component `n` is `[0, 16384]`.
1919 fn seal_contains_transient_storage(n: u32, ) -> Weight {
1920 // Proof Size summary in bytes:
1921 // Measured: `0`
1922 // Estimated: `0`
1923 // Minimum execution time: 1_738_000 picoseconds.
1924 Weight::from_parts(1_974_584, 0)
1925 // Standard Error: 0
1926 .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into()))
1927 }
1928 /// The range of component `n` is `[0, 16384]`.
1929 fn seal_take_transient_storage(n: u32, ) -> Weight {
1930 // Proof Size summary in bytes:
1931 // Measured: `0`
1932 // Estimated: `0`
1933 // Minimum execution time: 7_913_000 picoseconds.
1934 Weight::from_parts(8_133_541, 0)
1935 // Standard Error: 2
1936 .saturating_add(Weight::from_parts(3, 0).saturating_mul(n.into()))
1937 }
1938 fn seal_transfer() -> Weight {
1939 // Proof Size summary in bytes:
1940 // Measured: `101`
1941 // Estimated: `0`
1942 // Minimum execution time: 8_943_000 picoseconds.
1943 Weight::from_parts(9_230_000, 0)
1944 }
1945 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
1946 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1947 /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
1948 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1949 /// Storage: `Contracts::PristineCode` (r:1 w:0)
1950 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1951 /// Storage: `System::Account` (r:1 w:1)
1952 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1953 /// The range of component `t` is `[0, 1]`.
1954 /// The range of component `i` is `[0, 1048576]`.
1955 fn seal_call(t: u32, i: u32, ) -> Weight {
1956 // Proof Size summary in bytes:
1957 // Measured: `459 + t * (242 ±0)`
1958 // Estimated: `3924 + t * (2083 ±0)`
1959 // Minimum execution time: 132_736_000 picoseconds.
1960 Weight::from_parts(129_310_380, 3924)
1961 // Standard Error: 270_788
1962 .saturating_add(Weight::from_parts(45_537_319, 0).saturating_mul(t.into()))
1963 // Standard Error: 0
1964 .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into()))
1965 .saturating_add(RocksDbWeight::get().reads(3_u64))
1966 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into())))
1967 .saturating_add(RocksDbWeight::get().writes(1_u64))
1968 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
1969 .saturating_add(Weight::from_parts(0, 2083).saturating_mul(t.into()))
1970 }
1971 /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
1972 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1973 /// Storage: `Contracts::PristineCode` (r:1 w:0)
1974 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1975 fn seal_delegate_call() -> Weight {
1976 // Proof Size summary in bytes:
1977 // Measured: `269`
1978 // Estimated: `3734`
1979 // Minimum execution time: 120_046_000 picoseconds.
1980 Weight::from_parts(121_748_000, 3734)
1981 .saturating_add(RocksDbWeight::get().reads(2_u64))
1982 }
1983 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
1984 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
1985 /// Storage: `Contracts::PristineCode` (r:1 w:0)
1986 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
1987 /// Storage: `Contracts::Nonce` (r:1 w:0)
1988 /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1989 /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
1990 /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
1991 /// Storage: `System::Account` (r:1 w:1)
1992 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1993 /// The range of component `i` is `[0, 983040]`.
1994 /// The range of component `s` is `[0, 983040]`.
1995 fn seal_instantiate(i: u32, s: u32, ) -> Weight {
1996 // Proof Size summary in bytes:
1997 // Measured: `463`
1998 // Estimated: `3937`
1999 // Minimum execution time: 1_877_748_000 picoseconds.
2000 Weight::from_parts(156_912_679, 3937)
2001 // Standard Error: 19
2002 .saturating_add(Weight::from_parts(1_663, 0).saturating_mul(i.into()))
2003 // Standard Error: 19
2004 .saturating_add(Weight::from_parts(2_033, 0).saturating_mul(s.into()))
2005 .saturating_add(RocksDbWeight::get().reads(5_u64))
2006 .saturating_add(RocksDbWeight::get().writes(3_u64))
2007 }
2008 /// The range of component `n` is `[0, 1048576]`.
2009 fn seal_hash_sha2_256(n: u32, ) -> Weight {
2010 // Proof Size summary in bytes:
2011 // Measured: `0`
2012 // Estimated: `0`
2013 // Minimum execution time: 940_000 picoseconds.
2014 Weight::from_parts(8_848_107, 0)
2015 // Standard Error: 1
2016 .saturating_add(Weight::from_parts(1_322, 0).saturating_mul(n.into()))
2017 }
2018 /// The range of component `n` is `[0, 1048576]`.
2019 fn seal_hash_keccak_256(n: u32, ) -> Weight {
2020 // Proof Size summary in bytes:
2021 // Measured: `0`
2022 // Estimated: `0`
2023 // Minimum execution time: 1_308_000 picoseconds.
2024 Weight::from_parts(13_432_971, 0)
2025 // Standard Error: 1
2026 .saturating_add(Weight::from_parts(3_515, 0).saturating_mul(n.into()))
2027 }
2028 /// The range of component `n` is `[0, 1048576]`.
2029 fn seal_hash_blake2_256(n: u32, ) -> Weight {
2030 // Proof Size summary in bytes:
2031 // Measured: `0`
2032 // Estimated: `0`
2033 // Minimum execution time: 839_000 picoseconds.
2034 Weight::from_parts(4_868_192, 0)
2035 // Standard Error: 1
2036 .saturating_add(Weight::from_parts(1_458, 0).saturating_mul(n.into()))
2037 }
2038 /// The range of component `n` is `[0, 1048576]`.
2039 fn seal_hash_blake2_128(n: u32, ) -> Weight {
2040 // Proof Size summary in bytes:
2041 // Measured: `0`
2042 // Estimated: `0`
2043 // Minimum execution time: 790_000 picoseconds.
2044 Weight::from_parts(814_000, 0)
2045 // Standard Error: 2
2046 .saturating_add(Weight::from_parts(1_495, 0).saturating_mul(n.into()))
2047 }
2048 /// The range of component `n` is `[0, 125697]`.
2049 fn seal_sr25519_verify(n: u32, ) -> Weight {
2050 // Proof Size summary in bytes:
2051 // Measured: `0`
2052 // Estimated: `0`
2053 // Minimum execution time: 42_811_000 picoseconds.
2054 Weight::from_parts(41_107_222, 0)
2055 // Standard Error: 9
2056 .saturating_add(Weight::from_parts(4_949, 0).saturating_mul(n.into()))
2057 }
2058 fn seal_ecdsa_recover() -> Weight {
2059 // Proof Size summary in bytes:
2060 // Measured: `0`
2061 // Estimated: `0`
2062 // Minimum execution time: 47_723_000 picoseconds.
2063 Weight::from_parts(48_486_000, 0)
2064 }
2065 fn seal_ecdsa_to_eth_address() -> Weight {
2066 // Proof Size summary in bytes:
2067 // Measured: `0`
2068 // Estimated: `0`
2069 // Minimum execution time: 12_903_000 picoseconds.
2070 Weight::from_parts(13_026_000, 0)
2071 }
2072 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
2073 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
2074 /// Storage: `Contracts::PristineCode` (r:1 w:0)
2075 /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
2076 fn seal_set_code_hash() -> Weight {
2077 // Proof Size summary in bytes:
2078 // Measured: `269`
2079 // Estimated: `3734`
2080 // Minimum execution time: 19_643_000 picoseconds.
2081 Weight::from_parts(20_330_000, 3734)
2082 .saturating_add(RocksDbWeight::get().reads(2_u64))
2083 .saturating_add(RocksDbWeight::get().writes(1_u64))
2084 }
2085 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
2086 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
2087 fn lock_delegate_dependency() -> Weight {
2088 // Proof Size summary in bytes:
2089 // Measured: `218`
2090 // Estimated: `3683`
2091 // Minimum execution time: 10_632_000 picoseconds.
2092 Weight::from_parts(11_052_000, 3683)
2093 .saturating_add(RocksDbWeight::get().reads(1_u64))
2094 .saturating_add(RocksDbWeight::get().writes(1_u64))
2095 }
2096 /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
2097 /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
2098 fn unlock_delegate_dependency() -> Weight {
2099 // Proof Size summary in bytes:
2100 // Measured: `218`
2101 // Estimated: `3558`
2102 // Minimum execution time: 9_383_000 picoseconds.
2103 Weight::from_parts(9_640_000, 3558)
2104 .saturating_add(RocksDbWeight::get().reads(1_u64))
2105 .saturating_add(RocksDbWeight::get().writes(1_u64))
2106 }
2107 fn seal_reentrance_count() -> Weight {
2108 // Proof Size summary in bytes:
2109 // Measured: `0`
2110 // Estimated: `0`
2111 // Minimum execution time: 391_000 picoseconds.
2112 Weight::from_parts(415_000, 0)
2113 }
2114 fn seal_account_reentrance_count() -> Weight {
2115 // Proof Size summary in bytes:
2116 // Measured: `0`
2117 // Estimated: `0`
2118 // Minimum execution time: 375_000 picoseconds.
2119 Weight::from_parts(397_000, 0)
2120 }
2121 /// Storage: `Contracts::Nonce` (r:1 w:0)
2122 /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
2123 fn seal_instantiation_nonce() -> Weight {
2124 // Proof Size summary in bytes:
2125 // Measured: `82`
2126 // Estimated: `1567`
2127 // Minimum execution time: 2_883_000 picoseconds.
2128 Weight::from_parts(3_005_000, 1567)
2129 .saturating_add(RocksDbWeight::get().reads(1_u64))
2130 }
2131 /// The range of component `r` is `[0, 5000]`.
2132 fn instr_i64_load_store(r: u32, ) -> Weight {
2133 // Proof Size summary in bytes:
2134 // Measured: `0`
2135 // Estimated: `0`
2136 // Minimum execution time: 947_000 picoseconds.
2137 Weight::from_parts(943_263, 0)
2138 // Standard Error: 11
2139 .saturating_add(Weight::from_parts(7_556, 0).saturating_mul(r.into()))
2140 }
2141}