pallet_revive/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_revive`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-09-08, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `ff2afa3d9639`, 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_revive
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/revive/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// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage
62
63#![cfg_attr(rustfmt, rustfmt_skip)]
64#![allow(unused_parens)]
65#![allow(unused_imports)]
66#![allow(missing_docs)]
67#![allow(dead_code)]
68
69use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
70use core::marker::PhantomData;
71
72/// Weight functions needed for `pallet_revive`.
73pub trait WeightInfo {
74 fn on_process_deletion_queue_batch() -> Weight;
75 fn on_initialize_per_trie_key(k: u32, ) -> Weight;
76 fn call_with_pvm_code_per_byte(c: u32, ) -> Weight;
77 fn call_with_evm_code_per_byte(c: u32, ) -> Weight;
78 fn basic_block_compilation(b: u32, ) -> Weight;
79 fn instantiate_with_code(c: u32, i: u32, ) -> Weight;
80 fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight;
81 fn instantiate(i: u32, ) -> Weight;
82 fn call() -> Weight;
83 fn eth_call(d: u32, ) -> Weight;
84 fn upload_code(c: u32, ) -> Weight;
85 fn remove_code() -> Weight;
86 fn set_code() -> Weight;
87 fn map_account() -> Weight;
88 fn unmap_account() -> Weight;
89 fn dispatch_as_fallback_account() -> Weight;
90 fn noop_host_fn(r: u32, ) -> Weight;
91 fn seal_caller() -> Weight;
92 fn seal_origin() -> Weight;
93 fn to_account_id() -> Weight;
94 fn seal_code_hash() -> Weight;
95 fn own_code_hash() -> Weight;
96 fn seal_code_size() -> Weight;
97 fn caller_is_origin() -> Weight;
98 fn caller_is_root() -> Weight;
99 fn seal_address() -> Weight;
100 fn weight_left() -> Weight;
101 fn seal_ref_time_left() -> Weight;
102 fn seal_balance() -> Weight;
103 fn seal_balance_of() -> Weight;
104 fn seal_get_immutable_data(n: u32, ) -> Weight;
105 fn seal_set_immutable_data(n: u32, ) -> Weight;
106 fn seal_value_transferred() -> Weight;
107 fn minimum_balance() -> Weight;
108 fn seal_return_data_size() -> Weight;
109 fn seal_call_data_size() -> Weight;
110 fn seal_gas_limit() -> Weight;
111 fn seal_gas_price() -> Weight;
112 fn seal_base_fee() -> Weight;
113 fn seal_block_number() -> Weight;
114 fn seal_block_author() -> Weight;
115 fn seal_block_hash() -> Weight;
116 fn seal_now() -> Weight;
117 fn seal_weight_to_fee() -> Weight;
118 fn seal_copy_to_contract(n: u32, ) -> Weight;
119 fn seal_call_data_load() -> Weight;
120 fn seal_call_data_copy(n: u32, ) -> Weight;
121 fn seal_return(n: u32, ) -> Weight;
122 fn seal_terminate(r: u32, ) -> Weight;
123 fn seal_deposit_event(t: u32, n: u32, ) -> Weight;
124 fn get_storage_empty() -> Weight;
125 fn get_storage_full() -> Weight;
126 fn set_storage_empty() -> Weight;
127 fn set_storage_full() -> Weight;
128 fn seal_set_storage(n: u32, o: u32, ) -> Weight;
129 fn seal_clear_storage(n: u32, ) -> Weight;
130 fn seal_get_storage(n: u32, ) -> Weight;
131 fn seal_contains_storage(n: u32, ) -> Weight;
132 fn seal_take_storage(n: u32, ) -> Weight;
133 fn set_transient_storage_empty() -> Weight;
134 fn set_transient_storage_full() -> Weight;
135 fn get_transient_storage_empty() -> Weight;
136 fn get_transient_storage_full() -> Weight;
137 fn rollback_transient_storage() -> Weight;
138 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight;
139 fn seal_clear_transient_storage(n: u32, ) -> Weight;
140 fn seal_get_transient_storage(n: u32, ) -> Weight;
141 fn seal_contains_transient_storage(n: u32, ) -> Weight;
142 fn seal_take_transient_storage(n: u32, ) -> Weight;
143 fn seal_call(t: u32, d: u32, i: u32, ) -> Weight;
144 fn seal_call_precompile(d: u32, i: u32, ) -> Weight;
145 fn seal_delegate_call() -> Weight;
146 fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight;
147 fn sha2_256(n: u32, ) -> Weight;
148 fn identity(n: u32, ) -> Weight;
149 fn ripemd_160(n: u32, ) -> Weight;
150 fn seal_hash_keccak_256(n: u32, ) -> Weight;
151 fn hash_blake2_256(n: u32, ) -> Weight;
152 fn hash_blake2_128(n: u32, ) -> Weight;
153 fn seal_sr25519_verify(n: u32, ) -> Weight;
154 fn ecdsa_recover() -> Weight;
155 fn bn128_add() -> Weight;
156 fn bn128_mul() -> Weight;
157 fn bn128_pairing(n: u32, ) -> Weight;
158 fn blake2f(n: u32, ) -> Weight;
159 fn seal_ecdsa_to_eth_address() -> Weight;
160 fn seal_set_code_hash(r: u32, ) -> Weight;
161 fn evm_opcode(r: u32, ) -> Weight;
162 fn instr(r: u32, ) -> Weight;
163 fn instr_empty_loop(r: u32, ) -> Weight;
164 fn extcodecopy(n: u32, ) -> Weight;
165 fn v1_migration_step() -> Weight;
166 fn v2_migration_step() -> Weight;
167}
168
169/// Weights for `pallet_revive` using the Substrate node and recommended hardware.
170pub struct SubstrateWeight<T>(PhantomData<T>);
171impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
172 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:0)
173 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
174 fn on_process_deletion_queue_batch() -> Weight {
175 // Proof Size summary in bytes:
176 // Measured: `147`
177 // Estimated: `1632`
178 // Minimum execution time: 3_103_000 picoseconds.
179 Weight::from_parts(3_288_000, 1632)
180 .saturating_add(T::DbWeight::get().reads(1_u64))
181 }
182 /// Storage: `Skipped::Metadata` (r:0 w:0)
183 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
184 /// The range of component `k` is `[0, 1024]`.
185 fn on_initialize_per_trie_key(k: u32, ) -> Weight {
186 // Proof Size summary in bytes:
187 // Measured: `458 + k * (69 ±0)`
188 // Estimated: `448 + k * (70 ±0)`
189 // Minimum execution time: 14_393_000 picoseconds.
190 Weight::from_parts(14_689_000, 448)
191 // Standard Error: 1_032
192 .saturating_add(Weight::from_parts(1_205_681, 0).saturating_mul(k.into()))
193 .saturating_add(T::DbWeight::get().reads(2_u64))
194 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
195 .saturating_add(T::DbWeight::get().writes(2_u64))
196 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
197 .saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
198 }
199 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
200 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
201 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
202 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
203 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
204 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
205 /// Storage: `Revive::PristineCode` (r:1 w:0)
206 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
207 /// Storage: `Timestamp::Now` (r:1 w:0)
208 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
209 /// Storage: `System::Account` (r:1 w:1)
210 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
211 /// The range of component `c` is `[0, 102400]`.
212 fn call_with_pvm_code_per_byte(c: u32, ) -> Weight {
213 // Proof Size summary in bytes:
214 // Measured: `1172 + c * (1 ±0)`
215 // Estimated: `7107 + c * (1 ±0)`
216 // Minimum execution time: 85_415_000 picoseconds.
217 Weight::from_parts(120_226_734, 7107)
218 // Standard Error: 10
219 .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(c.into()))
220 .saturating_add(T::DbWeight::get().reads(7_u64))
221 .saturating_add(T::DbWeight::get().writes(2_u64))
222 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
223 }
224 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
225 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
226 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
227 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
228 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
229 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
230 /// Storage: `Revive::PristineCode` (r:1 w:0)
231 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
232 /// Storage: `Timestamp::Now` (r:1 w:0)
233 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
234 /// Storage: `System::Account` (r:1 w:1)
235 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
236 /// The range of component `c` is `[1, 10240]`.
237 fn call_with_evm_code_per_byte(_c: u32, ) -> Weight {
238 // Proof Size summary in bytes:
239 // Measured: `1112`
240 // Estimated: `7051`
241 // Minimum execution time: 80_503_000 picoseconds.
242 Weight::from_parts(84_811_467, 7051)
243 .saturating_add(T::DbWeight::get().reads(7_u64))
244 .saturating_add(T::DbWeight::get().writes(2_u64))
245 }
246 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
247 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
248 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
249 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
250 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
251 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
252 /// Storage: `Revive::PristineCode` (r:1 w:0)
253 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
254 /// Storage: `Timestamp::Now` (r:1 w:0)
255 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
256 /// Storage: `System::Account` (r:1 w:1)
257 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
258 /// The range of component `b` is `[0, 1]`.
259 fn basic_block_compilation(_b: u32, ) -> Weight {
260 // Proof Size summary in bytes:
261 // Measured: `4516`
262 // Estimated: `10456`
263 // Minimum execution time: 123_461_000 picoseconds.
264 Weight::from_parts(128_775_940, 10456)
265 .saturating_add(T::DbWeight::get().reads(7_u64))
266 .saturating_add(T::DbWeight::get().writes(2_u64))
267 }
268 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
269 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
270 /// Storage: `Balances::Holds` (r:2 w:2)
271 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
272 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
273 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
274 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
275 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
276 /// Storage: `Timestamp::Now` (r:1 w:0)
277 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
278 /// Storage: `System::Account` (r:1 w:1)
279 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
280 /// Storage: `Revive::PristineCode` (r:0 w:1)
281 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
282 /// The range of component `c` is `[0, 102400]`.
283 /// The range of component `i` is `[0, 131072]`.
284 fn instantiate_with_code(c: u32, i: u32, ) -> Weight {
285 // Proof Size summary in bytes:
286 // Measured: `881`
287 // Estimated: `6811`
288 // Minimum execution time: 749_503_000 picoseconds.
289 Weight::from_parts(59_829_896, 6811)
290 // Standard Error: 35
291 .saturating_add(Weight::from_parts(20_233, 0).saturating_mul(c.into()))
292 // Standard Error: 27
293 .saturating_add(Weight::from_parts(5_057, 0).saturating_mul(i.into()))
294 .saturating_add(T::DbWeight::get().reads(7_u64))
295 .saturating_add(T::DbWeight::get().writes(6_u64))
296 }
297 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
298 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
299 /// Storage: `Balances::Holds` (r:2 w:2)
300 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
301 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
302 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
303 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
304 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
305 /// Storage: `Timestamp::Now` (r:1 w:0)
306 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
307 /// Storage: `System::Account` (r:1 w:1)
308 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
309 /// Storage: `Revive::PristineCode` (r:0 w:1)
310 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
311 /// The range of component `c` is `[0, 102400]`.
312 /// The range of component `i` is `[0, 131072]`.
313 /// The range of component `d` is `[0, 1]`.
314 fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight {
315 // Proof Size summary in bytes:
316 // Measured: `881`
317 // Estimated: `6821 + d * (2475 ±0)`
318 // Minimum execution time: 277_185_000 picoseconds.
319 Weight::from_parts(147_220_906, 6821)
320 // Standard Error: 29
321 .saturating_add(Weight::from_parts(15_202, 0).saturating_mul(c.into()))
322 // Standard Error: 23
323 .saturating_add(Weight::from_parts(642, 0).saturating_mul(i.into()))
324 // Standard Error: 1_934_039
325 .saturating_add(Weight::from_parts(34_192_978, 0).saturating_mul(d.into()))
326 .saturating_add(T::DbWeight::get().reads(7_u64))
327 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into())))
328 .saturating_add(T::DbWeight::get().writes(6_u64))
329 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into())))
330 .saturating_add(Weight::from_parts(0, 2475).saturating_mul(d.into()))
331 }
332 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
333 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
334 /// Storage: `Revive::PristineCode` (r:1 w:0)
335 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
336 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
337 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
338 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
339 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
340 /// Storage: `Timestamp::Now` (r:1 w:0)
341 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
342 /// Storage: `System::Account` (r:1 w:1)
343 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
344 /// Storage: `Balances::Holds` (r:1 w:1)
345 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
346 /// The range of component `i` is `[0, 131072]`.
347 fn instantiate(i: u32, ) -> Weight {
348 // Proof Size summary in bytes:
349 // Measured: `1610`
350 // Estimated: `5060`
351 // Minimum execution time: 168_670_000 picoseconds.
352 Weight::from_parts(175_522_603, 5060)
353 // Standard Error: 12
354 .saturating_add(Weight::from_parts(4_260, 0).saturating_mul(i.into()))
355 .saturating_add(T::DbWeight::get().reads(7_u64))
356 .saturating_add(T::DbWeight::get().writes(4_u64))
357 }
358 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
359 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
360 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
361 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
362 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
363 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
364 /// Storage: `Revive::PristineCode` (r:1 w:0)
365 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
366 /// Storage: `Timestamp::Now` (r:1 w:0)
367 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
368 /// Storage: `System::Account` (r:1 w:1)
369 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
370 fn call() -> Weight {
371 // Proof Size summary in bytes:
372 // Measured: `1794`
373 // Estimated: `7734`
374 // Minimum execution time: 86_819_000 picoseconds.
375 Weight::from_parts(89_536_000, 7734)
376 .saturating_add(T::DbWeight::get().reads(7_u64))
377 .saturating_add(T::DbWeight::get().writes(2_u64))
378 }
379 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
380 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
381 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
382 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
383 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
384 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
385 /// Storage: `Revive::PristineCode` (r:1 w:0)
386 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
387 /// Storage: `Timestamp::Now` (r:1 w:0)
388 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
389 /// Storage: `System::Account` (r:1 w:1)
390 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
391 /// The range of component `d` is `[0, 1]`.
392 fn eth_call(d: u32, ) -> Weight {
393 // Proof Size summary in bytes:
394 // Measured: `1794`
395 // Estimated: `7734 + d * (2475 ±0)`
396 // Minimum execution time: 85_649_000 picoseconds.
397 Weight::from_parts(90_277_271, 7734)
398 // Standard Error: 333_872
399 .saturating_add(Weight::from_parts(26_832_228, 0).saturating_mul(d.into()))
400 .saturating_add(T::DbWeight::get().reads(7_u64))
401 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into())))
402 .saturating_add(T::DbWeight::get().writes(2_u64))
403 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into())))
404 .saturating_add(Weight::from_parts(0, 2475).saturating_mul(d.into()))
405 }
406 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
407 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
408 /// Storage: `Balances::Holds` (r:1 w:1)
409 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
410 /// Storage: `Revive::PristineCode` (r:0 w:1)
411 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
412 /// The range of component `c` is `[0, 102400]`.
413 fn upload_code(c: u32, ) -> Weight {
414 // Proof Size summary in bytes:
415 // Measured: `303`
416 // Estimated: `3768`
417 // Minimum execution time: 56_015_000 picoseconds.
418 Weight::from_parts(44_756_550, 3768)
419 // Standard Error: 17
420 .saturating_add(Weight::from_parts(14_377, 0).saturating_mul(c.into()))
421 .saturating_add(T::DbWeight::get().reads(2_u64))
422 .saturating_add(T::DbWeight::get().writes(3_u64))
423 }
424 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
425 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
426 /// Storage: `Balances::Holds` (r:1 w:1)
427 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
428 /// Storage: `Revive::PristineCode` (r:0 w:1)
429 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
430 fn remove_code() -> Weight {
431 // Proof Size summary in bytes:
432 // Measured: `458`
433 // Estimated: `3923`
434 // Minimum execution time: 51_807_000 picoseconds.
435 Weight::from_parts(53_562_000, 3923)
436 .saturating_add(T::DbWeight::get().reads(2_u64))
437 .saturating_add(T::DbWeight::get().writes(3_u64))
438 }
439 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
440 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
441 /// Storage: `Revive::CodeInfoOf` (r:2 w:2)
442 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
443 /// Storage: `Balances::Holds` (r:1 w:1)
444 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
445 /// Storage: `System::Account` (r:1 w:1)
446 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
447 /// Storage: `Revive::PristineCode` (r:0 w:1)
448 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
449 fn set_code() -> Weight {
450 // Proof Size summary in bytes:
451 // Measured: `797`
452 // Estimated: `6737`
453 // Minimum execution time: 65_431_000 picoseconds.
454 Weight::from_parts(66_763_000, 6737)
455 .saturating_add(T::DbWeight::get().reads(5_u64))
456 .saturating_add(T::DbWeight::get().writes(6_u64))
457 }
458 /// Storage: `Revive::OriginalAccount` (r:1 w:1)
459 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
460 /// Storage: `Balances::Holds` (r:1 w:1)
461 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
462 fn map_account() -> Weight {
463 // Proof Size summary in bytes:
464 // Measured: `510`
465 // Estimated: `3975`
466 // Minimum execution time: 54_271_000 picoseconds.
467 Weight::from_parts(55_618_000, 3975)
468 .saturating_add(T::DbWeight::get().reads(2_u64))
469 .saturating_add(T::DbWeight::get().writes(2_u64))
470 }
471 /// Storage: `Balances::Holds` (r:1 w:1)
472 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
473 /// Storage: `Revive::OriginalAccount` (r:0 w:1)
474 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
475 fn unmap_account() -> Weight {
476 // Proof Size summary in bytes:
477 // Measured: `93`
478 // Estimated: `3558`
479 // Minimum execution time: 38_990_000 picoseconds.
480 Weight::from_parts(39_656_000, 3558)
481 .saturating_add(T::DbWeight::get().reads(1_u64))
482 .saturating_add(T::DbWeight::get().writes(2_u64))
483 }
484 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
485 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
486 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
487 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`)
488 fn dispatch_as_fallback_account() -> Weight {
489 // Proof Size summary in bytes:
490 // Measured: `145`
491 // Estimated: `3610`
492 // Minimum execution time: 13_086_000 picoseconds.
493 Weight::from_parts(13_681_000, 3610)
494 .saturating_add(T::DbWeight::get().reads(2_u64))
495 }
496 /// The range of component `r` is `[0, 1600]`.
497 fn noop_host_fn(r: u32, ) -> Weight {
498 // Proof Size summary in bytes:
499 // Measured: `0`
500 // Estimated: `0`
501 // Minimum execution time: 7_423_000 picoseconds.
502 Weight::from_parts(9_149_999, 0)
503 // Standard Error: 227
504 .saturating_add(Weight::from_parts(180_894, 0).saturating_mul(r.into()))
505 }
506 fn seal_caller() -> Weight {
507 // Proof Size summary in bytes:
508 // Measured: `0`
509 // Estimated: `0`
510 // Minimum execution time: 294_000 picoseconds.
511 Weight::from_parts(330_000, 0)
512 }
513 fn seal_origin() -> Weight {
514 // Proof Size summary in bytes:
515 // Measured: `0`
516 // Estimated: `0`
517 // Minimum execution time: 270_000 picoseconds.
518 Weight::from_parts(317_000, 0)
519 }
520 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
521 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
522 fn to_account_id() -> Weight {
523 // Proof Size summary in bytes:
524 // Measured: `567`
525 // Estimated: `4032`
526 // Minimum execution time: 7_773_000 picoseconds.
527 Weight::from_parts(8_282_000, 4032)
528 .saturating_add(T::DbWeight::get().reads(1_u64))
529 }
530 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
531 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
532 fn seal_code_hash() -> Weight {
533 // Proof Size summary in bytes:
534 // Measured: `403`
535 // Estimated: `3868`
536 // Minimum execution time: 9_567_000 picoseconds.
537 Weight::from_parts(9_975_000, 3868)
538 .saturating_add(T::DbWeight::get().reads(1_u64))
539 }
540 fn own_code_hash() -> Weight {
541 // Proof Size summary in bytes:
542 // Measured: `0`
543 // Estimated: `0`
544 // Minimum execution time: 252_000 picoseconds.
545 Weight::from_parts(301_000, 0)
546 }
547 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
548 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
549 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
550 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
551 fn seal_code_size() -> Weight {
552 // Proof Size summary in bytes:
553 // Measured: `475`
554 // Estimated: `3940`
555 // Minimum execution time: 13_090_000 picoseconds.
556 Weight::from_parts(13_527_000, 3940)
557 .saturating_add(T::DbWeight::get().reads(2_u64))
558 }
559 fn caller_is_origin() -> Weight {
560 // Proof Size summary in bytes:
561 // Measured: `0`
562 // Estimated: `0`
563 // Minimum execution time: 337_000 picoseconds.
564 Weight::from_parts(375_000, 0)
565 }
566 fn caller_is_root() -> Weight {
567 // Proof Size summary in bytes:
568 // Measured: `0`
569 // Estimated: `0`
570 // Minimum execution time: 258_000 picoseconds.
571 Weight::from_parts(300_000, 0)
572 }
573 fn seal_address() -> Weight {
574 // Proof Size summary in bytes:
575 // Measured: `0`
576 // Estimated: `0`
577 // Minimum execution time: 308_000 picoseconds.
578 Weight::from_parts(352_000, 0)
579 }
580 fn weight_left() -> Weight {
581 // Proof Size summary in bytes:
582 // Measured: `0`
583 // Estimated: `0`
584 // Minimum execution time: 687_000 picoseconds.
585 Weight::from_parts(776_000, 0)
586 }
587 fn seal_ref_time_left() -> Weight {
588 // Proof Size summary in bytes:
589 // Measured: `0`
590 // Estimated: `0`
591 // Minimum execution time: 247_000 picoseconds.
592 Weight::from_parts(278_000, 0)
593 }
594 fn seal_balance() -> Weight {
595 // Proof Size summary in bytes:
596 // Measured: `540`
597 // Estimated: `0`
598 // Minimum execution time: 12_447_000 picoseconds.
599 Weight::from_parts(13_433_000, 0)
600 }
601 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
602 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
603 /// Storage: `System::Account` (r:1 w:0)
604 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
605 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
606 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
607 fn seal_balance_of() -> Weight {
608 // Proof Size summary in bytes:
609 // Measured: `791`
610 // Estimated: `4256`
611 // Minimum execution time: 18_806_000 picoseconds.
612 Weight::from_parts(19_217_000, 4256)
613 .saturating_add(T::DbWeight::get().reads(3_u64))
614 }
615 /// Storage: `Revive::ImmutableDataOf` (r:1 w:0)
616 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
617 /// The range of component `n` is `[1, 4096]`.
618 fn seal_get_immutable_data(n: u32, ) -> Weight {
619 // Proof Size summary in bytes:
620 // Measured: `271 + n * (1 ±0)`
621 // Estimated: `3736 + n * (1 ±0)`
622 // Minimum execution time: 5_800_000 picoseconds.
623 Weight::from_parts(6_657_021, 3736)
624 // Standard Error: 6
625 .saturating_add(Weight::from_parts(595, 0).saturating_mul(n.into()))
626 .saturating_add(T::DbWeight::get().reads(1_u64))
627 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
628 }
629 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
630 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
631 /// The range of component `n` is `[1, 4096]`.
632 fn seal_set_immutable_data(n: u32, ) -> Weight {
633 // Proof Size summary in bytes:
634 // Measured: `0`
635 // Estimated: `0`
636 // Minimum execution time: 2_057_000 picoseconds.
637 Weight::from_parts(2_320_795, 0)
638 // Standard Error: 2
639 .saturating_add(Weight::from_parts(558, 0).saturating_mul(n.into()))
640 .saturating_add(T::DbWeight::get().writes(1_u64))
641 }
642 fn seal_value_transferred() -> Weight {
643 // Proof Size summary in bytes:
644 // Measured: `0`
645 // Estimated: `0`
646 // Minimum execution time: 260_000 picoseconds.
647 Weight::from_parts(293_000, 0)
648 }
649 fn minimum_balance() -> Weight {
650 // Proof Size summary in bytes:
651 // Measured: `0`
652 // Estimated: `0`
653 // Minimum execution time: 233_000 picoseconds.
654 Weight::from_parts(291_000, 0)
655 }
656 fn seal_return_data_size() -> Weight {
657 // Proof Size summary in bytes:
658 // Measured: `0`
659 // Estimated: `0`
660 // Minimum execution time: 232_000 picoseconds.
661 Weight::from_parts(262_000, 0)
662 }
663 fn seal_call_data_size() -> Weight {
664 // Proof Size summary in bytes:
665 // Measured: `0`
666 // Estimated: `0`
667 // Minimum execution time: 234_000 picoseconds.
668 Weight::from_parts(273_000, 0)
669 }
670 fn seal_gas_limit() -> Weight {
671 // Proof Size summary in bytes:
672 // Measured: `0`
673 // Estimated: `0`
674 // Minimum execution time: 441_000 picoseconds.
675 Weight::from_parts(523_000, 0)
676 }
677 fn seal_gas_price() -> Weight {
678 // Proof Size summary in bytes:
679 // Measured: `0`
680 // Estimated: `0`
681 // Minimum execution time: 254_000 picoseconds.
682 Weight::from_parts(294_000, 0)
683 }
684 fn seal_base_fee() -> Weight {
685 // Proof Size summary in bytes:
686 // Measured: `0`
687 // Estimated: `0`
688 // Minimum execution time: 229_000 picoseconds.
689 Weight::from_parts(269_000, 0)
690 }
691 fn seal_block_number() -> Weight {
692 // Proof Size summary in bytes:
693 // Measured: `0`
694 // Estimated: `0`
695 // Minimum execution time: 254_000 picoseconds.
696 Weight::from_parts(290_000, 0)
697 }
698 /// Storage: `Session::Validators` (r:1 w:0)
699 /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
700 fn seal_block_author() -> Weight {
701 // Proof Size summary in bytes:
702 // Measured: `141`
703 // Estimated: `1626`
704 // Minimum execution time: 21_852_000 picoseconds.
705 Weight::from_parts(22_526_000, 1626)
706 .saturating_add(T::DbWeight::get().reads(1_u64))
707 }
708 /// Storage: `System::BlockHash` (r:1 w:0)
709 /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `Measured`)
710 fn seal_block_hash() -> Weight {
711 // Proof Size summary in bytes:
712 // Measured: `30`
713 // Estimated: `3495`
714 // Minimum execution time: 3_600_000 picoseconds.
715 Weight::from_parts(3_830_000, 3495)
716 .saturating_add(T::DbWeight::get().reads(1_u64))
717 }
718 fn seal_now() -> Weight {
719 // Proof Size summary in bytes:
720 // Measured: `0`
721 // Estimated: `0`
722 // Minimum execution time: 239_000 picoseconds.
723 Weight::from_parts(276_000, 0)
724 }
725 fn seal_weight_to_fee() -> Weight {
726 // Proof Size summary in bytes:
727 // Measured: `0`
728 // Estimated: `0`
729 // Minimum execution time: 1_595_000 picoseconds.
730 Weight::from_parts(1_665_000, 0)
731 }
732 /// The range of component `n` is `[0, 1048572]`.
733 fn seal_copy_to_contract(n: u32, ) -> Weight {
734 // Proof Size summary in bytes:
735 // Measured: `0`
736 // Estimated: `0`
737 // Minimum execution time: 402_000 picoseconds.
738 Weight::from_parts(496_964, 0)
739 // Standard Error: 0
740 .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into()))
741 }
742 fn seal_call_data_load() -> Weight {
743 // Proof Size summary in bytes:
744 // Measured: `0`
745 // Estimated: `0`
746 // Minimum execution time: 250_000 picoseconds.
747 Weight::from_parts(289_000, 0)
748 }
749 /// The range of component `n` is `[0, 1048576]`.
750 fn seal_call_data_copy(n: u32, ) -> Weight {
751 // Proof Size summary in bytes:
752 // Measured: `0`
753 // Estimated: `0`
754 // Minimum execution time: 230_000 picoseconds.
755 Weight::from_parts(255_000, 0)
756 // Standard Error: 0
757 .saturating_add(Weight::from_parts(151, 0).saturating_mul(n.into()))
758 }
759 /// The range of component `n` is `[0, 131072]`.
760 fn seal_return(n: u32, ) -> Weight {
761 // Proof Size summary in bytes:
762 // Measured: `0`
763 // Estimated: `0`
764 // Minimum execution time: 253_000 picoseconds.
765 Weight::from_parts(544_296, 0)
766 // Standard Error: 0
767 .saturating_add(Weight::from_parts(237, 0).saturating_mul(n.into()))
768 }
769 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
770 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
771 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1)
772 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
773 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
774 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
775 /// Storage: `Balances::Holds` (r:1 w:1)
776 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
777 /// Storage: `System::Account` (r:1 w:1)
778 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
779 /// Storage: `Revive::DeletionQueue` (r:0 w:1)
780 /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
781 /// Storage: `Revive::PristineCode` (r:0 w:1)
782 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
783 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
784 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
785 /// The range of component `r` is `[0, 1]`.
786 fn seal_terminate(r: u32, ) -> Weight {
787 // Proof Size summary in bytes:
788 // Measured: `583 + r * (402 ±0)`
789 // Estimated: `4048 + r * (2225 ±0)`
790 // Minimum execution time: 16_727_000 picoseconds.
791 Weight::from_parts(17_739_285, 4048)
792 // Standard Error: 59_932
793 .saturating_add(Weight::from_parts(44_553_014, 0).saturating_mul(r.into()))
794 .saturating_add(T::DbWeight::get().reads(3_u64))
795 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into())))
796 .saturating_add(T::DbWeight::get().writes(4_u64))
797 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into())))
798 .saturating_add(Weight::from_parts(0, 2225).saturating_mul(r.into()))
799 }
800 /// The range of component `t` is `[0, 4]`.
801 /// The range of component `n` is `[0, 416]`.
802 fn seal_deposit_event(t: u32, n: u32, ) -> Weight {
803 // Proof Size summary in bytes:
804 // Measured: `0`
805 // Estimated: `0`
806 // Minimum execution time: 4_226_000 picoseconds.
807 Weight::from_parts(4_252_357, 0)
808 // Standard Error: 3_401
809 .saturating_add(Weight::from_parts(233_040, 0).saturating_mul(t.into()))
810 // Standard Error: 37
811 .saturating_add(Weight::from_parts(1_172, 0).saturating_mul(n.into()))
812 }
813 /// Storage: `Skipped::Metadata` (r:0 w:0)
814 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
815 fn get_storage_empty() -> Weight {
816 // Proof Size summary in bytes:
817 // Measured: `648`
818 // Estimated: `648`
819 // Minimum execution time: 6_909_000 picoseconds.
820 Weight::from_parts(7_499_000, 648)
821 .saturating_add(T::DbWeight::get().reads(1_u64))
822 }
823 /// Storage: `Skipped::Metadata` (r:0 w:0)
824 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
825 fn get_storage_full() -> Weight {
826 // Proof Size summary in bytes:
827 // Measured: `10658`
828 // Estimated: `10658`
829 // Minimum execution time: 41_173_000 picoseconds.
830 Weight::from_parts(42_303_000, 10658)
831 .saturating_add(T::DbWeight::get().reads(1_u64))
832 }
833 /// Storage: `Skipped::Metadata` (r:0 w:0)
834 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
835 fn set_storage_empty() -> Weight {
836 // Proof Size summary in bytes:
837 // Measured: `648`
838 // Estimated: `648`
839 // Minimum execution time: 8_428_000 picoseconds.
840 Weight::from_parts(8_817_000, 648)
841 .saturating_add(T::DbWeight::get().reads(1_u64))
842 .saturating_add(T::DbWeight::get().writes(1_u64))
843 }
844 /// Storage: `Skipped::Metadata` (r:0 w:0)
845 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
846 fn set_storage_full() -> Weight {
847 // Proof Size summary in bytes:
848 // Measured: `10658`
849 // Estimated: `10658`
850 // Minimum execution time: 43_627_000 picoseconds.
851 Weight::from_parts(44_777_000, 10658)
852 .saturating_add(T::DbWeight::get().reads(1_u64))
853 .saturating_add(T::DbWeight::get().writes(1_u64))
854 }
855 /// Storage: `Skipped::Metadata` (r:0 w:0)
856 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
857 /// The range of component `n` is `[0, 416]`.
858 /// The range of component `o` is `[0, 416]`.
859 fn seal_set_storage(n: u32, o: u32, ) -> Weight {
860 // Proof Size summary in bytes:
861 // Measured: `248 + o * (1 ±0)`
862 // Estimated: `247 + o * (1 ±0)`
863 // Minimum execution time: 8_934_000 picoseconds.
864 Weight::from_parts(9_589_880, 247)
865 // Standard Error: 65
866 .saturating_add(Weight::from_parts(667, 0).saturating_mul(n.into()))
867 // Standard Error: 65
868 .saturating_add(Weight::from_parts(821, 0).saturating_mul(o.into()))
869 .saturating_add(T::DbWeight::get().reads(1_u64))
870 .saturating_add(T::DbWeight::get().writes(1_u64))
871 .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into()))
872 }
873 /// Storage: `Skipped::Metadata` (r:0 w:0)
874 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
875 /// The range of component `n` is `[0, 416]`.
876 fn seal_clear_storage(n: u32, ) -> Weight {
877 // Proof Size summary in bytes:
878 // Measured: `248 + n * (1 ±0)`
879 // Estimated: `247 + n * (1 ±0)`
880 // Minimum execution time: 8_527_000 picoseconds.
881 Weight::from_parts(9_507_817, 247)
882 // Standard Error: 73
883 .saturating_add(Weight::from_parts(860, 0).saturating_mul(n.into()))
884 .saturating_add(T::DbWeight::get().reads(1_u64))
885 .saturating_add(T::DbWeight::get().writes(1_u64))
886 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
887 }
888 /// Storage: `Skipped::Metadata` (r:0 w:0)
889 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
890 /// The range of component `n` is `[0, 416]`.
891 fn seal_get_storage(n: u32, ) -> Weight {
892 // Proof Size summary in bytes:
893 // Measured: `248 + n * (1 ±0)`
894 // Estimated: `247 + n * (1 ±0)`
895 // Minimum execution time: 8_076_000 picoseconds.
896 Weight::from_parts(9_106_693, 247)
897 // Standard Error: 73
898 .saturating_add(Weight::from_parts(1_668, 0).saturating_mul(n.into()))
899 .saturating_add(T::DbWeight::get().reads(1_u64))
900 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
901 }
902 /// Storage: `Skipped::Metadata` (r:0 w:0)
903 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
904 /// The range of component `n` is `[0, 416]`.
905 fn seal_contains_storage(n: u32, ) -> Weight {
906 // Proof Size summary in bytes:
907 // Measured: `248 + n * (1 ±0)`
908 // Estimated: `247 + n * (1 ±0)`
909 // Minimum execution time: 7_571_000 picoseconds.
910 Weight::from_parts(8_454_639, 247)
911 // Standard Error: 69
912 .saturating_add(Weight::from_parts(888, 0).saturating_mul(n.into()))
913 .saturating_add(T::DbWeight::get().reads(1_u64))
914 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
915 }
916 /// Storage: `Skipped::Metadata` (r:0 w:0)
917 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
918 /// The range of component `n` is `[0, 416]`.
919 fn seal_take_storage(n: u32, ) -> Weight {
920 // Proof Size summary in bytes:
921 // Measured: `248 + n * (1 ±0)`
922 // Estimated: `247 + n * (1 ±0)`
923 // Minimum execution time: 9_140_000 picoseconds.
924 Weight::from_parts(10_132_276, 247)
925 // Standard Error: 70
926 .saturating_add(Weight::from_parts(1_866, 0).saturating_mul(n.into()))
927 .saturating_add(T::DbWeight::get().reads(1_u64))
928 .saturating_add(T::DbWeight::get().writes(1_u64))
929 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
930 }
931 fn set_transient_storage_empty() -> Weight {
932 // Proof Size summary in bytes:
933 // Measured: `0`
934 // Estimated: `0`
935 // Minimum execution time: 1_655_000 picoseconds.
936 Weight::from_parts(1_744_000, 0)
937 }
938 fn set_transient_storage_full() -> Weight {
939 // Proof Size summary in bytes:
940 // Measured: `0`
941 // Estimated: `0`
942 // Minimum execution time: 1_987_000 picoseconds.
943 Weight::from_parts(2_135_000, 0)
944 }
945 fn get_transient_storage_empty() -> Weight {
946 // Proof Size summary in bytes:
947 // Measured: `0`
948 // Estimated: `0`
949 // Minimum execution time: 1_641_000 picoseconds.
950 Weight::from_parts(1_751_000, 0)
951 }
952 fn get_transient_storage_full() -> Weight {
953 // Proof Size summary in bytes:
954 // Measured: `0`
955 // Estimated: `0`
956 // Minimum execution time: 1_732_000 picoseconds.
957 Weight::from_parts(1_891_000, 0)
958 }
959 fn rollback_transient_storage() -> Weight {
960 // Proof Size summary in bytes:
961 // Measured: `0`
962 // Estimated: `0`
963 // Minimum execution time: 1_237_000 picoseconds.
964 Weight::from_parts(1_378_000, 0)
965 }
966 /// The range of component `n` is `[0, 416]`.
967 /// The range of component `o` is `[0, 416]`.
968 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight {
969 // Proof Size summary in bytes:
970 // Measured: `0`
971 // Estimated: `0`
972 // Minimum execution time: 2_283_000 picoseconds.
973 Weight::from_parts(2_636_514, 0)
974 // Standard Error: 19
975 .saturating_add(Weight::from_parts(296, 0).saturating_mul(n.into()))
976 // Standard Error: 19
977 .saturating_add(Weight::from_parts(374, 0).saturating_mul(o.into()))
978 }
979 /// The range of component `n` is `[0, 416]`.
980 fn seal_clear_transient_storage(n: u32, ) -> Weight {
981 // Proof Size summary in bytes:
982 // Measured: `0`
983 // Estimated: `0`
984 // Minimum execution time: 2_171_000 picoseconds.
985 Weight::from_parts(2_555_844, 0)
986 // Standard Error: 23
987 .saturating_add(Weight::from_parts(468, 0).saturating_mul(n.into()))
988 }
989 /// The range of component `n` is `[0, 416]`.
990 fn seal_get_transient_storage(n: u32, ) -> Weight {
991 // Proof Size summary in bytes:
992 // Measured: `0`
993 // Estimated: `0`
994 // Minimum execution time: 1_985_000 picoseconds.
995 Weight::from_parts(2_277_401, 0)
996 // Standard Error: 21
997 .saturating_add(Weight::from_parts(394, 0).saturating_mul(n.into()))
998 }
999 /// The range of component `n` is `[0, 416]`.
1000 fn seal_contains_transient_storage(n: u32, ) -> Weight {
1001 // Proof Size summary in bytes:
1002 // Measured: `0`
1003 // Estimated: `0`
1004 // Minimum execution time: 1_784_000 picoseconds.
1005 Weight::from_parts(2_034_472, 0)
1006 // Standard Error: 16
1007 .saturating_add(Weight::from_parts(214, 0).saturating_mul(n.into()))
1008 }
1009 /// The range of component `n` is `[0, 416]`.
1010 fn seal_take_transient_storage(_n: u32, ) -> Weight {
1011 // Proof Size summary in bytes:
1012 // Measured: `0`
1013 // Estimated: `0`
1014 // Minimum execution time: 2_653_000 picoseconds.
1015 Weight::from_parts(2_929_498, 0)
1016 }
1017 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1018 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1019 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1020 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1021 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1022 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1023 /// Storage: `Revive::PristineCode` (r:1 w:0)
1024 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1025 /// Storage: `System::Account` (r:1 w:1)
1026 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1027 /// The range of component `t` is `[0, 1]`.
1028 /// The range of component `d` is `[0, 1]`.
1029 /// The range of component `i` is `[0, 1048576]`.
1030 fn seal_call(t: u32, d: u32, i: u32, ) -> Weight {
1031 // Proof Size summary in bytes:
1032 // Measured: `1925`
1033 // Estimated: `5390`
1034 // Minimum execution time: 88_292_000 picoseconds.
1035 Weight::from_parts(67_934_136, 5390)
1036 // Standard Error: 161_519
1037 .saturating_add(Weight::from_parts(19_069_368, 0).saturating_mul(t.into()))
1038 // Standard Error: 161_519
1039 .saturating_add(Weight::from_parts(25_783_515, 0).saturating_mul(d.into()))
1040 // Standard Error: 0
1041 .saturating_add(Weight::from_parts(4, 0).saturating_mul(i.into()))
1042 .saturating_add(T::DbWeight::get().reads(5_u64))
1043 .saturating_add(T::DbWeight::get().writes(1_u64))
1044 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
1045 }
1046 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1047 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1048 /// Storage: `System::Account` (r:1 w:0)
1049 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1050 /// The range of component `d` is `[0, 1]`.
1051 /// The range of component `i` is `[0, 130972]`.
1052 fn seal_call_precompile(d: u32, i: u32, ) -> Weight {
1053 // Proof Size summary in bytes:
1054 // Measured: `366 + d * (212 ±0)`
1055 // Estimated: `2021 + d * (2021 ±0)`
1056 // Minimum execution time: 24_082_000 picoseconds.
1057 Weight::from_parts(11_635_002, 2021)
1058 // Standard Error: 32_873
1059 .saturating_add(Weight::from_parts(13_461_671, 0).saturating_mul(d.into()))
1060 // Standard Error: 0
1061 .saturating_add(Weight::from_parts(395, 0).saturating_mul(i.into()))
1062 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into())))
1063 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into())))
1064 .saturating_add(Weight::from_parts(0, 2021).saturating_mul(d.into()))
1065 }
1066 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1067 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1068 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1069 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1070 /// Storage: `Revive::PristineCode` (r:1 w:0)
1071 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1072 fn seal_delegate_call() -> Weight {
1073 // Proof Size summary in bytes:
1074 // Measured: `1363`
1075 // Estimated: `4828`
1076 // Minimum execution time: 31_965_000 picoseconds.
1077 Weight::from_parts(33_059_000, 4828)
1078 .saturating_add(T::DbWeight::get().reads(3_u64))
1079 }
1080 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1081 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1082 /// Storage: `Revive::PristineCode` (r:1 w:0)
1083 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1084 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1085 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1086 /// Storage: `System::Account` (r:1 w:1)
1087 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1088 /// The range of component `t` is `[0, 1]`.
1089 /// The range of component `d` is `[0, 1]`.
1090 /// The range of component `i` is `[0, 131072]`.
1091 fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight {
1092 // Proof Size summary in bytes:
1093 // Measured: `1413`
1094 // Estimated: `4857 + d * (28 ±1) + t * (28 ±1)`
1095 // Minimum execution time: 150_124_000 picoseconds.
1096 Weight::from_parts(100_922_263, 4857)
1097 // Standard Error: 553_691
1098 .saturating_add(Weight::from_parts(21_824_333, 0).saturating_mul(t.into()))
1099 // Standard Error: 553_691
1100 .saturating_add(Weight::from_parts(30_090_103, 0).saturating_mul(d.into()))
1101 // Standard Error: 6
1102 .saturating_add(Weight::from_parts(4_031, 0).saturating_mul(i.into()))
1103 .saturating_add(T::DbWeight::get().reads(4_u64))
1104 .saturating_add(T::DbWeight::get().writes(3_u64))
1105 .saturating_add(Weight::from_parts(0, 28).saturating_mul(d.into()))
1106 .saturating_add(Weight::from_parts(0, 28).saturating_mul(t.into()))
1107 }
1108 /// The range of component `n` is `[0, 1048576]`.
1109 fn sha2_256(n: u32, ) -> Weight {
1110 // Proof Size summary in bytes:
1111 // Measured: `0`
1112 // Estimated: `0`
1113 // Minimum execution time: 1_198_000 picoseconds.
1114 Weight::from_parts(5_902_477, 0)
1115 // Standard Error: 0
1116 .saturating_add(Weight::from_parts(1_301, 0).saturating_mul(n.into()))
1117 }
1118 /// The range of component `n` is `[0, 1048576]`.
1119 fn identity(n: u32, ) -> Weight {
1120 // Proof Size summary in bytes:
1121 // Measured: `0`
1122 // Estimated: `0`
1123 // Minimum execution time: 710_000 picoseconds.
1124 Weight::from_parts(583_657, 0)
1125 // Standard Error: 0
1126 .saturating_add(Weight::from_parts(148, 0).saturating_mul(n.into()))
1127 }
1128 /// The range of component `n` is `[0, 1048576]`.
1129 fn ripemd_160(n: u32, ) -> Weight {
1130 // Proof Size summary in bytes:
1131 // Measured: `0`
1132 // Estimated: `0`
1133 // Minimum execution time: 1_145_000 picoseconds.
1134 Weight::from_parts(5_218_490, 0)
1135 // Standard Error: 2
1136 .saturating_add(Weight::from_parts(3_770, 0).saturating_mul(n.into()))
1137 }
1138 /// The range of component `n` is `[0, 1048576]`.
1139 fn seal_hash_keccak_256(n: u32, ) -> Weight {
1140 // Proof Size summary in bytes:
1141 // Measured: `0`
1142 // Estimated: `0`
1143 // Minimum execution time: 1_133_000 picoseconds.
1144 Weight::from_parts(12_018_626, 0)
1145 // Standard Error: 1
1146 .saturating_add(Weight::from_parts(3_591, 0).saturating_mul(n.into()))
1147 }
1148 /// The range of component `n` is `[0, 1048576]`.
1149 fn hash_blake2_256(n: u32, ) -> Weight {
1150 // Proof Size summary in bytes:
1151 // Measured: `0`
1152 // Estimated: `0`
1153 // Minimum execution time: 1_594_000 picoseconds.
1154 Weight::from_parts(16_080_940, 0)
1155 // Standard Error: 0
1156 .saturating_add(Weight::from_parts(1_437, 0).saturating_mul(n.into()))
1157 }
1158 /// The range of component `n` is `[0, 1048576]`.
1159 fn hash_blake2_128(n: u32, ) -> Weight {
1160 // Proof Size summary in bytes:
1161 // Measured: `0`
1162 // Estimated: `0`
1163 // Minimum execution time: 1_493_000 picoseconds.
1164 Weight::from_parts(12_215_603, 0)
1165 // Standard Error: 0
1166 .saturating_add(Weight::from_parts(1_440, 0).saturating_mul(n.into()))
1167 }
1168 /// The range of component `n` is `[0, 1048321]`.
1169 fn seal_sr25519_verify(n: u32, ) -> Weight {
1170 // Proof Size summary in bytes:
1171 // Measured: `0`
1172 // Estimated: `0`
1173 // Minimum execution time: 42_270_000 picoseconds.
1174 Weight::from_parts(93_835_987, 0)
1175 // Standard Error: 4
1176 .saturating_add(Weight::from_parts(5_026, 0).saturating_mul(n.into()))
1177 }
1178 fn ecdsa_recover() -> Weight {
1179 // Proof Size summary in bytes:
1180 // Measured: `0`
1181 // Estimated: `0`
1182 // Minimum execution time: 45_951_000 picoseconds.
1183 Weight::from_parts(46_894_000, 0)
1184 }
1185 fn bn128_add() -> Weight {
1186 // Proof Size summary in bytes:
1187 // Measured: `0`
1188 // Estimated: `0`
1189 // Minimum execution time: 14_272_000 picoseconds.
1190 Weight::from_parts(15_204_000, 0)
1191 }
1192 fn bn128_mul() -> Weight {
1193 // Proof Size summary in bytes:
1194 // Measured: `0`
1195 // Estimated: `0`
1196 // Minimum execution time: 980_350_000 picoseconds.
1197 Weight::from_parts(988_695_000, 0)
1198 }
1199 /// The range of component `n` is `[0, 20]`.
1200 fn bn128_pairing(n: u32, ) -> Weight {
1201 // Proof Size summary in bytes:
1202 // Measured: `0`
1203 // Estimated: `0`
1204 // Minimum execution time: 760_000 picoseconds.
1205 Weight::from_parts(4_873_448_313, 0)
1206 // Standard Error: 10_617_668
1207 .saturating_add(Weight::from_parts(5_964_183_373, 0).saturating_mul(n.into()))
1208 }
1209 /// The range of component `n` is `[0, 1200]`.
1210 fn blake2f(n: u32, ) -> Weight {
1211 // Proof Size summary in bytes:
1212 // Measured: `0`
1213 // Estimated: `0`
1214 // Minimum execution time: 914_000 picoseconds.
1215 Weight::from_parts(1_152_510, 0)
1216 // Standard Error: 10
1217 .saturating_add(Weight::from_parts(28_870, 0).saturating_mul(n.into()))
1218 }
1219 fn seal_ecdsa_to_eth_address() -> Weight {
1220 // Proof Size summary in bytes:
1221 // Measured: `0`
1222 // Estimated: `0`
1223 // Minimum execution time: 12_862_000 picoseconds.
1224 Weight::from_parts(13_004_000, 0)
1225 }
1226 /// Storage: `Revive::CodeInfoOf` (r:2 w:2)
1227 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1228 /// Storage: `Balances::Holds` (r:1 w:1)
1229 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1230 /// Storage: `System::Account` (r:1 w:1)
1231 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1232 /// Storage: `Revive::PristineCode` (r:0 w:1)
1233 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1234 /// The range of component `r` is `[0, 1]`.
1235 fn seal_set_code_hash(r: u32, ) -> Weight {
1236 // Proof Size summary in bytes:
1237 // Measured: `391 + r * (468 ±0)`
1238 // Estimated: `6331 + r * (2162 ±0)`
1239 // Minimum execution time: 14_987_000 picoseconds.
1240 Weight::from_parts(15_935_167, 6331)
1241 // Standard Error: 52_524
1242 .saturating_add(Weight::from_parts(45_530_232, 0).saturating_mul(r.into()))
1243 .saturating_add(T::DbWeight::get().reads(2_u64))
1244 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into())))
1245 .saturating_add(T::DbWeight::get().writes(2_u64))
1246 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into())))
1247 .saturating_add(Weight::from_parts(0, 2162).saturating_mul(r.into()))
1248 }
1249 /// The range of component `r` is `[0, 10000]`.
1250 fn evm_opcode(r: u32, ) -> Weight {
1251 // Proof Size summary in bytes:
1252 // Measured: `0`
1253 // Estimated: `0`
1254 // Minimum execution time: 1_206_000 picoseconds.
1255 Weight::from_parts(1_895_352, 0)
1256 // Standard Error: 19
1257 .saturating_add(Weight::from_parts(6_177, 0).saturating_mul(r.into()))
1258 }
1259 /// The range of component `r` is `[0, 10000]`.
1260 fn instr(r: u32, ) -> Weight {
1261 // Proof Size summary in bytes:
1262 // Measured: `0`
1263 // Estimated: `0`
1264 // Minimum execution time: 12_772_000 picoseconds.
1265 Weight::from_parts(53_405_104, 0)
1266 // Standard Error: 346
1267 .saturating_add(Weight::from_parts(125_622, 0).saturating_mul(r.into()))
1268 }
1269 /// The range of component `r` is `[0, 10000]`.
1270 fn instr_empty_loop(r: u32, ) -> Weight {
1271 // Proof Size summary in bytes:
1272 // Measured: `0`
1273 // Estimated: `0`
1274 // Minimum execution time: 3_147_000 picoseconds.
1275 Weight::from_parts(1_883_710, 0)
1276 // Standard Error: 47
1277 .saturating_add(Weight::from_parts(71_984, 0).saturating_mul(r.into()))
1278 }
1279 /// Storage: `Revive::PristineCode` (r:1 w:0)
1280 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1281 /// The range of component `n` is `[1000, 10000]`.
1282 fn extcodecopy(n: u32, ) -> Weight {
1283 // Proof Size summary in bytes:
1284 // Measured: `457 + n * (1 ±0)`
1285 // Estimated: `3922 + n * (1 ±0)`
1286 // Minimum execution time: 14_211_000 picoseconds.
1287 Weight::from_parts(13_786_057, 3922)
1288 // Standard Error: 14
1289 .saturating_add(Weight::from_parts(1_062, 0).saturating_mul(n.into()))
1290 .saturating_add(T::DbWeight::get().reads(1_u64))
1291 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1292 }
1293 /// Storage: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
1294 /// Proof: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
1295 /// Storage: `Revive::AccountInfoOf` (r:0 w:1)
1296 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`)
1297 fn v1_migration_step() -> Weight {
1298 // Proof Size summary in bytes:
1299 // Measured: `316`
1300 // Estimated: `6256`
1301 // Minimum execution time: 11_898_000 picoseconds.
1302 Weight::from_parts(12_772_000, 6256)
1303 .saturating_add(T::DbWeight::get().reads(2_u64))
1304 .saturating_add(T::DbWeight::get().writes(2_u64))
1305 }
1306 /// Storage: `System::Account` (r:1 w:1)
1307 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1308 /// Storage: `Revive::CodeInfoOf` (r:2 w:1)
1309 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`)
1310 /// Storage: `Balances::Holds` (r:2 w:2)
1311 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
1312 fn v2_migration_step() -> Weight {
1313 // Proof Size summary in bytes:
1314 // Measured: `439`
1315 // Estimated: `6794`
1316 // Minimum execution time: 62_964_000 picoseconds.
1317 Weight::from_parts(64_865_000, 6794)
1318 .saturating_add(T::DbWeight::get().reads(5_u64))
1319 .saturating_add(T::DbWeight::get().writes(4_u64))
1320 }
1321}
1322
1323// For backwards compatibility and tests.
1324impl WeightInfo for () {
1325 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:0)
1326 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1327 fn on_process_deletion_queue_batch() -> Weight {
1328 // Proof Size summary in bytes:
1329 // Measured: `147`
1330 // Estimated: `1632`
1331 // Minimum execution time: 3_103_000 picoseconds.
1332 Weight::from_parts(3_288_000, 1632)
1333 .saturating_add(RocksDbWeight::get().reads(1_u64))
1334 }
1335 /// Storage: `Skipped::Metadata` (r:0 w:0)
1336 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1337 /// The range of component `k` is `[0, 1024]`.
1338 fn on_initialize_per_trie_key(k: u32, ) -> Weight {
1339 // Proof Size summary in bytes:
1340 // Measured: `458 + k * (69 ±0)`
1341 // Estimated: `448 + k * (70 ±0)`
1342 // Minimum execution time: 14_393_000 picoseconds.
1343 Weight::from_parts(14_689_000, 448)
1344 // Standard Error: 1_032
1345 .saturating_add(Weight::from_parts(1_205_681, 0).saturating_mul(k.into()))
1346 .saturating_add(RocksDbWeight::get().reads(2_u64))
1347 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into())))
1348 .saturating_add(RocksDbWeight::get().writes(2_u64))
1349 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
1350 .saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
1351 }
1352 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1353 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1354 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1355 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1356 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1357 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1358 /// Storage: `Revive::PristineCode` (r:1 w:0)
1359 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1360 /// Storage: `Timestamp::Now` (r:1 w:0)
1361 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1362 /// Storage: `System::Account` (r:1 w:1)
1363 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1364 /// The range of component `c` is `[0, 102400]`.
1365 fn call_with_pvm_code_per_byte(c: u32, ) -> Weight {
1366 // Proof Size summary in bytes:
1367 // Measured: `1172 + c * (1 ±0)`
1368 // Estimated: `7107 + c * (1 ±0)`
1369 // Minimum execution time: 85_415_000 picoseconds.
1370 Weight::from_parts(120_226_734, 7107)
1371 // Standard Error: 10
1372 .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(c.into()))
1373 .saturating_add(RocksDbWeight::get().reads(7_u64))
1374 .saturating_add(RocksDbWeight::get().writes(2_u64))
1375 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
1376 }
1377 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1378 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1379 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1380 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1381 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1382 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1383 /// Storage: `Revive::PristineCode` (r:1 w:0)
1384 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1385 /// Storage: `Timestamp::Now` (r:1 w:0)
1386 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1387 /// Storage: `System::Account` (r:1 w:1)
1388 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1389 /// The range of component `c` is `[1, 10240]`.
1390 fn call_with_evm_code_per_byte(_c: u32, ) -> Weight {
1391 // Proof Size summary in bytes:
1392 // Measured: `1112`
1393 // Estimated: `7051`
1394 // Minimum execution time: 80_503_000 picoseconds.
1395 Weight::from_parts(84_811_467, 7051)
1396 .saturating_add(RocksDbWeight::get().reads(7_u64))
1397 .saturating_add(RocksDbWeight::get().writes(2_u64))
1398 }
1399 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1400 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1401 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1402 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1403 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1404 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1405 /// Storage: `Revive::PristineCode` (r:1 w:0)
1406 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1407 /// Storage: `Timestamp::Now` (r:1 w:0)
1408 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1409 /// Storage: `System::Account` (r:1 w:1)
1410 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1411 /// The range of component `b` is `[0, 1]`.
1412 fn basic_block_compilation(_b: u32, ) -> Weight {
1413 // Proof Size summary in bytes:
1414 // Measured: `4516`
1415 // Estimated: `10456`
1416 // Minimum execution time: 123_461_000 picoseconds.
1417 Weight::from_parts(128_775_940, 10456)
1418 .saturating_add(RocksDbWeight::get().reads(7_u64))
1419 .saturating_add(RocksDbWeight::get().writes(2_u64))
1420 }
1421 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1422 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1423 /// Storage: `Balances::Holds` (r:2 w:2)
1424 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1425 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1426 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1427 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1428 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1429 /// Storage: `Timestamp::Now` (r:1 w:0)
1430 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1431 /// Storage: `System::Account` (r:1 w:1)
1432 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1433 /// Storage: `Revive::PristineCode` (r:0 w:1)
1434 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1435 /// The range of component `c` is `[0, 102400]`.
1436 /// The range of component `i` is `[0, 131072]`.
1437 fn instantiate_with_code(c: u32, i: u32, ) -> Weight {
1438 // Proof Size summary in bytes:
1439 // Measured: `881`
1440 // Estimated: `6811`
1441 // Minimum execution time: 749_503_000 picoseconds.
1442 Weight::from_parts(59_829_896, 6811)
1443 // Standard Error: 35
1444 .saturating_add(Weight::from_parts(20_233, 0).saturating_mul(c.into()))
1445 // Standard Error: 27
1446 .saturating_add(Weight::from_parts(5_057, 0).saturating_mul(i.into()))
1447 .saturating_add(RocksDbWeight::get().reads(7_u64))
1448 .saturating_add(RocksDbWeight::get().writes(6_u64))
1449 }
1450 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1451 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1452 /// Storage: `Balances::Holds` (r:2 w:2)
1453 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1454 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1455 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1456 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
1457 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1458 /// Storage: `Timestamp::Now` (r:1 w:0)
1459 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1460 /// Storage: `System::Account` (r:1 w:1)
1461 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1462 /// Storage: `Revive::PristineCode` (r:0 w:1)
1463 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1464 /// The range of component `c` is `[0, 102400]`.
1465 /// The range of component `i` is `[0, 131072]`.
1466 /// The range of component `d` is `[0, 1]`.
1467 fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight {
1468 // Proof Size summary in bytes:
1469 // Measured: `881`
1470 // Estimated: `6821 + d * (2475 ±0)`
1471 // Minimum execution time: 277_185_000 picoseconds.
1472 Weight::from_parts(147_220_906, 6821)
1473 // Standard Error: 29
1474 .saturating_add(Weight::from_parts(15_202, 0).saturating_mul(c.into()))
1475 // Standard Error: 23
1476 .saturating_add(Weight::from_parts(642, 0).saturating_mul(i.into()))
1477 // Standard Error: 1_934_039
1478 .saturating_add(Weight::from_parts(34_192_978, 0).saturating_mul(d.into()))
1479 .saturating_add(RocksDbWeight::get().reads(7_u64))
1480 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(d.into())))
1481 .saturating_add(RocksDbWeight::get().writes(6_u64))
1482 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into())))
1483 .saturating_add(Weight::from_parts(0, 2475).saturating_mul(d.into()))
1484 }
1485 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1486 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1487 /// Storage: `Revive::PristineCode` (r:1 w:0)
1488 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1489 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1490 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1491 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1492 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1493 /// Storage: `Timestamp::Now` (r:1 w:0)
1494 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1495 /// Storage: `System::Account` (r:1 w:1)
1496 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1497 /// Storage: `Balances::Holds` (r:1 w:1)
1498 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1499 /// The range of component `i` is `[0, 131072]`.
1500 fn instantiate(i: u32, ) -> Weight {
1501 // Proof Size summary in bytes:
1502 // Measured: `1610`
1503 // Estimated: `5060`
1504 // Minimum execution time: 168_670_000 picoseconds.
1505 Weight::from_parts(175_522_603, 5060)
1506 // Standard Error: 12
1507 .saturating_add(Weight::from_parts(4_260, 0).saturating_mul(i.into()))
1508 .saturating_add(RocksDbWeight::get().reads(7_u64))
1509 .saturating_add(RocksDbWeight::get().writes(4_u64))
1510 }
1511 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1512 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1513 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1514 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1515 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1516 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1517 /// Storage: `Revive::PristineCode` (r:1 w:0)
1518 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1519 /// Storage: `Timestamp::Now` (r:1 w:0)
1520 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1521 /// Storage: `System::Account` (r:1 w:1)
1522 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1523 fn call() -> Weight {
1524 // Proof Size summary in bytes:
1525 // Measured: `1794`
1526 // Estimated: `7734`
1527 // Minimum execution time: 86_819_000 picoseconds.
1528 Weight::from_parts(89_536_000, 7734)
1529 .saturating_add(RocksDbWeight::get().reads(7_u64))
1530 .saturating_add(RocksDbWeight::get().writes(2_u64))
1531 }
1532 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1533 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1534 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
1535 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1536 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1537 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1538 /// Storage: `Revive::PristineCode` (r:1 w:0)
1539 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1540 /// Storage: `Timestamp::Now` (r:1 w:0)
1541 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1542 /// Storage: `System::Account` (r:1 w:1)
1543 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1544 /// The range of component `d` is `[0, 1]`.
1545 fn eth_call(d: u32, ) -> Weight {
1546 // Proof Size summary in bytes:
1547 // Measured: `1794`
1548 // Estimated: `7734 + d * (2475 ±0)`
1549 // Minimum execution time: 85_649_000 picoseconds.
1550 Weight::from_parts(90_277_271, 7734)
1551 // Standard Error: 333_872
1552 .saturating_add(Weight::from_parts(26_832_228, 0).saturating_mul(d.into()))
1553 .saturating_add(RocksDbWeight::get().reads(7_u64))
1554 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(d.into())))
1555 .saturating_add(RocksDbWeight::get().writes(2_u64))
1556 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into())))
1557 .saturating_add(Weight::from_parts(0, 2475).saturating_mul(d.into()))
1558 }
1559 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1560 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1561 /// Storage: `Balances::Holds` (r:1 w:1)
1562 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1563 /// Storage: `Revive::PristineCode` (r:0 w:1)
1564 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1565 /// The range of component `c` is `[0, 102400]`.
1566 fn upload_code(c: u32, ) -> Weight {
1567 // Proof Size summary in bytes:
1568 // Measured: `303`
1569 // Estimated: `3768`
1570 // Minimum execution time: 56_015_000 picoseconds.
1571 Weight::from_parts(44_756_550, 3768)
1572 // Standard Error: 17
1573 .saturating_add(Weight::from_parts(14_377, 0).saturating_mul(c.into()))
1574 .saturating_add(RocksDbWeight::get().reads(2_u64))
1575 .saturating_add(RocksDbWeight::get().writes(3_u64))
1576 }
1577 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1578 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1579 /// Storage: `Balances::Holds` (r:1 w:1)
1580 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1581 /// Storage: `Revive::PristineCode` (r:0 w:1)
1582 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1583 fn remove_code() -> Weight {
1584 // Proof Size summary in bytes:
1585 // Measured: `458`
1586 // Estimated: `3923`
1587 // Minimum execution time: 51_807_000 picoseconds.
1588 Weight::from_parts(53_562_000, 3923)
1589 .saturating_add(RocksDbWeight::get().reads(2_u64))
1590 .saturating_add(RocksDbWeight::get().writes(3_u64))
1591 }
1592 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1593 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1594 /// Storage: `Revive::CodeInfoOf` (r:2 w:2)
1595 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1596 /// Storage: `Balances::Holds` (r:1 w:1)
1597 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1598 /// Storage: `System::Account` (r:1 w:1)
1599 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1600 /// Storage: `Revive::PristineCode` (r:0 w:1)
1601 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1602 fn set_code() -> Weight {
1603 // Proof Size summary in bytes:
1604 // Measured: `797`
1605 // Estimated: `6737`
1606 // Minimum execution time: 65_431_000 picoseconds.
1607 Weight::from_parts(66_763_000, 6737)
1608 .saturating_add(RocksDbWeight::get().reads(5_u64))
1609 .saturating_add(RocksDbWeight::get().writes(6_u64))
1610 }
1611 /// Storage: `Revive::OriginalAccount` (r:1 w:1)
1612 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1613 /// Storage: `Balances::Holds` (r:1 w:1)
1614 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1615 fn map_account() -> Weight {
1616 // Proof Size summary in bytes:
1617 // Measured: `510`
1618 // Estimated: `3975`
1619 // Minimum execution time: 54_271_000 picoseconds.
1620 Weight::from_parts(55_618_000, 3975)
1621 .saturating_add(RocksDbWeight::get().reads(2_u64))
1622 .saturating_add(RocksDbWeight::get().writes(2_u64))
1623 }
1624 /// Storage: `Balances::Holds` (r:1 w:1)
1625 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1626 /// Storage: `Revive::OriginalAccount` (r:0 w:1)
1627 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1628 fn unmap_account() -> Weight {
1629 // Proof Size summary in bytes:
1630 // Measured: `93`
1631 // Estimated: `3558`
1632 // Minimum execution time: 38_990_000 picoseconds.
1633 Weight::from_parts(39_656_000, 3558)
1634 .saturating_add(RocksDbWeight::get().reads(1_u64))
1635 .saturating_add(RocksDbWeight::get().writes(2_u64))
1636 }
1637 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
1638 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
1639 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
1640 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`)
1641 fn dispatch_as_fallback_account() -> Weight {
1642 // Proof Size summary in bytes:
1643 // Measured: `145`
1644 // Estimated: `3610`
1645 // Minimum execution time: 13_086_000 picoseconds.
1646 Weight::from_parts(13_681_000, 3610)
1647 .saturating_add(RocksDbWeight::get().reads(2_u64))
1648 }
1649 /// The range of component `r` is `[0, 1600]`.
1650 fn noop_host_fn(r: u32, ) -> Weight {
1651 // Proof Size summary in bytes:
1652 // Measured: `0`
1653 // Estimated: `0`
1654 // Minimum execution time: 7_423_000 picoseconds.
1655 Weight::from_parts(9_149_999, 0)
1656 // Standard Error: 227
1657 .saturating_add(Weight::from_parts(180_894, 0).saturating_mul(r.into()))
1658 }
1659 fn seal_caller() -> Weight {
1660 // Proof Size summary in bytes:
1661 // Measured: `0`
1662 // Estimated: `0`
1663 // Minimum execution time: 294_000 picoseconds.
1664 Weight::from_parts(330_000, 0)
1665 }
1666 fn seal_origin() -> Weight {
1667 // Proof Size summary in bytes:
1668 // Measured: `0`
1669 // Estimated: `0`
1670 // Minimum execution time: 270_000 picoseconds.
1671 Weight::from_parts(317_000, 0)
1672 }
1673 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1674 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1675 fn to_account_id() -> Weight {
1676 // Proof Size summary in bytes:
1677 // Measured: `567`
1678 // Estimated: `4032`
1679 // Minimum execution time: 7_773_000 picoseconds.
1680 Weight::from_parts(8_282_000, 4032)
1681 .saturating_add(RocksDbWeight::get().reads(1_u64))
1682 }
1683 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1684 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1685 fn seal_code_hash() -> Weight {
1686 // Proof Size summary in bytes:
1687 // Measured: `403`
1688 // Estimated: `3868`
1689 // Minimum execution time: 9_567_000 picoseconds.
1690 Weight::from_parts(9_975_000, 3868)
1691 .saturating_add(RocksDbWeight::get().reads(1_u64))
1692 }
1693 fn own_code_hash() -> Weight {
1694 // Proof Size summary in bytes:
1695 // Measured: `0`
1696 // Estimated: `0`
1697 // Minimum execution time: 252_000 picoseconds.
1698 Weight::from_parts(301_000, 0)
1699 }
1700 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1701 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1702 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1703 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1704 fn seal_code_size() -> Weight {
1705 // Proof Size summary in bytes:
1706 // Measured: `475`
1707 // Estimated: `3940`
1708 // Minimum execution time: 13_090_000 picoseconds.
1709 Weight::from_parts(13_527_000, 3940)
1710 .saturating_add(RocksDbWeight::get().reads(2_u64))
1711 }
1712 fn caller_is_origin() -> Weight {
1713 // Proof Size summary in bytes:
1714 // Measured: `0`
1715 // Estimated: `0`
1716 // Minimum execution time: 337_000 picoseconds.
1717 Weight::from_parts(375_000, 0)
1718 }
1719 fn caller_is_root() -> Weight {
1720 // Proof Size summary in bytes:
1721 // Measured: `0`
1722 // Estimated: `0`
1723 // Minimum execution time: 258_000 picoseconds.
1724 Weight::from_parts(300_000, 0)
1725 }
1726 fn seal_address() -> Weight {
1727 // Proof Size summary in bytes:
1728 // Measured: `0`
1729 // Estimated: `0`
1730 // Minimum execution time: 308_000 picoseconds.
1731 Weight::from_parts(352_000, 0)
1732 }
1733 fn weight_left() -> Weight {
1734 // Proof Size summary in bytes:
1735 // Measured: `0`
1736 // Estimated: `0`
1737 // Minimum execution time: 687_000 picoseconds.
1738 Weight::from_parts(776_000, 0)
1739 }
1740 fn seal_ref_time_left() -> Weight {
1741 // Proof Size summary in bytes:
1742 // Measured: `0`
1743 // Estimated: `0`
1744 // Minimum execution time: 247_000 picoseconds.
1745 Weight::from_parts(278_000, 0)
1746 }
1747 fn seal_balance() -> Weight {
1748 // Proof Size summary in bytes:
1749 // Measured: `540`
1750 // Estimated: `0`
1751 // Minimum execution time: 12_447_000 picoseconds.
1752 Weight::from_parts(13_433_000, 0)
1753 }
1754 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1755 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1756 /// Storage: `System::Account` (r:1 w:0)
1757 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1758 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1759 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1760 fn seal_balance_of() -> Weight {
1761 // Proof Size summary in bytes:
1762 // Measured: `791`
1763 // Estimated: `4256`
1764 // Minimum execution time: 18_806_000 picoseconds.
1765 Weight::from_parts(19_217_000, 4256)
1766 .saturating_add(RocksDbWeight::get().reads(3_u64))
1767 }
1768 /// Storage: `Revive::ImmutableDataOf` (r:1 w:0)
1769 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
1770 /// The range of component `n` is `[1, 4096]`.
1771 fn seal_get_immutable_data(n: u32, ) -> Weight {
1772 // Proof Size summary in bytes:
1773 // Measured: `271 + n * (1 ±0)`
1774 // Estimated: `3736 + n * (1 ±0)`
1775 // Minimum execution time: 5_800_000 picoseconds.
1776 Weight::from_parts(6_657_021, 3736)
1777 // Standard Error: 6
1778 .saturating_add(Weight::from_parts(595, 0).saturating_mul(n.into()))
1779 .saturating_add(RocksDbWeight::get().reads(1_u64))
1780 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1781 }
1782 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
1783 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
1784 /// The range of component `n` is `[1, 4096]`.
1785 fn seal_set_immutable_data(n: u32, ) -> Weight {
1786 // Proof Size summary in bytes:
1787 // Measured: `0`
1788 // Estimated: `0`
1789 // Minimum execution time: 2_057_000 picoseconds.
1790 Weight::from_parts(2_320_795, 0)
1791 // Standard Error: 2
1792 .saturating_add(Weight::from_parts(558, 0).saturating_mul(n.into()))
1793 .saturating_add(RocksDbWeight::get().writes(1_u64))
1794 }
1795 fn seal_value_transferred() -> Weight {
1796 // Proof Size summary in bytes:
1797 // Measured: `0`
1798 // Estimated: `0`
1799 // Minimum execution time: 260_000 picoseconds.
1800 Weight::from_parts(293_000, 0)
1801 }
1802 fn minimum_balance() -> Weight {
1803 // Proof Size summary in bytes:
1804 // Measured: `0`
1805 // Estimated: `0`
1806 // Minimum execution time: 233_000 picoseconds.
1807 Weight::from_parts(291_000, 0)
1808 }
1809 fn seal_return_data_size() -> Weight {
1810 // Proof Size summary in bytes:
1811 // Measured: `0`
1812 // Estimated: `0`
1813 // Minimum execution time: 232_000 picoseconds.
1814 Weight::from_parts(262_000, 0)
1815 }
1816 fn seal_call_data_size() -> Weight {
1817 // Proof Size summary in bytes:
1818 // Measured: `0`
1819 // Estimated: `0`
1820 // Minimum execution time: 234_000 picoseconds.
1821 Weight::from_parts(273_000, 0)
1822 }
1823 fn seal_gas_limit() -> Weight {
1824 // Proof Size summary in bytes:
1825 // Measured: `0`
1826 // Estimated: `0`
1827 // Minimum execution time: 441_000 picoseconds.
1828 Weight::from_parts(523_000, 0)
1829 }
1830 fn seal_gas_price() -> Weight {
1831 // Proof Size summary in bytes:
1832 // Measured: `0`
1833 // Estimated: `0`
1834 // Minimum execution time: 254_000 picoseconds.
1835 Weight::from_parts(294_000, 0)
1836 }
1837 fn seal_base_fee() -> Weight {
1838 // Proof Size summary in bytes:
1839 // Measured: `0`
1840 // Estimated: `0`
1841 // Minimum execution time: 229_000 picoseconds.
1842 Weight::from_parts(269_000, 0)
1843 }
1844 fn seal_block_number() -> Weight {
1845 // Proof Size summary in bytes:
1846 // Measured: `0`
1847 // Estimated: `0`
1848 // Minimum execution time: 254_000 picoseconds.
1849 Weight::from_parts(290_000, 0)
1850 }
1851 /// Storage: `Session::Validators` (r:1 w:0)
1852 /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1853 fn seal_block_author() -> Weight {
1854 // Proof Size summary in bytes:
1855 // Measured: `141`
1856 // Estimated: `1626`
1857 // Minimum execution time: 21_852_000 picoseconds.
1858 Weight::from_parts(22_526_000, 1626)
1859 .saturating_add(RocksDbWeight::get().reads(1_u64))
1860 }
1861 /// Storage: `System::BlockHash` (r:1 w:0)
1862 /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `Measured`)
1863 fn seal_block_hash() -> Weight {
1864 // Proof Size summary in bytes:
1865 // Measured: `30`
1866 // Estimated: `3495`
1867 // Minimum execution time: 3_600_000 picoseconds.
1868 Weight::from_parts(3_830_000, 3495)
1869 .saturating_add(RocksDbWeight::get().reads(1_u64))
1870 }
1871 fn seal_now() -> Weight {
1872 // Proof Size summary in bytes:
1873 // Measured: `0`
1874 // Estimated: `0`
1875 // Minimum execution time: 239_000 picoseconds.
1876 Weight::from_parts(276_000, 0)
1877 }
1878 fn seal_weight_to_fee() -> Weight {
1879 // Proof Size summary in bytes:
1880 // Measured: `0`
1881 // Estimated: `0`
1882 // Minimum execution time: 1_595_000 picoseconds.
1883 Weight::from_parts(1_665_000, 0)
1884 }
1885 /// The range of component `n` is `[0, 1048572]`.
1886 fn seal_copy_to_contract(n: u32, ) -> Weight {
1887 // Proof Size summary in bytes:
1888 // Measured: `0`
1889 // Estimated: `0`
1890 // Minimum execution time: 402_000 picoseconds.
1891 Weight::from_parts(496_964, 0)
1892 // Standard Error: 0
1893 .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into()))
1894 }
1895 fn seal_call_data_load() -> Weight {
1896 // Proof Size summary in bytes:
1897 // Measured: `0`
1898 // Estimated: `0`
1899 // Minimum execution time: 250_000 picoseconds.
1900 Weight::from_parts(289_000, 0)
1901 }
1902 /// The range of component `n` is `[0, 1048576]`.
1903 fn seal_call_data_copy(n: u32, ) -> Weight {
1904 // Proof Size summary in bytes:
1905 // Measured: `0`
1906 // Estimated: `0`
1907 // Minimum execution time: 230_000 picoseconds.
1908 Weight::from_parts(255_000, 0)
1909 // Standard Error: 0
1910 .saturating_add(Weight::from_parts(151, 0).saturating_mul(n.into()))
1911 }
1912 /// The range of component `n` is `[0, 131072]`.
1913 fn seal_return(n: u32, ) -> Weight {
1914 // Proof Size summary in bytes:
1915 // Measured: `0`
1916 // Estimated: `0`
1917 // Minimum execution time: 253_000 picoseconds.
1918 Weight::from_parts(544_296, 0)
1919 // Standard Error: 0
1920 .saturating_add(Weight::from_parts(237, 0).saturating_mul(n.into()))
1921 }
1922 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1923 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1924 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1)
1925 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1926 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1927 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1928 /// Storage: `Balances::Holds` (r:1 w:1)
1929 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
1930 /// Storage: `System::Account` (r:1 w:1)
1931 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1932 /// Storage: `Revive::DeletionQueue` (r:0 w:1)
1933 /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
1934 /// Storage: `Revive::PristineCode` (r:0 w:1)
1935 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1936 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
1937 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
1938 /// The range of component `r` is `[0, 1]`.
1939 fn seal_terminate(r: u32, ) -> Weight {
1940 // Proof Size summary in bytes:
1941 // Measured: `583 + r * (402 ±0)`
1942 // Estimated: `4048 + r * (2225 ±0)`
1943 // Minimum execution time: 16_727_000 picoseconds.
1944 Weight::from_parts(17_739_285, 4048)
1945 // Standard Error: 59_932
1946 .saturating_add(Weight::from_parts(44_553_014, 0).saturating_mul(r.into()))
1947 .saturating_add(RocksDbWeight::get().reads(3_u64))
1948 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into())))
1949 .saturating_add(RocksDbWeight::get().writes(4_u64))
1950 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(r.into())))
1951 .saturating_add(Weight::from_parts(0, 2225).saturating_mul(r.into()))
1952 }
1953 /// The range of component `t` is `[0, 4]`.
1954 /// The range of component `n` is `[0, 416]`.
1955 fn seal_deposit_event(t: u32, n: u32, ) -> Weight {
1956 // Proof Size summary in bytes:
1957 // Measured: `0`
1958 // Estimated: `0`
1959 // Minimum execution time: 4_226_000 picoseconds.
1960 Weight::from_parts(4_252_357, 0)
1961 // Standard Error: 3_401
1962 .saturating_add(Weight::from_parts(233_040, 0).saturating_mul(t.into()))
1963 // Standard Error: 37
1964 .saturating_add(Weight::from_parts(1_172, 0).saturating_mul(n.into()))
1965 }
1966 /// Storage: `Skipped::Metadata` (r:0 w:0)
1967 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1968 fn get_storage_empty() -> Weight {
1969 // Proof Size summary in bytes:
1970 // Measured: `648`
1971 // Estimated: `648`
1972 // Minimum execution time: 6_909_000 picoseconds.
1973 Weight::from_parts(7_499_000, 648)
1974 .saturating_add(RocksDbWeight::get().reads(1_u64))
1975 }
1976 /// Storage: `Skipped::Metadata` (r:0 w:0)
1977 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1978 fn get_storage_full() -> Weight {
1979 // Proof Size summary in bytes:
1980 // Measured: `10658`
1981 // Estimated: `10658`
1982 // Minimum execution time: 41_173_000 picoseconds.
1983 Weight::from_parts(42_303_000, 10658)
1984 .saturating_add(RocksDbWeight::get().reads(1_u64))
1985 }
1986 /// Storage: `Skipped::Metadata` (r:0 w:0)
1987 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1988 fn set_storage_empty() -> Weight {
1989 // Proof Size summary in bytes:
1990 // Measured: `648`
1991 // Estimated: `648`
1992 // Minimum execution time: 8_428_000 picoseconds.
1993 Weight::from_parts(8_817_000, 648)
1994 .saturating_add(RocksDbWeight::get().reads(1_u64))
1995 .saturating_add(RocksDbWeight::get().writes(1_u64))
1996 }
1997 /// Storage: `Skipped::Metadata` (r:0 w:0)
1998 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1999 fn set_storage_full() -> Weight {
2000 // Proof Size summary in bytes:
2001 // Measured: `10658`
2002 // Estimated: `10658`
2003 // Minimum execution time: 43_627_000 picoseconds.
2004 Weight::from_parts(44_777_000, 10658)
2005 .saturating_add(RocksDbWeight::get().reads(1_u64))
2006 .saturating_add(RocksDbWeight::get().writes(1_u64))
2007 }
2008 /// Storage: `Skipped::Metadata` (r:0 w:0)
2009 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2010 /// The range of component `n` is `[0, 416]`.
2011 /// The range of component `o` is `[0, 416]`.
2012 fn seal_set_storage(n: u32, o: u32, ) -> Weight {
2013 // Proof Size summary in bytes:
2014 // Measured: `248 + o * (1 ±0)`
2015 // Estimated: `247 + o * (1 ±0)`
2016 // Minimum execution time: 8_934_000 picoseconds.
2017 Weight::from_parts(9_589_880, 247)
2018 // Standard Error: 65
2019 .saturating_add(Weight::from_parts(667, 0).saturating_mul(n.into()))
2020 // Standard Error: 65
2021 .saturating_add(Weight::from_parts(821, 0).saturating_mul(o.into()))
2022 .saturating_add(RocksDbWeight::get().reads(1_u64))
2023 .saturating_add(RocksDbWeight::get().writes(1_u64))
2024 .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into()))
2025 }
2026 /// Storage: `Skipped::Metadata` (r:0 w:0)
2027 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2028 /// The range of component `n` is `[0, 416]`.
2029 fn seal_clear_storage(n: u32, ) -> Weight {
2030 // Proof Size summary in bytes:
2031 // Measured: `248 + n * (1 ±0)`
2032 // Estimated: `247 + n * (1 ±0)`
2033 // Minimum execution time: 8_527_000 picoseconds.
2034 Weight::from_parts(9_507_817, 247)
2035 // Standard Error: 73
2036 .saturating_add(Weight::from_parts(860, 0).saturating_mul(n.into()))
2037 .saturating_add(RocksDbWeight::get().reads(1_u64))
2038 .saturating_add(RocksDbWeight::get().writes(1_u64))
2039 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2040 }
2041 /// Storage: `Skipped::Metadata` (r:0 w:0)
2042 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2043 /// The range of component `n` is `[0, 416]`.
2044 fn seal_get_storage(n: u32, ) -> Weight {
2045 // Proof Size summary in bytes:
2046 // Measured: `248 + n * (1 ±0)`
2047 // Estimated: `247 + n * (1 ±0)`
2048 // Minimum execution time: 8_076_000 picoseconds.
2049 Weight::from_parts(9_106_693, 247)
2050 // Standard Error: 73
2051 .saturating_add(Weight::from_parts(1_668, 0).saturating_mul(n.into()))
2052 .saturating_add(RocksDbWeight::get().reads(1_u64))
2053 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2054 }
2055 /// Storage: `Skipped::Metadata` (r:0 w:0)
2056 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2057 /// The range of component `n` is `[0, 416]`.
2058 fn seal_contains_storage(n: u32, ) -> Weight {
2059 // Proof Size summary in bytes:
2060 // Measured: `248 + n * (1 ±0)`
2061 // Estimated: `247 + n * (1 ±0)`
2062 // Minimum execution time: 7_571_000 picoseconds.
2063 Weight::from_parts(8_454_639, 247)
2064 // Standard Error: 69
2065 .saturating_add(Weight::from_parts(888, 0).saturating_mul(n.into()))
2066 .saturating_add(RocksDbWeight::get().reads(1_u64))
2067 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2068 }
2069 /// Storage: `Skipped::Metadata` (r:0 w:0)
2070 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2071 /// The range of component `n` is `[0, 416]`.
2072 fn seal_take_storage(n: u32, ) -> Weight {
2073 // Proof Size summary in bytes:
2074 // Measured: `248 + n * (1 ±0)`
2075 // Estimated: `247 + n * (1 ±0)`
2076 // Minimum execution time: 9_140_000 picoseconds.
2077 Weight::from_parts(10_132_276, 247)
2078 // Standard Error: 70
2079 .saturating_add(Weight::from_parts(1_866, 0).saturating_mul(n.into()))
2080 .saturating_add(RocksDbWeight::get().reads(1_u64))
2081 .saturating_add(RocksDbWeight::get().writes(1_u64))
2082 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2083 }
2084 fn set_transient_storage_empty() -> Weight {
2085 // Proof Size summary in bytes:
2086 // Measured: `0`
2087 // Estimated: `0`
2088 // Minimum execution time: 1_655_000 picoseconds.
2089 Weight::from_parts(1_744_000, 0)
2090 }
2091 fn set_transient_storage_full() -> Weight {
2092 // Proof Size summary in bytes:
2093 // Measured: `0`
2094 // Estimated: `0`
2095 // Minimum execution time: 1_987_000 picoseconds.
2096 Weight::from_parts(2_135_000, 0)
2097 }
2098 fn get_transient_storage_empty() -> Weight {
2099 // Proof Size summary in bytes:
2100 // Measured: `0`
2101 // Estimated: `0`
2102 // Minimum execution time: 1_641_000 picoseconds.
2103 Weight::from_parts(1_751_000, 0)
2104 }
2105 fn get_transient_storage_full() -> Weight {
2106 // Proof Size summary in bytes:
2107 // Measured: `0`
2108 // Estimated: `0`
2109 // Minimum execution time: 1_732_000 picoseconds.
2110 Weight::from_parts(1_891_000, 0)
2111 }
2112 fn rollback_transient_storage() -> Weight {
2113 // Proof Size summary in bytes:
2114 // Measured: `0`
2115 // Estimated: `0`
2116 // Minimum execution time: 1_237_000 picoseconds.
2117 Weight::from_parts(1_378_000, 0)
2118 }
2119 /// The range of component `n` is `[0, 416]`.
2120 /// The range of component `o` is `[0, 416]`.
2121 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight {
2122 // Proof Size summary in bytes:
2123 // Measured: `0`
2124 // Estimated: `0`
2125 // Minimum execution time: 2_283_000 picoseconds.
2126 Weight::from_parts(2_636_514, 0)
2127 // Standard Error: 19
2128 .saturating_add(Weight::from_parts(296, 0).saturating_mul(n.into()))
2129 // Standard Error: 19
2130 .saturating_add(Weight::from_parts(374, 0).saturating_mul(o.into()))
2131 }
2132 /// The range of component `n` is `[0, 416]`.
2133 fn seal_clear_transient_storage(n: u32, ) -> Weight {
2134 // Proof Size summary in bytes:
2135 // Measured: `0`
2136 // Estimated: `0`
2137 // Minimum execution time: 2_171_000 picoseconds.
2138 Weight::from_parts(2_555_844, 0)
2139 // Standard Error: 23
2140 .saturating_add(Weight::from_parts(468, 0).saturating_mul(n.into()))
2141 }
2142 /// The range of component `n` is `[0, 416]`.
2143 fn seal_get_transient_storage(n: u32, ) -> Weight {
2144 // Proof Size summary in bytes:
2145 // Measured: `0`
2146 // Estimated: `0`
2147 // Minimum execution time: 1_985_000 picoseconds.
2148 Weight::from_parts(2_277_401, 0)
2149 // Standard Error: 21
2150 .saturating_add(Weight::from_parts(394, 0).saturating_mul(n.into()))
2151 }
2152 /// The range of component `n` is `[0, 416]`.
2153 fn seal_contains_transient_storage(n: u32, ) -> Weight {
2154 // Proof Size summary in bytes:
2155 // Measured: `0`
2156 // Estimated: `0`
2157 // Minimum execution time: 1_784_000 picoseconds.
2158 Weight::from_parts(2_034_472, 0)
2159 // Standard Error: 16
2160 .saturating_add(Weight::from_parts(214, 0).saturating_mul(n.into()))
2161 }
2162 /// The range of component `n` is `[0, 416]`.
2163 fn seal_take_transient_storage(_n: u32, ) -> Weight {
2164 // Proof Size summary in bytes:
2165 // Measured: `0`
2166 // Estimated: `0`
2167 // Minimum execution time: 2_653_000 picoseconds.
2168 Weight::from_parts(2_929_498, 0)
2169 }
2170 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
2171 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
2172 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2173 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2174 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
2175 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2176 /// Storage: `Revive::PristineCode` (r:1 w:0)
2177 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2178 /// Storage: `System::Account` (r:1 w:1)
2179 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2180 /// The range of component `t` is `[0, 1]`.
2181 /// The range of component `d` is `[0, 1]`.
2182 /// The range of component `i` is `[0, 1048576]`.
2183 fn seal_call(t: u32, d: u32, i: u32, ) -> Weight {
2184 // Proof Size summary in bytes:
2185 // Measured: `1925`
2186 // Estimated: `5390`
2187 // Minimum execution time: 88_292_000 picoseconds.
2188 Weight::from_parts(67_934_136, 5390)
2189 // Standard Error: 161_519
2190 .saturating_add(Weight::from_parts(19_069_368, 0).saturating_mul(t.into()))
2191 // Standard Error: 161_519
2192 .saturating_add(Weight::from_parts(25_783_515, 0).saturating_mul(d.into()))
2193 // Standard Error: 0
2194 .saturating_add(Weight::from_parts(4, 0).saturating_mul(i.into()))
2195 .saturating_add(RocksDbWeight::get().reads(5_u64))
2196 .saturating_add(RocksDbWeight::get().writes(1_u64))
2197 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
2198 }
2199 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2200 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2201 /// Storage: `System::Account` (r:1 w:0)
2202 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2203 /// The range of component `d` is `[0, 1]`.
2204 /// The range of component `i` is `[0, 130972]`.
2205 fn seal_call_precompile(d: u32, i: u32, ) -> Weight {
2206 // Proof Size summary in bytes:
2207 // Measured: `366 + d * (212 ±0)`
2208 // Estimated: `2021 + d * (2021 ±0)`
2209 // Minimum execution time: 24_082_000 picoseconds.
2210 Weight::from_parts(11_635_002, 2021)
2211 // Standard Error: 32_873
2212 .saturating_add(Weight::from_parts(13_461_671, 0).saturating_mul(d.into()))
2213 // Standard Error: 0
2214 .saturating_add(Weight::from_parts(395, 0).saturating_mul(i.into()))
2215 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(d.into())))
2216 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into())))
2217 .saturating_add(Weight::from_parts(0, 2021).saturating_mul(d.into()))
2218 }
2219 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
2220 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2221 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
2222 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2223 /// Storage: `Revive::PristineCode` (r:1 w:0)
2224 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2225 fn seal_delegate_call() -> Weight {
2226 // Proof Size summary in bytes:
2227 // Measured: `1363`
2228 // Estimated: `4828`
2229 // Minimum execution time: 31_965_000 picoseconds.
2230 Weight::from_parts(33_059_000, 4828)
2231 .saturating_add(RocksDbWeight::get().reads(3_u64))
2232 }
2233 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
2234 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2235 /// Storage: `Revive::PristineCode` (r:1 w:0)
2236 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2237 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2238 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2239 /// Storage: `System::Account` (r:1 w:1)
2240 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2241 /// The range of component `t` is `[0, 1]`.
2242 /// The range of component `d` is `[0, 1]`.
2243 /// The range of component `i` is `[0, 131072]`.
2244 fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight {
2245 // Proof Size summary in bytes:
2246 // Measured: `1413`
2247 // Estimated: `4857 + d * (28 ±1) + t * (28 ±1)`
2248 // Minimum execution time: 150_124_000 picoseconds.
2249 Weight::from_parts(100_922_263, 4857)
2250 // Standard Error: 553_691
2251 .saturating_add(Weight::from_parts(21_824_333, 0).saturating_mul(t.into()))
2252 // Standard Error: 553_691
2253 .saturating_add(Weight::from_parts(30_090_103, 0).saturating_mul(d.into()))
2254 // Standard Error: 6
2255 .saturating_add(Weight::from_parts(4_031, 0).saturating_mul(i.into()))
2256 .saturating_add(RocksDbWeight::get().reads(4_u64))
2257 .saturating_add(RocksDbWeight::get().writes(3_u64))
2258 .saturating_add(Weight::from_parts(0, 28).saturating_mul(d.into()))
2259 .saturating_add(Weight::from_parts(0, 28).saturating_mul(t.into()))
2260 }
2261 /// The range of component `n` is `[0, 1048576]`.
2262 fn sha2_256(n: u32, ) -> Weight {
2263 // Proof Size summary in bytes:
2264 // Measured: `0`
2265 // Estimated: `0`
2266 // Minimum execution time: 1_198_000 picoseconds.
2267 Weight::from_parts(5_902_477, 0)
2268 // Standard Error: 0
2269 .saturating_add(Weight::from_parts(1_301, 0).saturating_mul(n.into()))
2270 }
2271 /// The range of component `n` is `[0, 1048576]`.
2272 fn identity(n: u32, ) -> Weight {
2273 // Proof Size summary in bytes:
2274 // Measured: `0`
2275 // Estimated: `0`
2276 // Minimum execution time: 710_000 picoseconds.
2277 Weight::from_parts(583_657, 0)
2278 // Standard Error: 0
2279 .saturating_add(Weight::from_parts(148, 0).saturating_mul(n.into()))
2280 }
2281 /// The range of component `n` is `[0, 1048576]`.
2282 fn ripemd_160(n: u32, ) -> Weight {
2283 // Proof Size summary in bytes:
2284 // Measured: `0`
2285 // Estimated: `0`
2286 // Minimum execution time: 1_145_000 picoseconds.
2287 Weight::from_parts(5_218_490, 0)
2288 // Standard Error: 2
2289 .saturating_add(Weight::from_parts(3_770, 0).saturating_mul(n.into()))
2290 }
2291 /// The range of component `n` is `[0, 1048576]`.
2292 fn seal_hash_keccak_256(n: u32, ) -> Weight {
2293 // Proof Size summary in bytes:
2294 // Measured: `0`
2295 // Estimated: `0`
2296 // Minimum execution time: 1_133_000 picoseconds.
2297 Weight::from_parts(12_018_626, 0)
2298 // Standard Error: 1
2299 .saturating_add(Weight::from_parts(3_591, 0).saturating_mul(n.into()))
2300 }
2301 /// The range of component `n` is `[0, 1048576]`.
2302 fn hash_blake2_256(n: u32, ) -> Weight {
2303 // Proof Size summary in bytes:
2304 // Measured: `0`
2305 // Estimated: `0`
2306 // Minimum execution time: 1_594_000 picoseconds.
2307 Weight::from_parts(16_080_940, 0)
2308 // Standard Error: 0
2309 .saturating_add(Weight::from_parts(1_437, 0).saturating_mul(n.into()))
2310 }
2311 /// The range of component `n` is `[0, 1048576]`.
2312 fn hash_blake2_128(n: u32, ) -> Weight {
2313 // Proof Size summary in bytes:
2314 // Measured: `0`
2315 // Estimated: `0`
2316 // Minimum execution time: 1_493_000 picoseconds.
2317 Weight::from_parts(12_215_603, 0)
2318 // Standard Error: 0
2319 .saturating_add(Weight::from_parts(1_440, 0).saturating_mul(n.into()))
2320 }
2321 /// The range of component `n` is `[0, 1048321]`.
2322 fn seal_sr25519_verify(n: u32, ) -> Weight {
2323 // Proof Size summary in bytes:
2324 // Measured: `0`
2325 // Estimated: `0`
2326 // Minimum execution time: 42_270_000 picoseconds.
2327 Weight::from_parts(93_835_987, 0)
2328 // Standard Error: 4
2329 .saturating_add(Weight::from_parts(5_026, 0).saturating_mul(n.into()))
2330 }
2331 fn ecdsa_recover() -> Weight {
2332 // Proof Size summary in bytes:
2333 // Measured: `0`
2334 // Estimated: `0`
2335 // Minimum execution time: 45_951_000 picoseconds.
2336 Weight::from_parts(46_894_000, 0)
2337 }
2338 fn bn128_add() -> Weight {
2339 // Proof Size summary in bytes:
2340 // Measured: `0`
2341 // Estimated: `0`
2342 // Minimum execution time: 14_272_000 picoseconds.
2343 Weight::from_parts(15_204_000, 0)
2344 }
2345 fn bn128_mul() -> Weight {
2346 // Proof Size summary in bytes:
2347 // Measured: `0`
2348 // Estimated: `0`
2349 // Minimum execution time: 980_350_000 picoseconds.
2350 Weight::from_parts(988_695_000, 0)
2351 }
2352 /// The range of component `n` is `[0, 20]`.
2353 fn bn128_pairing(n: u32, ) -> Weight {
2354 // Proof Size summary in bytes:
2355 // Measured: `0`
2356 // Estimated: `0`
2357 // Minimum execution time: 760_000 picoseconds.
2358 Weight::from_parts(4_873_448_313, 0)
2359 // Standard Error: 10_617_668
2360 .saturating_add(Weight::from_parts(5_964_183_373, 0).saturating_mul(n.into()))
2361 }
2362 /// The range of component `n` is `[0, 1200]`.
2363 fn blake2f(n: u32, ) -> Weight {
2364 // Proof Size summary in bytes:
2365 // Measured: `0`
2366 // Estimated: `0`
2367 // Minimum execution time: 914_000 picoseconds.
2368 Weight::from_parts(1_152_510, 0)
2369 // Standard Error: 10
2370 .saturating_add(Weight::from_parts(28_870, 0).saturating_mul(n.into()))
2371 }
2372 fn seal_ecdsa_to_eth_address() -> Weight {
2373 // Proof Size summary in bytes:
2374 // Measured: `0`
2375 // Estimated: `0`
2376 // Minimum execution time: 12_862_000 picoseconds.
2377 Weight::from_parts(13_004_000, 0)
2378 }
2379 /// Storage: `Revive::CodeInfoOf` (r:2 w:2)
2380 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2381 /// Storage: `Balances::Holds` (r:1 w:1)
2382 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`)
2383 /// Storage: `System::Account` (r:1 w:1)
2384 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2385 /// Storage: `Revive::PristineCode` (r:0 w:1)
2386 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2387 /// The range of component `r` is `[0, 1]`.
2388 fn seal_set_code_hash(r: u32, ) -> Weight {
2389 // Proof Size summary in bytes:
2390 // Measured: `391 + r * (468 ±0)`
2391 // Estimated: `6331 + r * (2162 ±0)`
2392 // Minimum execution time: 14_987_000 picoseconds.
2393 Weight::from_parts(15_935_167, 6331)
2394 // Standard Error: 52_524
2395 .saturating_add(Weight::from_parts(45_530_232, 0).saturating_mul(r.into()))
2396 .saturating_add(RocksDbWeight::get().reads(2_u64))
2397 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into())))
2398 .saturating_add(RocksDbWeight::get().writes(2_u64))
2399 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(r.into())))
2400 .saturating_add(Weight::from_parts(0, 2162).saturating_mul(r.into()))
2401 }
2402 /// The range of component `r` is `[0, 10000]`.
2403 fn evm_opcode(r: u32, ) -> Weight {
2404 // Proof Size summary in bytes:
2405 // Measured: `0`
2406 // Estimated: `0`
2407 // Minimum execution time: 1_206_000 picoseconds.
2408 Weight::from_parts(1_895_352, 0)
2409 // Standard Error: 19
2410 .saturating_add(Weight::from_parts(6_177, 0).saturating_mul(r.into()))
2411 }
2412 /// The range of component `r` is `[0, 10000]`.
2413 fn instr(r: u32, ) -> Weight {
2414 // Proof Size summary in bytes:
2415 // Measured: `0`
2416 // Estimated: `0`
2417 // Minimum execution time: 12_772_000 picoseconds.
2418 Weight::from_parts(53_405_104, 0)
2419 // Standard Error: 346
2420 .saturating_add(Weight::from_parts(125_622, 0).saturating_mul(r.into()))
2421 }
2422 /// The range of component `r` is `[0, 10000]`.
2423 fn instr_empty_loop(r: u32, ) -> Weight {
2424 // Proof Size summary in bytes:
2425 // Measured: `0`
2426 // Estimated: `0`
2427 // Minimum execution time: 3_147_000 picoseconds.
2428 Weight::from_parts(1_883_710, 0)
2429 // Standard Error: 47
2430 .saturating_add(Weight::from_parts(71_984, 0).saturating_mul(r.into()))
2431 }
2432 /// Storage: `Revive::PristineCode` (r:1 w:0)
2433 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2434 /// The range of component `n` is `[1000, 10000]`.
2435 fn extcodecopy(n: u32, ) -> Weight {
2436 // Proof Size summary in bytes:
2437 // Measured: `457 + n * (1 ±0)`
2438 // Estimated: `3922 + n * (1 ±0)`
2439 // Minimum execution time: 14_211_000 picoseconds.
2440 Weight::from_parts(13_786_057, 3922)
2441 // Standard Error: 14
2442 .saturating_add(Weight::from_parts(1_062, 0).saturating_mul(n.into()))
2443 .saturating_add(RocksDbWeight::get().reads(1_u64))
2444 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2445 }
2446 /// Storage: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
2447 /// Proof: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
2448 /// Storage: `Revive::AccountInfoOf` (r:0 w:1)
2449 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`)
2450 fn v1_migration_step() -> Weight {
2451 // Proof Size summary in bytes:
2452 // Measured: `316`
2453 // Estimated: `6256`
2454 // Minimum execution time: 11_898_000 picoseconds.
2455 Weight::from_parts(12_772_000, 6256)
2456 .saturating_add(RocksDbWeight::get().reads(2_u64))
2457 .saturating_add(RocksDbWeight::get().writes(2_u64))
2458 }
2459 /// Storage: `System::Account` (r:1 w:1)
2460 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
2461 /// Storage: `Revive::CodeInfoOf` (r:2 w:1)
2462 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`)
2463 /// Storage: `Balances::Holds` (r:2 w:2)
2464 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
2465 fn v2_migration_step() -> Weight {
2466 // Proof Size summary in bytes:
2467 // Measured: `439`
2468 // Estimated: `6794`
2469 // Minimum execution time: 62_964_000 picoseconds.
2470 Weight::from_parts(64_865_000, 6794)
2471 .saturating_add(RocksDbWeight::get().reads(5_u64))
2472 .saturating_add(RocksDbWeight::get().writes(4_u64))
2473 }
2474}