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 58.0.0
38//! DATE: 2026-08-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `6ff9ac1f1814`, 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 deletion_queue_batch() -> Weight;
75 fn deletion_queue_per_entry() -> Weight;
76 fn deletion_queue_per_trie_key(k: u32, ) -> Weight;
77 fn deletion_queue_per_native_deposit_key(k: u32, ) -> Weight;
78 fn call_with_pvm_code_per_byte(c: u32, ) -> Weight;
79 fn call_with_evm_code_per_byte(c: u32, ) -> Weight;
80 fn basic_block_compilation(b: u32, ) -> Weight;
81 fn instantiate_with_code(c: u32, i: u32, ) -> Weight;
82 fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight;
83 fn deposit_eth_extrinsic_revert_event() -> Weight;
84 fn instantiate(i: u32, ) -> Weight;
85 fn call() -> Weight;
86 fn eth_call(d: u32, ) -> Weight;
87 fn eth_substrate_call(c: u32, ) -> Weight;
88 fn upload_code(c: u32, ) -> Weight;
89 fn remove_code() -> Weight;
90 fn set_code() -> Weight;
91 fn map_account() -> Weight;
92 fn unmap_account() -> Weight;
93 fn batch_map_accounts(a: u32, ) -> Weight;
94 fn dispatch_as_fallback_account() -> Weight;
95 fn noop_host_fn(r: u32, ) -> Weight;
96 fn seal_caller() -> Weight;
97 fn seal_origin() -> Weight;
98 fn to_account_id() -> Weight;
99 fn seal_code_hash() -> Weight;
100 fn own_code_hash() -> Weight;
101 fn seal_code_size() -> Weight;
102 fn caller_is_origin() -> Weight;
103 fn caller_is_root() -> Weight;
104 fn origin_is_root() -> Weight;
105 fn seal_address() -> Weight;
106 fn weight_left() -> Weight;
107 fn seal_ref_time_left() -> Weight;
108 fn seal_balance() -> Weight;
109 fn seal_balance_of() -> Weight;
110 fn seal_get_immutable_data(n: u32, ) -> Weight;
111 fn seal_set_immutable_data(n: u32, ) -> Weight;
112 fn seal_value_transferred() -> Weight;
113 fn minimum_balance() -> Weight;
114 fn seal_return_data_size() -> Weight;
115 fn seal_call_data_size() -> Weight;
116 fn seal_gas_limit() -> Weight;
117 fn seal_gas_price() -> Weight;
118 fn seal_base_fee() -> Weight;
119 fn seal_block_number() -> Weight;
120 fn seal_block_author() -> Weight;
121 fn seal_block_hash() -> Weight;
122 fn seal_now() -> Weight;
123 fn seal_copy_to_contract(n: u32, ) -> Weight;
124 fn seal_call_data_load() -> Weight;
125 fn seal_call_data_copy(n: u32, ) -> Weight;
126 fn seal_return(n: u32, ) -> Weight;
127 fn seal_terminate(r: u32, ) -> Weight;
128 fn seal_terminate_logic() -> Weight;
129 fn seal_deposit_event(t: u32, n: u32, ) -> Weight;
130 fn get_storage_empty() -> Weight;
131 fn get_storage_full() -> Weight;
132 fn set_storage_empty() -> Weight;
133 fn set_storage_full() -> Weight;
134 fn seal_set_storage(n: u32, o: u32, ) -> Weight;
135 fn clear_storage(n: u32, ) -> Weight;
136 fn seal_get_storage(n: u32, ) -> Weight;
137 fn contains_storage(n: u32, ) -> Weight;
138 fn take_storage(n: u32, ) -> Weight;
139 fn set_transient_storage_empty() -> Weight;
140 fn set_transient_storage_full() -> Weight;
141 fn get_transient_storage_empty() -> Weight;
142 fn get_transient_storage_full() -> Weight;
143 fn rollback_transient_storage() -> Weight;
144 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight;
145 fn seal_clear_transient_storage(n: u32, ) -> Weight;
146 fn seal_get_transient_storage(n: u32, ) -> Weight;
147 fn seal_contains_transient_storage(n: u32, ) -> Weight;
148 fn seal_take_transient_storage(n: u32, ) -> Weight;
149 fn seal_call(t: u32, d: u32, i: u32, ) -> Weight;
150 fn seal_call_precompile(d: u32, i: u32, ) -> Weight;
151 fn seal_delegate_call() -> Weight;
152 fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight;
153 fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight;
154 fn sha2_256(n: u32, ) -> Weight;
155 fn identity(n: u32, ) -> Weight;
156 fn ripemd_160(n: u32, ) -> Weight;
157 fn seal_hash_keccak_256(n: u32, ) -> Weight;
158 fn hash_blake2_256(n: u32, ) -> Weight;
159 fn hash_blake2_128(n: u32, ) -> Weight;
160 fn seal_sr25519_verify(n: u32, ) -> Weight;
161 fn ecdsa_recover() -> Weight;
162 fn p256_verify() -> Weight;
163 fn bn128_add() -> Weight;
164 fn bn128_mul() -> Weight;
165 fn bn128_pairing(n: u32, ) -> Weight;
166 fn blake2f(n: u32, ) -> Weight;
167 fn seal_ecdsa_to_eth_address() -> Weight;
168 fn evm_opcode(r: u32, ) -> Weight;
169 fn instr(r: u32, ) -> Weight;
170 fn instr_empty_loop(r: u32, ) -> Weight;
171 fn extcodecopy(n: u32, ) -> Weight;
172 fn v1_migration_step() -> Weight;
173 fn v2_migration_step() -> Weight;
174 fn v3_migration_step() -> Weight;
175 fn v4_code_upload_step() -> Weight;
176 fn v4_contract_step() -> Weight;
177 fn v4_deletion_queue_step() -> Weight;
178 fn on_finalize_per_transaction(n: u32, ) -> Weight;
179 fn on_finalize_per_transaction_data(d: u32, ) -> Weight;
180 fn on_finalize_per_event(e: u32, ) -> Weight;
181 fn on_finalize_per_event_data(d: u32, ) -> Weight;
182}
183
184/// Weights for `pallet_revive` using the Substrate node and recommended hardware.
185pub struct SubstrateWeight<T>(PhantomData<T>);
186impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
187 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:0)
188 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
189 fn deletion_queue_batch() -> Weight {
190 // Proof Size summary in bytes:
191 // Measured: `213`
192 // Estimated: `1698`
193 // Minimum execution time: 3_096_000 picoseconds.
194 Weight::from_parts(3_399_000, 1698)
195 .saturating_add(T::DbWeight::get().reads(1_u64))
196 }
197 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1)
198 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
199 /// Storage: `Revive::DeletionQueue` (r:1 w:1)
200 /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `Measured`)
201 fn deletion_queue_per_entry() -> Weight {
202 // Proof Size summary in bytes:
203 // Measured: `390`
204 // Estimated: `3855`
205 // Minimum execution time: 17_892_000 picoseconds.
206 Weight::from_parts(19_361_000, 3855)
207 .saturating_add(T::DbWeight::get().reads(2_u64))
208 .saturating_add(T::DbWeight::get().writes(2_u64))
209 }
210 /// Storage: `Skipped::Metadata` (r:0 w:0)
211 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
212 /// The range of component `k` is `[0, 1024]`.
213 fn deletion_queue_per_trie_key(k: u32, ) -> Weight {
214 // Proof Size summary in bytes:
215 // Measured: `524 + k * (69 ±0)`
216 // Estimated: `514 + k * (70 ±0)`
217 // Minimum execution time: 18_551_000 picoseconds.
218 Weight::from_parts(19_171_000, 514)
219 // Standard Error: 1_125
220 .saturating_add(Weight::from_parts(1_220_390, 0).saturating_mul(k.into()))
221 .saturating_add(T::DbWeight::get().reads(2_u64))
222 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
223 .saturating_add(T::DbWeight::get().writes(2_u64))
224 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
225 .saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
226 }
227 /// Storage: `Skipped::Metadata` (r:0 w:0)
228 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
229 /// The range of component `k` is `[0, 1024]`.
230 fn deletion_queue_per_native_deposit_key(k: u32, ) -> Weight {
231 // Proof Size summary in bytes:
232 // Measured: `469 + k * (52 ±0)`
233 // Estimated: `479 + k * (53 ±0)`
234 // Minimum execution time: 18_534_000 picoseconds.
235 Weight::from_parts(19_488_000, 479)
236 // Standard Error: 910
237 .saturating_add(Weight::from_parts(1_196_416, 0).saturating_mul(k.into()))
238 .saturating_add(T::DbWeight::get().reads(2_u64))
239 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
240 .saturating_add(T::DbWeight::get().writes(2_u64))
241 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
242 .saturating_add(Weight::from_parts(0, 53).saturating_mul(k.into()))
243 }
244 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
245 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
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::CodeInfoOf` (r:1 w:0)
249 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
250 /// Storage: `Revive::PristineCode` (r:1 w:0)
251 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
252 /// Storage: `Timestamp::Now` (r:1 w:0)
253 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
254 /// Storage: `System::Account` (r:1 w:1)
255 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
256 /// The range of component `c` is `[0, 102400]`.
257 fn call_with_pvm_code_per_byte(c: u32, ) -> Weight {
258 // Proof Size summary in bytes:
259 // Measured: `1267 + c * (1 ±0)`
260 // Estimated: `7204 + c * (1 ±0)`
261 // Minimum execution time: 100_712_000 picoseconds.
262 Weight::from_parts(155_483_295, 7204)
263 // Standard Error: 14
264 .saturating_add(Weight::from_parts(1_485, 0).saturating_mul(c.into()))
265 .saturating_add(T::DbWeight::get().reads(8_u64))
266 .saturating_add(T::DbWeight::get().writes(2_u64))
267 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
268 }
269 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
270 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
271 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
272 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
273 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
274 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
275 /// Storage: `Revive::PristineCode` (r:1 w:0)
276 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
277 /// Storage: `Timestamp::Now` (r:1 w:0)
278 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
279 /// Storage: `System::Account` (r:1 w:1)
280 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
281 /// The range of component `c` is `[1, 10240]`.
282 fn call_with_evm_code_per_byte(c: u32, ) -> Weight {
283 // Proof Size summary in bytes:
284 // Measured: `1208 + c * (1 ±0)`
285 // Estimated: `7145 + c * (1 ±0)`
286 // Minimum execution time: 95_270_000 picoseconds.
287 Weight::from_parts(100_202_775, 7145)
288 // Standard Error: 8
289 .saturating_add(Weight::from_parts(1_691, 0).saturating_mul(c.into()))
290 .saturating_add(T::DbWeight::get().reads(8_u64))
291 .saturating_add(T::DbWeight::get().writes(2_u64))
292 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
293 }
294 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
295 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
296 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
297 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
298 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
299 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
300 /// Storage: `Revive::PristineCode` (r:1 w:0)
301 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
302 /// Storage: `Timestamp::Now` (r:1 w:0)
303 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
304 /// Storage: `System::Account` (r:1 w:1)
305 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
306 /// The range of component `b` is `[0, 1]`.
307 fn basic_block_compilation(b: u32, ) -> Weight {
308 // Proof Size summary in bytes:
309 // Measured: `4609`
310 // Estimated: `10549`
311 // Minimum execution time: 151_123_000 picoseconds.
312 Weight::from_parts(158_202_230, 10549)
313 // Standard Error: 251_990
314 .saturating_add(Weight::from_parts(286_226, 0).saturating_mul(b.into()))
315 .saturating_add(T::DbWeight::get().reads(8_u64))
316 .saturating_add(T::DbWeight::get().writes(2_u64))
317 }
318 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
319 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
320 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
321 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
322 /// Storage: `Balances::Holds` (r:2 w:2)
323 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
324 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
325 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
326 /// Storage: `Revive::NativeDepositOf` (r:1 w:0)
327 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `Measured`)
328 /// Storage: `Timestamp::Now` (r:1 w:0)
329 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
330 /// Storage: `System::Account` (r:1 w:1)
331 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
332 /// Storage: `Revive::PristineCode` (r:0 w:1)
333 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
334 /// The range of component `c` is `[0, 102400]`.
335 /// The range of component `i` is `[0, 131072]`.
336 fn instantiate_with_code(c: u32, i: u32, ) -> Weight {
337 // Proof Size summary in bytes:
338 // Measured: `880`
339 // Estimated: `6826`
340 // Minimum execution time: 779_536_000 picoseconds.
341 Weight::from_parts(86_750_634, 6826)
342 // Standard Error: 36
343 .saturating_add(Weight::from_parts(20_730, 0).saturating_mul(c.into()))
344 // Standard Error: 28
345 .saturating_add(Weight::from_parts(4_875, 0).saturating_mul(i.into()))
346 .saturating_add(T::DbWeight::get().reads(9_u64))
347 .saturating_add(T::DbWeight::get().writes(6_u64))
348 }
349 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
350 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
351 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
352 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
353 /// Storage: `System::Account` (r:2 w:2)
354 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
355 /// Storage: `Balances::Holds` (r:2 w:2)
356 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
357 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
358 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
359 /// Storage: `Revive::NativeDepositOf` (r:1 w:0)
360 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `Measured`)
361 /// Storage: `Timestamp::Now` (r:1 w:0)
362 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
363 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
364 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
365 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
366 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
367 /// Storage: `Revive::PristineCode` (r:0 w:1)
368 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
369 /// The range of component `c` is `[0, 102400]`.
370 /// The range of component `i` is `[0, 131072]`.
371 /// The range of component `d` is `[0, 1]`.
372 fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight {
373 // Proof Size summary in bytes:
374 // Measured: `981`
375 // Estimated: `6921`
376 // Minimum execution time: 408_419_000 picoseconds.
377 Weight::from_parts(276_891_608, 6921)
378 // Standard Error: 40
379 .saturating_add(Weight::from_parts(16_323, 0).saturating_mul(c.into()))
380 // Standard Error: 31
381 .saturating_add(Weight::from_parts(724, 0).saturating_mul(i.into()))
382 // Standard Error: 2_648_341
383 .saturating_add(Weight::from_parts(20_151_807, 0).saturating_mul(d.into()))
384 .saturating_add(T::DbWeight::get().reads(11_u64))
385 .saturating_add(T::DbWeight::get().writes(10_u64))
386 }
387 fn deposit_eth_extrinsic_revert_event() -> Weight {
388 // Proof Size summary in bytes:
389 // Measured: `0`
390 // Estimated: `0`
391 // Minimum execution time: 2_900_000 picoseconds.
392 Weight::from_parts(3_217_000, 0)
393 }
394 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
395 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
396 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
397 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
398 /// Storage: `Revive::PristineCode` (r:1 w:0)
399 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
400 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
401 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
402 /// Storage: `Revive::NativeDepositOf` (r:1 w:0)
403 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `Measured`)
404 /// Storage: `Timestamp::Now` (r:1 w:0)
405 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
406 /// Storage: `System::Account` (r:1 w:1)
407 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
408 /// Storage: `Balances::Holds` (r:1 w:1)
409 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
410 /// The range of component `i` is `[0, 131072]`.
411 fn instantiate(i: u32, ) -> Weight {
412 // Proof Size summary in bytes:
413 // Measured: `1510`
414 // Estimated: `7441`
415 // Minimum execution time: 174_726_000 picoseconds.
416 Weight::from_parts(181_811_246, 7441)
417 // Standard Error: 4
418 .saturating_add(Weight::from_parts(4_228, 0).saturating_mul(i.into()))
419 .saturating_add(T::DbWeight::get().reads(9_u64))
420 .saturating_add(T::DbWeight::get().writes(4_u64))
421 }
422 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
423 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
424 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
425 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
426 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
427 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
428 /// Storage: `Revive::PristineCode` (r:1 w:0)
429 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
430 /// Storage: `Timestamp::Now` (r:1 w:0)
431 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
432 /// Storage: `System::Account` (r:1 w:1)
433 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
434 fn call() -> Weight {
435 // Proof Size summary in bytes:
436 // Measured: `1751`
437 // Estimated: `7691`
438 // Minimum execution time: 100_385_000 picoseconds.
439 Weight::from_parts(105_469_000, 7691)
440 .saturating_add(T::DbWeight::get().reads(8_u64))
441 .saturating_add(T::DbWeight::get().writes(2_u64))
442 }
443 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
444 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
445 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
446 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
447 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
448 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
449 /// Storage: `Revive::PristineCode` (r:1 w:0)
450 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
451 /// Storage: `Timestamp::Now` (r:1 w:0)
452 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
453 /// Storage: `System::Account` (r:1 w:1)
454 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
455 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
456 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
457 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
458 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
459 /// The range of component `d` is `[0, 1]`.
460 fn eth_call(d: u32, ) -> Weight {
461 // Proof Size summary in bytes:
462 // Measured: `1751`
463 // Estimated: `7691`
464 // Minimum execution time: 182_832_000 picoseconds.
465 Weight::from_parts(192_394_625, 7691)
466 // Standard Error: 259_318
467 .saturating_add(Weight::from_parts(3_935_493, 0).saturating_mul(d.into()))
468 .saturating_add(T::DbWeight::get().reads(9_u64))
469 .saturating_add(T::DbWeight::get().writes(5_u64))
470 }
471 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
472 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
473 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
474 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
475 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
476 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`)
477 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
478 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
479 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
480 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
481 /// The range of component `c` is `[0, 102400]`.
482 fn eth_substrate_call(c: u32, ) -> Weight {
483 // Proof Size summary in bytes:
484 // Measured: `381`
485 // Estimated: `3846`
486 // Minimum execution time: 31_589_000 picoseconds.
487 Weight::from_parts(27_126_088, 3846)
488 // Standard Error: 3
489 .saturating_add(Weight::from_parts(6_291, 0).saturating_mul(c.into()))
490 .saturating_add(T::DbWeight::get().reads(4_u64))
491 .saturating_add(T::DbWeight::get().writes(2_u64))
492 }
493 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
494 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
495 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
496 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
497 /// Storage: `Balances::Holds` (r:1 w:1)
498 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
499 /// Storage: `Revive::PristineCode` (r:0 w:1)
500 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
501 /// The range of component `c` is `[0, 102400]`.
502 fn upload_code(c: u32, ) -> Weight {
503 // Proof Size summary in bytes:
504 // Measured: `291`
505 // Estimated: `3756`
506 // Minimum execution time: 60_697_000 picoseconds.
507 Weight::from_parts(51_467_292, 3756)
508 // Standard Error: 21
509 .saturating_add(Weight::from_parts(14_321, 0).saturating_mul(c.into()))
510 .saturating_add(T::DbWeight::get().reads(3_u64))
511 .saturating_add(T::DbWeight::get().writes(3_u64))
512 }
513 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
514 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
515 /// Storage: `Balances::Holds` (r:1 w:1)
516 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
517 /// Storage: `Revive::PristineCode` (r:0 w:1)
518 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
519 fn remove_code() -> Weight {
520 // Proof Size summary in bytes:
521 // Measured: `423`
522 // Estimated: `3888`
523 // Minimum execution time: 51_230_000 picoseconds.
524 Weight::from_parts(53_748_000, 3888)
525 .saturating_add(T::DbWeight::get().reads(2_u64))
526 .saturating_add(T::DbWeight::get().writes(3_u64))
527 }
528 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
529 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
530 /// Storage: `Revive::CodeInfoOf` (r:2 w:2)
531 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
532 /// Storage: `Balances::Holds` (r:1 w:1)
533 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
534 /// Storage: `System::Account` (r:1 w:1)
535 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
536 /// Storage: `Revive::PristineCode` (r:0 w:1)
537 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
538 fn set_code() -> Weight {
539 // Proof Size summary in bytes:
540 // Measured: `833`
541 // Estimated: `6773`
542 // Minimum execution time: 68_333_000 picoseconds.
543 Weight::from_parts(71_594_000, 6773)
544 .saturating_add(T::DbWeight::get().reads(5_u64))
545 .saturating_add(T::DbWeight::get().writes(6_u64))
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::OriginalAccount` (r:1 w:1)
550 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
551 /// Storage: `Balances::Holds` (r:1 w:1)
552 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
553 fn map_account() -> Weight {
554 // Proof Size summary in bytes:
555 // Measured: `623`
556 // Estimated: `4088`
557 // Minimum execution time: 60_322_000 picoseconds.
558 Weight::from_parts(63_934_000, 4088)
559 .saturating_add(T::DbWeight::get().reads(3_u64))
560 .saturating_add(T::DbWeight::get().writes(2_u64))
561 }
562 /// Storage: `Balances::Holds` (r:1 w:1)
563 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
564 /// Storage: `Revive::OriginalAccount` (r:0 w:1)
565 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
566 fn unmap_account() -> Weight {
567 // Proof Size summary in bytes:
568 // Measured: `93`
569 // Estimated: `3558`
570 // Minimum execution time: 39_646_000 picoseconds.
571 Weight::from_parts(41_988_000, 3558)
572 .saturating_add(T::DbWeight::get().reads(1_u64))
573 .saturating_add(T::DbWeight::get().writes(2_u64))
574 }
575 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
576 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
577 /// Storage: `System::Account` (r:1024 w:1024)
578 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
579 /// Storage: `Revive::OriginalAccount` (r:1024 w:1024)
580 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
581 /// Storage: `Balances::Holds` (r:1024 w:1024)
582 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
583 /// The range of component `a` is `[0, 1024]`.
584 fn batch_map_accounts(a: u32, ) -> Weight {
585 // Proof Size summary in bytes:
586 // Measured: `563 + a * (209 ±0)`
587 // Estimated: `4008 + a * (2684 ±0)`
588 // Minimum execution time: 10_608_000 picoseconds.
589 Weight::from_parts(10_948_000, 4008)
590 // Standard Error: 45_492
591 .saturating_add(Weight::from_parts(47_595_564, 0).saturating_mul(a.into()))
592 .saturating_add(T::DbWeight::get().reads(1_u64))
593 .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(a.into())))
594 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(a.into())))
595 .saturating_add(Weight::from_parts(0, 2684).saturating_mul(a.into()))
596 }
597 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
598 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
599 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
600 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
601 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
602 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`)
603 fn dispatch_as_fallback_account() -> Weight {
604 // Proof Size summary in bytes:
605 // Measured: `381`
606 // Estimated: `3846`
607 // Minimum execution time: 18_753_000 picoseconds.
608 Weight::from_parts(20_009_000, 3846)
609 .saturating_add(T::DbWeight::get().reads(3_u64))
610 }
611 /// The range of component `r` is `[0, 1600]`.
612 fn noop_host_fn(r: u32, ) -> Weight {
613 // Proof Size summary in bytes:
614 // Measured: `0`
615 // Estimated: `0`
616 // Minimum execution time: 9_274_000 picoseconds.
617 Weight::from_parts(11_175_079, 0)
618 // Standard Error: 48
619 .saturating_add(Weight::from_parts(146_274, 0).saturating_mul(r.into()))
620 }
621 fn seal_caller() -> Weight {
622 // Proof Size summary in bytes:
623 // Measured: `0`
624 // Estimated: `0`
625 // Minimum execution time: 289_000 picoseconds.
626 Weight::from_parts(380_000, 0)
627 }
628 fn seal_origin() -> Weight {
629 // Proof Size summary in bytes:
630 // Measured: `0`
631 // Estimated: `0`
632 // Minimum execution time: 264_000 picoseconds.
633 Weight::from_parts(341_000, 0)
634 }
635 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
636 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
637 fn to_account_id() -> Weight {
638 // Proof Size summary in bytes:
639 // Measured: `365`
640 // Estimated: `3830`
641 // Minimum execution time: 7_357_000 picoseconds.
642 Weight::from_parts(8_150_000, 3830)
643 .saturating_add(T::DbWeight::get().reads(1_u64))
644 }
645 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
646 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
647 fn seal_code_hash() -> Weight {
648 // Proof Size summary in bytes:
649 // Measured: `124`
650 // Estimated: `3589`
651 // Minimum execution time: 4_206_000 picoseconds.
652 Weight::from_parts(4_700_000, 3589)
653 .saturating_add(T::DbWeight::get().reads(1_u64))
654 }
655 fn own_code_hash() -> Weight {
656 // Proof Size summary in bytes:
657 // Measured: `0`
658 // Estimated: `0`
659 // Minimum execution time: 3_284_000 picoseconds.
660 Weight::from_parts(3_760_000, 0)
661 }
662 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
663 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
664 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
665 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
666 fn seal_code_size() -> Weight {
667 // Proof Size summary in bytes:
668 // Measured: `196`
669 // Estimated: `3661`
670 // Minimum execution time: 7_665_000 picoseconds.
671 Weight::from_parts(8_492_000, 3661)
672 .saturating_add(T::DbWeight::get().reads(2_u64))
673 }
674 fn caller_is_origin() -> Weight {
675 // Proof Size summary in bytes:
676 // Measured: `0`
677 // Estimated: `0`
678 // Minimum execution time: 1_154_000 picoseconds.
679 Weight::from_parts(1_359_000, 0)
680 }
681 fn caller_is_root() -> Weight {
682 // Proof Size summary in bytes:
683 // Measured: `0`
684 // Estimated: `0`
685 // Minimum execution time: 1_144_000 picoseconds.
686 Weight::from_parts(1_333_000, 0)
687 }
688 fn origin_is_root() -> Weight {
689 // Proof Size summary in bytes:
690 // Measured: `0`
691 // Estimated: `0`
692 // Minimum execution time: 1_097_000 picoseconds.
693 Weight::from_parts(1_294_000, 0)
694 }
695 fn seal_address() -> Weight {
696 // Proof Size summary in bytes:
697 // Measured: `0`
698 // Estimated: `0`
699 // Minimum execution time: 266_000 picoseconds.
700 Weight::from_parts(351_000, 0)
701 }
702 fn weight_left() -> Weight {
703 // Proof Size summary in bytes:
704 // Measured: `0`
705 // Estimated: `0`
706 // Minimum execution time: 1_114_000 picoseconds.
707 Weight::from_parts(1_338_000, 0)
708 }
709 fn seal_ref_time_left() -> Weight {
710 // Proof Size summary in bytes:
711 // Measured: `0`
712 // Estimated: `0`
713 // Minimum execution time: 1_915_000 picoseconds.
714 Weight::from_parts(2_163_000, 0)
715 }
716 fn seal_balance() -> Weight {
717 // Proof Size summary in bytes:
718 // Measured: `0`
719 // Estimated: `0`
720 // Minimum execution time: 4_368_000 picoseconds.
721 Weight::from_parts(4_836_000, 0)
722 }
723 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
724 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
725 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
726 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
727 /// Storage: `System::Account` (r:1 w:0)
728 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
729 fn seal_balance_of() -> Weight {
730 // Proof Size summary in bytes:
731 // Measured: `539`
732 // Estimated: `4004`
733 // Minimum execution time: 13_900_000 picoseconds.
734 Weight::from_parts(15_050_000, 4004)
735 .saturating_add(T::DbWeight::get().reads(3_u64))
736 }
737 /// Storage: `Revive::ImmutableDataOf` (r:1 w:0)
738 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
739 /// The range of component `n` is `[1, 4096]`.
740 fn seal_get_immutable_data(n: u32, ) -> Weight {
741 // Proof Size summary in bytes:
742 // Measured: `13 + n * (1 ±0)`
743 // Estimated: `3478 + n * (1 ±0)`
744 // Minimum execution time: 4_130_000 picoseconds.
745 Weight::from_parts(4_663_793, 3478)
746 // Standard Error: 0
747 .saturating_add(Weight::from_parts(479, 0).saturating_mul(n.into()))
748 .saturating_add(T::DbWeight::get().reads(1_u64))
749 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
750 }
751 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
752 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
753 /// The range of component `n` is `[1, 4096]`.
754 fn seal_set_immutable_data(n: u32, ) -> Weight {
755 // Proof Size summary in bytes:
756 // Measured: `0`
757 // Estimated: `0`
758 // Minimum execution time: 2_124_000 picoseconds.
759 Weight::from_parts(2_459_152, 0)
760 // Standard Error: 0
761 .saturating_add(Weight::from_parts(481, 0).saturating_mul(n.into()))
762 .saturating_add(T::DbWeight::get().writes(1_u64))
763 }
764 fn seal_value_transferred() -> Weight {
765 // Proof Size summary in bytes:
766 // Measured: `0`
767 // Estimated: `0`
768 // Minimum execution time: 233_000 picoseconds.
769 Weight::from_parts(309_000, 0)
770 }
771 fn minimum_balance() -> Weight {
772 // Proof Size summary in bytes:
773 // Measured: `0`
774 // Estimated: `0`
775 // Minimum execution time: 1_333_000 picoseconds.
776 Weight::from_parts(1_586_000, 0)
777 }
778 fn seal_return_data_size() -> Weight {
779 // Proof Size summary in bytes:
780 // Measured: `0`
781 // Estimated: `0`
782 // Minimum execution time: 235_000 picoseconds.
783 Weight::from_parts(300_000, 0)
784 }
785 fn seal_call_data_size() -> Weight {
786 // Proof Size summary in bytes:
787 // Measured: `0`
788 // Estimated: `0`
789 // Minimum execution time: 228_000 picoseconds.
790 Weight::from_parts(299_000, 0)
791 }
792 fn seal_gas_limit() -> Weight {
793 // Proof Size summary in bytes:
794 // Measured: `0`
795 // Estimated: `0`
796 // Minimum execution time: 254_000 picoseconds.
797 Weight::from_parts(330_000, 0)
798 }
799 fn seal_gas_price() -> Weight {
800 // Proof Size summary in bytes:
801 // Measured: `0`
802 // Estimated: `0`
803 // Minimum execution time: 941_000 picoseconds.
804 Weight::from_parts(1_167_000, 0)
805 }
806 fn seal_base_fee() -> Weight {
807 // Proof Size summary in bytes:
808 // Measured: `0`
809 // Estimated: `0`
810 // Minimum execution time: 965_000 picoseconds.
811 Weight::from_parts(1_170_000, 0)
812 }
813 fn seal_block_number() -> Weight {
814 // Proof Size summary in bytes:
815 // Measured: `0`
816 // Estimated: `0`
817 // Minimum execution time: 240_000 picoseconds.
818 Weight::from_parts(315_000, 0)
819 }
820 /// Storage: `Session::Validators` (r:1 w:0)
821 /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
822 fn seal_block_author() -> Weight {
823 // Proof Size summary in bytes:
824 // Measured: `142`
825 // Estimated: `1627`
826 // Minimum execution time: 19_018_000 picoseconds.
827 Weight::from_parts(20_129_000, 1627)
828 .saturating_add(T::DbWeight::get().reads(1_u64))
829 }
830 /// Storage: `Revive::BlockHash` (r:1 w:0)
831 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
832 fn seal_block_hash() -> Weight {
833 // Proof Size summary in bytes:
834 // Measured: `22`
835 // Estimated: `3487`
836 // Minimum execution time: 3_125_000 picoseconds.
837 Weight::from_parts(3_465_000, 3487)
838 .saturating_add(T::DbWeight::get().reads(1_u64))
839 }
840 fn seal_now() -> Weight {
841 // Proof Size summary in bytes:
842 // Measured: `0`
843 // Estimated: `0`
844 // Minimum execution time: 232_000 picoseconds.
845 Weight::from_parts(291_000, 0)
846 }
847 /// The range of component `n` is `[0, 1048572]`.
848 fn seal_copy_to_contract(n: u32, ) -> Weight {
849 // Proof Size summary in bytes:
850 // Measured: `0`
851 // Estimated: `0`
852 // Minimum execution time: 510_000 picoseconds.
853 Weight::from_parts(391_489, 0)
854 // Standard Error: 0
855 .saturating_add(Weight::from_parts(202, 0).saturating_mul(n.into()))
856 }
857 fn seal_call_data_load() -> Weight {
858 // Proof Size summary in bytes:
859 // Measured: `0`
860 // Estimated: `0`
861 // Minimum execution time: 244_000 picoseconds.
862 Weight::from_parts(304_000, 0)
863 }
864 /// The range of component `n` is `[0, 1048576]`.
865 fn seal_call_data_copy(n: u32, ) -> Weight {
866 // Proof Size summary in bytes:
867 // Measured: `0`
868 // Estimated: `0`
869 // Minimum execution time: 297_000 picoseconds.
870 Weight::from_parts(118_105, 0)
871 // Standard Error: 0
872 .saturating_add(Weight::from_parts(114, 0).saturating_mul(n.into()))
873 }
874 /// The range of component `n` is `[0, 131072]`.
875 fn seal_return(n: u32, ) -> Weight {
876 // Proof Size summary in bytes:
877 // Measured: `0`
878 // Estimated: `0`
879 // Minimum execution time: 292_000 picoseconds.
880 Weight::from_parts(513_218, 0)
881 // Standard Error: 0
882 .saturating_add(Weight::from_parts(200, 0).saturating_mul(n.into()))
883 }
884 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
885 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
886 /// The range of component `r` is `[0, 1]`.
887 fn seal_terminate(r: u32, ) -> Weight {
888 // Proof Size summary in bytes:
889 // Measured: `309`
890 // Estimated: `6249`
891 // Minimum execution time: 10_897_000 picoseconds.
892 Weight::from_parts(11_753_272, 6249)
893 // Standard Error: 9_468
894 .saturating_add(Weight::from_parts(135_066, 0).saturating_mul(r.into()))
895 .saturating_add(T::DbWeight::get().reads(2_u64))
896 }
897 /// Storage: `Balances::Holds` (r:2 w:2)
898 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
899 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
900 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
901 /// Storage: `System::Account` (r:2 w:2)
902 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
903 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
904 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
905 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1)
906 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
907 /// Storage: `Revive::DeletionQueue` (r:0 w:1)
908 /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `Measured`)
909 /// Storage: `Revive::PristineCode` (r:0 w:1)
910 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
911 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
912 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
913 fn seal_terminate_logic() -> Weight {
914 // Proof Size summary in bytes:
915 // Measured: `773`
916 // Estimated: `6713`
917 // Minimum execution time: 213_456_000 picoseconds.
918 Weight::from_parts(222_409_000, 6713)
919 .saturating_add(T::DbWeight::get().reads(7_u64))
920 .saturating_add(T::DbWeight::get().writes(9_u64))
921 }
922 /// The range of component `t` is `[0, 4]`.
923 /// The range of component `n` is `[0, 65536]`.
924 fn seal_deposit_event(_t: u32, n: u32, ) -> Weight {
925 // Proof Size summary in bytes:
926 // Measured: `0`
927 // Estimated: `0`
928 // Minimum execution time: 5_120_000 picoseconds.
929 Weight::from_parts(5_360_000, 0)
930 // Standard Error: 1
931 .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(n.into()))
932 }
933 /// Storage: `Skipped::Metadata` (r:0 w:0)
934 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
935 fn get_storage_empty() -> Weight {
936 // Proof Size summary in bytes:
937 // Measured: `648`
938 // Estimated: `648`
939 // Minimum execution time: 8_514_000 picoseconds.
940 Weight::from_parts(9_360_000, 648)
941 .saturating_add(T::DbWeight::get().reads(1_u64))
942 }
943 /// Storage: `Skipped::Metadata` (r:0 w:0)
944 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
945 fn get_storage_full() -> Weight {
946 // Proof Size summary in bytes:
947 // Measured: `10658`
948 // Estimated: `10658`
949 // Minimum execution time: 38_417_000 picoseconds.
950 Weight::from_parts(40_146_000, 10658)
951 .saturating_add(T::DbWeight::get().reads(1_u64))
952 }
953 /// Storage: `Skipped::Metadata` (r:0 w:0)
954 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
955 fn set_storage_empty() -> Weight {
956 // Proof Size summary in bytes:
957 // Measured: `648`
958 // Estimated: `648`
959 // Minimum execution time: 9_711_000 picoseconds.
960 Weight::from_parts(10_580_000, 648)
961 .saturating_add(T::DbWeight::get().reads(1_u64))
962 .saturating_add(T::DbWeight::get().writes(1_u64))
963 }
964 /// Storage: `Skipped::Metadata` (r:0 w:0)
965 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
966 fn set_storage_full() -> Weight {
967 // Proof Size summary in bytes:
968 // Measured: `10658`
969 // Estimated: `10658`
970 // Minimum execution time: 40_644_000 picoseconds.
971 Weight::from_parts(42_433_000, 10658)
972 .saturating_add(T::DbWeight::get().reads(1_u64))
973 .saturating_add(T::DbWeight::get().writes(1_u64))
974 }
975 /// Storage: `Skipped::Metadata` (r:0 w:0)
976 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
977 /// The range of component `n` is `[0, 416]`.
978 /// The range of component `o` is `[0, 416]`.
979 fn seal_set_storage(n: u32, o: u32, ) -> Weight {
980 // Proof Size summary in bytes:
981 // Measured: `248 + o * (1 ±0)`
982 // Estimated: `247 + o * (1 ±0)`
983 // Minimum execution time: 9_150_000 picoseconds.
984 Weight::from_parts(9_944_698, 247)
985 // Standard Error: 14
986 .saturating_add(Weight::from_parts(414, 0).saturating_mul(n.into()))
987 // Standard Error: 14
988 .saturating_add(Weight::from_parts(532, 0).saturating_mul(o.into()))
989 .saturating_add(T::DbWeight::get().reads(1_u64))
990 .saturating_add(T::DbWeight::get().writes(1_u64))
991 .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into()))
992 }
993 /// Storage: `Skipped::Metadata` (r:0 w:0)
994 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
995 /// The range of component `n` is `[0, 416]`.
996 fn clear_storage(n: u32, ) -> Weight {
997 // Proof Size summary in bytes:
998 // Measured: `248 + n * (1 ±0)`
999 // Estimated: `247 + n * (1 ±0)`
1000 // Minimum execution time: 10_324_000 picoseconds.
1001 Weight::from_parts(11_653_957, 247)
1002 // Standard Error: 15
1003 .saturating_add(Weight::from_parts(608, 0).saturating_mul(n.into()))
1004 .saturating_add(T::DbWeight::get().reads(1_u64))
1005 .saturating_add(T::DbWeight::get().writes(1_u64))
1006 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1007 }
1008 /// Storage: `Skipped::Metadata` (r:0 w:0)
1009 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1010 /// The range of component `n` is `[0, 416]`.
1011 fn seal_get_storage(n: u32, ) -> Weight {
1012 // Proof Size summary in bytes:
1013 // Measured: `248 + n * (1 ±0)`
1014 // Estimated: `247 + n * (1 ±0)`
1015 // Minimum execution time: 8_212_000 picoseconds.
1016 Weight::from_parts(9_334_500, 247)
1017 // Standard Error: 13
1018 .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(n.into()))
1019 .saturating_add(T::DbWeight::get().reads(1_u64))
1020 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1021 }
1022 /// Storage: `Skipped::Metadata` (r:0 w:0)
1023 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1024 /// The range of component `n` is `[0, 416]`.
1025 fn contains_storage(n: u32, ) -> Weight {
1026 // Proof Size summary in bytes:
1027 // Measured: `248 + n * (1 ±0)`
1028 // Estimated: `247 + n * (1 ±0)`
1029 // Minimum execution time: 9_310_000 picoseconds.
1030 Weight::from_parts(10_443_253, 247)
1031 // Standard Error: 14
1032 .saturating_add(Weight::from_parts(507, 0).saturating_mul(n.into()))
1033 .saturating_add(T::DbWeight::get().reads(1_u64))
1034 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1035 }
1036 /// Storage: `Skipped::Metadata` (r:0 w:0)
1037 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1038 /// The range of component `n` is `[0, 416]`.
1039 fn take_storage(n: u32, ) -> Weight {
1040 // Proof Size summary in bytes:
1041 // Measured: `248 + n * (1 ±0)`
1042 // Estimated: `247 + n * (1 ±0)`
1043 // Minimum execution time: 10_590_000 picoseconds.
1044 Weight::from_parts(12_338_922, 247)
1045 // Standard Error: 19
1046 .saturating_add(Weight::from_parts(1_324, 0).saturating_mul(n.into()))
1047 .saturating_add(T::DbWeight::get().reads(1_u64))
1048 .saturating_add(T::DbWeight::get().writes(1_u64))
1049 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1050 }
1051 fn set_transient_storage_empty() -> Weight {
1052 // Proof Size summary in bytes:
1053 // Measured: `0`
1054 // Estimated: `0`
1055 // Minimum execution time: 1_621_000 picoseconds.
1056 Weight::from_parts(1_875_000, 0)
1057 }
1058 fn set_transient_storage_full() -> Weight {
1059 // Proof Size summary in bytes:
1060 // Measured: `0`
1061 // Estimated: `0`
1062 // Minimum execution time: 1_963_000 picoseconds.
1063 Weight::from_parts(2_229_000, 0)
1064 }
1065 fn get_transient_storage_empty() -> Weight {
1066 // Proof Size summary in bytes:
1067 // Measured: `0`
1068 // Estimated: `0`
1069 // Minimum execution time: 1_503_000 picoseconds.
1070 Weight::from_parts(1_695_000, 0)
1071 }
1072 fn get_transient_storage_full() -> Weight {
1073 // Proof Size summary in bytes:
1074 // Measured: `0`
1075 // Estimated: `0`
1076 // Minimum execution time: 1_676_000 picoseconds.
1077 Weight::from_parts(1_883_000, 0)
1078 }
1079 fn rollback_transient_storage() -> Weight {
1080 // Proof Size summary in bytes:
1081 // Measured: `0`
1082 // Estimated: `0`
1083 // Minimum execution time: 1_194_000 picoseconds.
1084 Weight::from_parts(1_395_000, 0)
1085 }
1086 /// The range of component `n` is `[0, 416]`.
1087 /// The range of component `o` is `[0, 416]`.
1088 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight {
1089 // Proof Size summary in bytes:
1090 // Measured: `0`
1091 // Estimated: `0`
1092 // Minimum execution time: 2_418_000 picoseconds.
1093 Weight::from_parts(2_759_699, 0)
1094 // Standard Error: 4
1095 .saturating_add(Weight::from_parts(265, 0).saturating_mul(n.into()))
1096 // Standard Error: 4
1097 .saturating_add(Weight::from_parts(309, 0).saturating_mul(o.into()))
1098 }
1099 /// The range of component `n` is `[0, 416]`.
1100 fn seal_clear_transient_storage(n: u32, ) -> Weight {
1101 // Proof Size summary in bytes:
1102 // Measured: `0`
1103 // Estimated: `0`
1104 // Minimum execution time: 3_695_000 picoseconds.
1105 Weight::from_parts(4_344_234, 0)
1106 // Standard Error: 6
1107 .saturating_add(Weight::from_parts(336, 0).saturating_mul(n.into()))
1108 }
1109 /// The range of component `n` is `[0, 416]`.
1110 fn seal_get_transient_storage(n: u32, ) -> Weight {
1111 // Proof Size summary in bytes:
1112 // Measured: `0`
1113 // Estimated: `0`
1114 // Minimum execution time: 1_953_000 picoseconds.
1115 Weight::from_parts(2_302_993, 0)
1116 // Standard Error: 3
1117 .saturating_add(Weight::from_parts(325, 0).saturating_mul(n.into()))
1118 }
1119 /// The range of component `n` is `[0, 416]`.
1120 fn seal_contains_transient_storage(n: u32, ) -> Weight {
1121 // Proof Size summary in bytes:
1122 // Measured: `0`
1123 // Estimated: `0`
1124 // Minimum execution time: 3_262_000 picoseconds.
1125 Weight::from_parts(3_723_541, 0)
1126 // Standard Error: 5
1127 .saturating_add(Weight::from_parts(184, 0).saturating_mul(n.into()))
1128 }
1129 /// The range of component `n` is `[0, 416]`.
1130 fn seal_take_transient_storage(_n: u32, ) -> Weight {
1131 // Proof Size summary in bytes:
1132 // Measured: `0`
1133 // Estimated: `0`
1134 // Minimum execution time: 4_156_000 picoseconds.
1135 Weight::from_parts(4_729_501, 0)
1136 }
1137 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1138 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1139 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1140 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1141 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1142 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1143 /// Storage: `Revive::PristineCode` (r:1 w:0)
1144 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1145 /// Storage: `System::Account` (r:1 w:1)
1146 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1147 /// The range of component `t` is `[0, 1]`.
1148 /// The range of component `d` is `[0, 1]`.
1149 /// The range of component `i` is `[0, 1048576]`.
1150 fn seal_call(t: u32, d: u32, i: u32, ) -> Weight {
1151 // Proof Size summary in bytes:
1152 // Measured: `1220`
1153 // Estimated: `4685`
1154 // Minimum execution time: 89_062_000 picoseconds.
1155 Weight::from_parts(72_899_960, 4685)
1156 // Standard Error: 64_475
1157 .saturating_add(Weight::from_parts(18_057_179, 0).saturating_mul(t.into()))
1158 // Standard Error: 64_475
1159 .saturating_add(Weight::from_parts(23_282_714, 0).saturating_mul(d.into()))
1160 // Standard Error: 0
1161 .saturating_add(Weight::from_parts(1, 0).saturating_mul(i.into()))
1162 .saturating_add(T::DbWeight::get().reads(5_u64))
1163 .saturating_add(T::DbWeight::get().writes(1_u64))
1164 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
1165 }
1166 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1167 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1168 /// Storage: `System::Account` (r:1 w:0)
1169 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1170 /// The range of component `d` is `[0, 1]`.
1171 /// The range of component `i` is `[0, 130972]`.
1172 fn seal_call_precompile(d: u32, i: u32, ) -> Weight {
1173 // Proof Size summary in bytes:
1174 // Measured: `0 + d * (174 ±0)`
1175 // Estimated: `1820 + d * (1820 ±0)`
1176 // Minimum execution time: 19_382_000 picoseconds.
1177 Weight::from_parts(9_518_836, 1820)
1178 // Standard Error: 16_606
1179 .saturating_add(Weight::from_parts(11_275_966, 0).saturating_mul(d.into()))
1180 // Standard Error: 0
1181 .saturating_add(Weight::from_parts(326, 0).saturating_mul(i.into()))
1182 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into())))
1183 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into())))
1184 .saturating_add(Weight::from_parts(0, 1820).saturating_mul(d.into()))
1185 }
1186 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1187 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1188 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1189 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1190 /// Storage: `Revive::PristineCode` (r:1 w:0)
1191 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1192 fn seal_delegate_call() -> Weight {
1193 // Proof Size summary in bytes:
1194 // Measured: `749`
1195 // Estimated: `4214`
1196 // Minimum execution time: 27_775_000 picoseconds.
1197 Weight::from_parts(29_832_000, 4214)
1198 .saturating_add(T::DbWeight::get().reads(3_u64))
1199 }
1200 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1201 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1202 /// Storage: `Revive::PristineCode` (r:1 w:0)
1203 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1204 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1205 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1206 /// Storage: `Revive::NativeDepositOf` (r:1 w:0)
1207 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `Measured`)
1208 /// Storage: `System::Account` (r:1 w:1)
1209 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1210 /// The range of component `t` is `[0, 1]`.
1211 /// The range of component `d` is `[0, 1]`.
1212 /// The range of component `i` is `[0, 131072]`.
1213 fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight {
1214 // Proof Size summary in bytes:
1215 // Measured: `670`
1216 // Estimated: `4107 + d * (14 ±4) + t * (14 ±4)`
1217 // Minimum execution time: 132_361_000 picoseconds.
1218 Weight::from_parts(87_656_593, 4107)
1219 // Standard Error: 405_661
1220 .saturating_add(Weight::from_parts(23_465_195, 0).saturating_mul(t.into()))
1221 // Standard Error: 405_661
1222 .saturating_add(Weight::from_parts(26_625_618, 0).saturating_mul(d.into()))
1223 // Standard Error: 4
1224 .saturating_add(Weight::from_parts(4_010, 0).saturating_mul(i.into()))
1225 .saturating_add(T::DbWeight::get().reads(5_u64))
1226 .saturating_add(T::DbWeight::get().writes(3_u64))
1227 .saturating_add(Weight::from_parts(0, 14).saturating_mul(d.into()))
1228 .saturating_add(Weight::from_parts(0, 14).saturating_mul(t.into()))
1229 }
1230 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1231 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1232 /// Storage: `Revive::NativeDepositOf` (r:1 w:0)
1233 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `Measured`)
1234 /// Storage: `System::Account` (r:2 w:2)
1235 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1236 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1237 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1238 /// Storage: `Balances::Holds` (r:1 w:1)
1239 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
1240 /// Storage: `Revive::PristineCode` (r:0 w:1)
1241 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1242 /// The range of component `t` is `[0, 1]`.
1243 /// The range of component `d` is `[0, 1]`.
1244 /// The range of component `i` is `[10240, 49152]`.
1245 fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight {
1246 // Proof Size summary in bytes:
1247 // Measured: `302`
1248 // Estimated: `6210 + d * (22 ±3) + t * (22 ±3)`
1249 // Minimum execution time: 338_840_000 picoseconds.
1250 Weight::from_parts(212_777_542, 6210)
1251 // Standard Error: 610_182
1252 .saturating_add(Weight::from_parts(23_444_337, 0).saturating_mul(t.into()))
1253 // Standard Error: 610_182
1254 .saturating_add(Weight::from_parts(31_257_496, 0).saturating_mul(d.into()))
1255 // Standard Error: 24
1256 .saturating_add(Weight::from_parts(7_612, 0).saturating_mul(i.into()))
1257 .saturating_add(T::DbWeight::get().reads(6_u64))
1258 .saturating_add(T::DbWeight::get().writes(6_u64))
1259 .saturating_add(Weight::from_parts(0, 22).saturating_mul(d.into()))
1260 .saturating_add(Weight::from_parts(0, 22).saturating_mul(t.into()))
1261 }
1262 /// The range of component `n` is `[0, 1048576]`.
1263 fn sha2_256(n: u32, ) -> Weight {
1264 // Proof Size summary in bytes:
1265 // Measured: `0`
1266 // Estimated: `0`
1267 // Minimum execution time: 1_357_000 picoseconds.
1268 Weight::from_parts(12_575_209, 0)
1269 // Standard Error: 0
1270 .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(n.into()))
1271 }
1272 /// The range of component `n` is `[0, 1048576]`.
1273 fn identity(n: u32, ) -> Weight {
1274 // Proof Size summary in bytes:
1275 // Measured: `0`
1276 // Estimated: `0`
1277 // Minimum execution time: 870_000 picoseconds.
1278 Weight::from_parts(849_382, 0)
1279 // Standard Error: 0
1280 .saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into()))
1281 }
1282 /// The range of component `n` is `[0, 1048576]`.
1283 fn ripemd_160(n: u32, ) -> Weight {
1284 // Proof Size summary in bytes:
1285 // Measured: `0`
1286 // Estimated: `0`
1287 // Minimum execution time: 1_444_000 picoseconds.
1288 Weight::from_parts(5_616_633, 0)
1289 // Standard Error: 0
1290 .saturating_add(Weight::from_parts(3_740, 0).saturating_mul(n.into()))
1291 }
1292 /// The range of component `n` is `[0, 1048576]`.
1293 fn seal_hash_keccak_256(n: u32, ) -> Weight {
1294 // Proof Size summary in bytes:
1295 // Measured: `0`
1296 // Estimated: `0`
1297 // Minimum execution time: 1_205_000 picoseconds.
1298 Weight::from_parts(15_433_529, 0)
1299 // Standard Error: 0
1300 .saturating_add(Weight::from_parts(3_551, 0).saturating_mul(n.into()))
1301 }
1302 /// The range of component `n` is `[0, 1048576]`.
1303 fn hash_blake2_256(n: u32, ) -> Weight {
1304 // Proof Size summary in bytes:
1305 // Measured: `0`
1306 // Estimated: `0`
1307 // Minimum execution time: 1_943_000 picoseconds.
1308 Weight::from_parts(14_541_945, 0)
1309 // Standard Error: 0
1310 .saturating_add(Weight::from_parts(1_411, 0).saturating_mul(n.into()))
1311 }
1312 /// The range of component `n` is `[0, 1048576]`.
1313 fn hash_blake2_128(n: u32, ) -> Weight {
1314 // Proof Size summary in bytes:
1315 // Measured: `0`
1316 // Estimated: `0`
1317 // Minimum execution time: 1_867_000 picoseconds.
1318 Weight::from_parts(13_894_889, 0)
1319 // Standard Error: 0
1320 .saturating_add(Weight::from_parts(1_412, 0).saturating_mul(n.into()))
1321 }
1322 /// The range of component `n` is `[0, 1048321]`.
1323 fn seal_sr25519_verify(n: u32, ) -> Weight {
1324 // Proof Size summary in bytes:
1325 // Measured: `0`
1326 // Estimated: `0`
1327 // Minimum execution time: 48_263_000 picoseconds.
1328 Weight::from_parts(91_210_549, 0)
1329 // Standard Error: 4
1330 .saturating_add(Weight::from_parts(4_806, 0).saturating_mul(n.into()))
1331 }
1332 fn ecdsa_recover() -> Weight {
1333 // Proof Size summary in bytes:
1334 // Measured: `0`
1335 // Estimated: `0`
1336 // Minimum execution time: 45_994_000 picoseconds.
1337 Weight::from_parts(47_439_000, 0)
1338 }
1339 fn p256_verify() -> Weight {
1340 // Proof Size summary in bytes:
1341 // Measured: `0`
1342 // Estimated: `0`
1343 // Minimum execution time: 1_787_040_000 picoseconds.
1344 Weight::from_parts(1_804_177_000, 0)
1345 }
1346 fn bn128_add() -> Weight {
1347 // Proof Size summary in bytes:
1348 // Measured: `0`
1349 // Estimated: `0`
1350 // Minimum execution time: 14_820_000 picoseconds.
1351 Weight::from_parts(16_605_000, 0)
1352 }
1353 fn bn128_mul() -> Weight {
1354 // Proof Size summary in bytes:
1355 // Measured: `0`
1356 // Estimated: `0`
1357 // Minimum execution time: 987_170_000 picoseconds.
1358 Weight::from_parts(1_000_128_000, 0)
1359 }
1360 /// The range of component `n` is `[0, 20]`.
1361 fn bn128_pairing(n: u32, ) -> Weight {
1362 // Proof Size summary in bytes:
1363 // Measured: `0`
1364 // Estimated: `0`
1365 // Minimum execution time: 1_020_000 picoseconds.
1366 Weight::from_parts(4_729_757_804, 0)
1367 // Standard Error: 10_571_414
1368 .saturating_add(Weight::from_parts(5_966_827_426, 0).saturating_mul(n.into()))
1369 }
1370 /// The range of component `n` is `[0, 1200]`.
1371 fn blake2f(n: u32, ) -> Weight {
1372 // Proof Size summary in bytes:
1373 // Measured: `0`
1374 // Estimated: `0`
1375 // Minimum execution time: 1_083_000 picoseconds.
1376 Weight::from_parts(1_423_392, 0)
1377 // Standard Error: 1
1378 .saturating_add(Weight::from_parts(30_179, 0).saturating_mul(n.into()))
1379 }
1380 fn seal_ecdsa_to_eth_address() -> Weight {
1381 // Proof Size summary in bytes:
1382 // Measured: `0`
1383 // Estimated: `0`
1384 // Minimum execution time: 12_969_000 picoseconds.
1385 Weight::from_parts(13_226_000, 0)
1386 }
1387 /// The range of component `r` is `[0, 10000]`.
1388 fn evm_opcode(r: u32, ) -> Weight {
1389 // Proof Size summary in bytes:
1390 // Measured: `0`
1391 // Estimated: `0`
1392 // Minimum execution time: 667_000 picoseconds.
1393 Weight::from_parts(865_030, 0)
1394 // Standard Error: 2
1395 .saturating_add(Weight::from_parts(7_965, 0).saturating_mul(r.into()))
1396 }
1397 /// The range of component `r` is `[0, 10000]`.
1398 fn instr(r: u32, ) -> Weight {
1399 // Proof Size summary in bytes:
1400 // Measured: `0`
1401 // Estimated: `0`
1402 // Minimum execution time: 13_339_000 picoseconds.
1403 Weight::from_parts(62_031_927, 0)
1404 // Standard Error: 636
1405 .saturating_add(Weight::from_parts(79_494, 0).saturating_mul(r.into()))
1406 }
1407 /// The range of component `r` is `[0, 10000]`.
1408 fn instr_empty_loop(r: u32, ) -> Weight {
1409 // Proof Size summary in bytes:
1410 // Measured: `0`
1411 // Estimated: `0`
1412 // Minimum execution time: 3_520_000 picoseconds.
1413 Weight::from_parts(2_963_331, 0)
1414 // Standard Error: 7
1415 .saturating_add(Weight::from_parts(38_980, 0).saturating_mul(r.into()))
1416 }
1417 /// Storage: `Revive::PristineCode` (r:1 w:0)
1418 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1419 /// The range of component `n` is `[1000, 10000]`.
1420 fn extcodecopy(n: u32, ) -> Weight {
1421 // Proof Size summary in bytes:
1422 // Measured: `91 + n * (1 ±0)`
1423 // Estimated: `3556 + n * (1 ±0)`
1424 // Minimum execution time: 8_565_000 picoseconds.
1425 Weight::from_parts(8_443_495, 3556)
1426 // Standard Error: 1
1427 .saturating_add(Weight::from_parts(718, 0).saturating_mul(n.into()))
1428 .saturating_add(T::DbWeight::get().reads(1_u64))
1429 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1430 }
1431 /// Storage: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
1432 /// Proof: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
1433 /// Storage: `Revive::AccountInfoOf` (r:0 w:1)
1434 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`)
1435 fn v1_migration_step() -> Weight {
1436 // Proof Size summary in bytes:
1437 // Measured: `382`
1438 // Estimated: `6322`
1439 // Minimum execution time: 11_579_000 picoseconds.
1440 Weight::from_parts(12_545_000, 6322)
1441 .saturating_add(T::DbWeight::get().reads(2_u64))
1442 .saturating_add(T::DbWeight::get().writes(2_u64))
1443 }
1444 /// Storage: `System::Account` (r:1 w:1)
1445 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1446 /// Storage: `Revive::CodeInfoOf` (r:2 w:1)
1447 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`)
1448 /// Storage: `Balances::Holds` (r:2 w:2)
1449 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `MaxEncodedLen`)
1450 fn v2_migration_step() -> Weight {
1451 // Proof Size summary in bytes:
1452 // Measured: `505`
1453 // Estimated: `7010`
1454 // Minimum execution time: 63_635_000 picoseconds.
1455 Weight::from_parts(67_016_000, 7010)
1456 .saturating_add(T::DbWeight::get().reads(5_u64))
1457 .saturating_add(T::DbWeight::get().writes(4_u64))
1458 }
1459 /// Storage: `System::Account` (r:2 w:1)
1460 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1461 /// Storage: `Revive::OriginalAccount` (r:1 w:1)
1462 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
1463 /// Storage: `Balances::Holds` (r:1 w:1)
1464 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `MaxEncodedLen`)
1465 fn v3_migration_step() -> Weight {
1466 // Proof Size summary in bytes:
1467 // Measured: `629`
1468 // Estimated: `6196`
1469 // Minimum execution time: 38_952_000 picoseconds.
1470 Weight::from_parts(41_564_000, 6196)
1471 .saturating_add(T::DbWeight::get().reads(4_u64))
1472 .saturating_add(T::DbWeight::get().writes(3_u64))
1473 }
1474 /// Storage: `Revive::CodeInfoOf` (r:2 w:0)
1475 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`)
1476 /// Storage: `Revive::NativeDepositOf` (r:1 w:1)
1477 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
1478 fn v4_code_upload_step() -> Weight {
1479 // Proof Size summary in bytes:
1480 // Measured: `498`
1481 // Estimated: `6134`
1482 // Minimum execution time: 16_067_000 picoseconds.
1483 Weight::from_parts(17_426_000, 6134)
1484 .saturating_add(T::DbWeight::get().reads(3_u64))
1485 .saturating_add(T::DbWeight::get().writes(1_u64))
1486 }
1487 /// Storage: `Revive::AccountInfoOf` (r:2 w:0)
1488 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`)
1489 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1490 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
1491 /// Storage: `Balances::Holds` (r:1 w:0)
1492 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `MaxEncodedLen`)
1493 fn v4_contract_step() -> Weight {
1494 // Proof Size summary in bytes:
1495 // Measured: `909`
1496 // Estimated: `6434`
1497 // Minimum execution time: 23_012_000 picoseconds.
1498 Weight::from_parts(24_629_000, 6434)
1499 .saturating_add(T::DbWeight::get().reads(4_u64))
1500 }
1501 /// Storage: `Revive::DeletionQueue` (r:2 w:1)
1502 /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
1503 fn v4_deletion_queue_step() -> Weight {
1504 // Proof Size summary in bytes:
1505 // Measured: `313`
1506 // Estimated: `6288`
1507 // Minimum execution time: 9_628_000 picoseconds.
1508 Weight::from_parts(10_544_000, 6288)
1509 .saturating_add(T::DbWeight::get().reads(2_u64))
1510 .saturating_add(T::DbWeight::get().writes(1_u64))
1511 }
1512 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1513 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1514 /// Storage: `Revive::BlockHash` (r:1 w:1)
1515 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
1516 /// Storage: `Timestamp::Now` (r:1 w:0)
1517 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1518 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
1519 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1520 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
1521 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1522 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
1523 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1524 /// The range of component `n` is `[0, 200]`.
1525 fn on_finalize_per_transaction(n: u32, ) -> Weight {
1526 // Proof Size summary in bytes:
1527 // Measured: `3012 + n * (97 ±0)`
1528 // Estimated: `6303 + n * (104 ±1)`
1529 // Minimum execution time: 27_190_000 picoseconds.
1530 Weight::from_parts(54_505_473, 6303)
1531 // Standard Error: 5_400
1532 .saturating_add(Weight::from_parts(544_020, 0).saturating_mul(n.into()))
1533 .saturating_add(T::DbWeight::get().reads(4_u64))
1534 .saturating_add(T::DbWeight::get().writes(5_u64))
1535 .saturating_add(Weight::from_parts(0, 104).saturating_mul(n.into()))
1536 }
1537 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1538 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1539 /// Storage: `Revive::BlockHash` (r:1 w:1)
1540 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
1541 /// Storage: `Timestamp::Now` (r:1 w:0)
1542 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1543 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
1544 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1545 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
1546 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1547 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
1548 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1549 /// The range of component `d` is `[0, 1000]`.
1550 fn on_finalize_per_transaction_data(d: u32, ) -> Weight {
1551 // Proof Size summary in bytes:
1552 // Measured: `3577 + d * (3 ±0)`
1553 // Estimated: `7036 + d * (3 ±0)`
1554 // Minimum execution time: 58_293_000 picoseconds.
1555 Weight::from_parts(61_142_689, 7036)
1556 // Standard Error: 76
1557 .saturating_add(Weight::from_parts(11_384, 0).saturating_mul(d.into()))
1558 .saturating_add(T::DbWeight::get().reads(4_u64))
1559 .saturating_add(T::DbWeight::get().writes(5_u64))
1560 .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into()))
1561 }
1562 /// Storage: `System::Account` (r:1 w:0)
1563 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1564 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1565 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1566 /// Storage: `Revive::BlockHash` (r:1 w:1)
1567 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
1568 /// Storage: `Timestamp::Now` (r:1 w:0)
1569 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1570 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
1571 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1572 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
1573 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1574 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
1575 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1576 /// The range of component `e` is `[0, 100]`.
1577 fn on_finalize_per_event(_e: u32, ) -> Weight {
1578 // Proof Size summary in bytes:
1579 // Measured: `1546`
1580 // Estimated: `5011`
1581 // Minimum execution time: 43_792_000 picoseconds.
1582 Weight::from_parts(46_335_127, 5011)
1583 .saturating_add(T::DbWeight::get().reads(5_u64))
1584 .saturating_add(T::DbWeight::get().writes(5_u64))
1585 }
1586 /// Storage: `System::Account` (r:1 w:0)
1587 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1588 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1589 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1590 /// Storage: `Revive::BlockHash` (r:1 w:1)
1591 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
1592 /// Storage: `Timestamp::Now` (r:1 w:0)
1593 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1594 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
1595 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1596 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
1597 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1598 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
1599 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1600 /// The range of component `d` is `[0, 16384]`.
1601 fn on_finalize_per_event_data(d: u32, ) -> Weight {
1602 // Proof Size summary in bytes:
1603 // Measured: `1546`
1604 // Estimated: `5011`
1605 // Minimum execution time: 43_489_000 picoseconds.
1606 Weight::from_parts(45_970_941, 5011)
1607 // Standard Error: 1
1608 .saturating_add(Weight::from_parts(17, 0).saturating_mul(d.into()))
1609 .saturating_add(T::DbWeight::get().reads(5_u64))
1610 .saturating_add(T::DbWeight::get().writes(5_u64))
1611 }
1612}
1613
1614// For backwards compatibility and tests.
1615impl WeightInfo for () {
1616 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:0)
1617 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1618 fn deletion_queue_batch() -> Weight {
1619 // Proof Size summary in bytes:
1620 // Measured: `213`
1621 // Estimated: `1698`
1622 // Minimum execution time: 3_096_000 picoseconds.
1623 Weight::from_parts(3_399_000, 1698)
1624 .saturating_add(RocksDbWeight::get().reads(1_u64))
1625 }
1626 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1)
1627 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1628 /// Storage: `Revive::DeletionQueue` (r:1 w:1)
1629 /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `Measured`)
1630 fn deletion_queue_per_entry() -> Weight {
1631 // Proof Size summary in bytes:
1632 // Measured: `390`
1633 // Estimated: `3855`
1634 // Minimum execution time: 17_892_000 picoseconds.
1635 Weight::from_parts(19_361_000, 3855)
1636 .saturating_add(RocksDbWeight::get().reads(2_u64))
1637 .saturating_add(RocksDbWeight::get().writes(2_u64))
1638 }
1639 /// Storage: `Skipped::Metadata` (r:0 w:0)
1640 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1641 /// The range of component `k` is `[0, 1024]`.
1642 fn deletion_queue_per_trie_key(k: u32, ) -> Weight {
1643 // Proof Size summary in bytes:
1644 // Measured: `524 + k * (69 ±0)`
1645 // Estimated: `514 + k * (70 ±0)`
1646 // Minimum execution time: 18_551_000 picoseconds.
1647 Weight::from_parts(19_171_000, 514)
1648 // Standard Error: 1_125
1649 .saturating_add(Weight::from_parts(1_220_390, 0).saturating_mul(k.into()))
1650 .saturating_add(RocksDbWeight::get().reads(2_u64))
1651 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into())))
1652 .saturating_add(RocksDbWeight::get().writes(2_u64))
1653 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
1654 .saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
1655 }
1656 /// Storage: `Skipped::Metadata` (r:0 w:0)
1657 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1658 /// The range of component `k` is `[0, 1024]`.
1659 fn deletion_queue_per_native_deposit_key(k: u32, ) -> Weight {
1660 // Proof Size summary in bytes:
1661 // Measured: `469 + k * (52 ±0)`
1662 // Estimated: `479 + k * (53 ±0)`
1663 // Minimum execution time: 18_534_000 picoseconds.
1664 Weight::from_parts(19_488_000, 479)
1665 // Standard Error: 910
1666 .saturating_add(Weight::from_parts(1_196_416, 0).saturating_mul(k.into()))
1667 .saturating_add(RocksDbWeight::get().reads(2_u64))
1668 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into())))
1669 .saturating_add(RocksDbWeight::get().writes(2_u64))
1670 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
1671 .saturating_add(Weight::from_parts(0, 53).saturating_mul(k.into()))
1672 }
1673 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1674 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1675 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1676 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1677 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1678 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1679 /// Storage: `Revive::PristineCode` (r:1 w:0)
1680 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1681 /// Storage: `Timestamp::Now` (r:1 w:0)
1682 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1683 /// Storage: `System::Account` (r:1 w:1)
1684 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1685 /// The range of component `c` is `[0, 102400]`.
1686 fn call_with_pvm_code_per_byte(c: u32, ) -> Weight {
1687 // Proof Size summary in bytes:
1688 // Measured: `1267 + c * (1 ±0)`
1689 // Estimated: `7204 + c * (1 ±0)`
1690 // Minimum execution time: 100_712_000 picoseconds.
1691 Weight::from_parts(155_483_295, 7204)
1692 // Standard Error: 14
1693 .saturating_add(Weight::from_parts(1_485, 0).saturating_mul(c.into()))
1694 .saturating_add(RocksDbWeight::get().reads(8_u64))
1695 .saturating_add(RocksDbWeight::get().writes(2_u64))
1696 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
1697 }
1698 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1699 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1700 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1701 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, 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 /// Storage: `Revive::PristineCode` (r:1 w:0)
1705 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1706 /// Storage: `Timestamp::Now` (r:1 w:0)
1707 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1708 /// Storage: `System::Account` (r:1 w:1)
1709 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1710 /// The range of component `c` is `[1, 10240]`.
1711 fn call_with_evm_code_per_byte(c: u32, ) -> Weight {
1712 // Proof Size summary in bytes:
1713 // Measured: `1208 + c * (1 ±0)`
1714 // Estimated: `7145 + c * (1 ±0)`
1715 // Minimum execution time: 95_270_000 picoseconds.
1716 Weight::from_parts(100_202_775, 7145)
1717 // Standard Error: 8
1718 .saturating_add(Weight::from_parts(1_691, 0).saturating_mul(c.into()))
1719 .saturating_add(RocksDbWeight::get().reads(8_u64))
1720 .saturating_add(RocksDbWeight::get().writes(2_u64))
1721 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
1722 }
1723 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1724 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1725 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1726 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1727 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1728 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1729 /// Storage: `Revive::PristineCode` (r:1 w:0)
1730 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1731 /// Storage: `Timestamp::Now` (r:1 w:0)
1732 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1733 /// Storage: `System::Account` (r:1 w:1)
1734 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1735 /// The range of component `b` is `[0, 1]`.
1736 fn basic_block_compilation(b: u32, ) -> Weight {
1737 // Proof Size summary in bytes:
1738 // Measured: `4609`
1739 // Estimated: `10549`
1740 // Minimum execution time: 151_123_000 picoseconds.
1741 Weight::from_parts(158_202_230, 10549)
1742 // Standard Error: 251_990
1743 .saturating_add(Weight::from_parts(286_226, 0).saturating_mul(b.into()))
1744 .saturating_add(RocksDbWeight::get().reads(8_u64))
1745 .saturating_add(RocksDbWeight::get().writes(2_u64))
1746 }
1747 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1748 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1749 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1750 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1751 /// Storage: `Balances::Holds` (r:2 w:2)
1752 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
1753 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1754 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1755 /// Storage: `Revive::NativeDepositOf` (r:1 w:0)
1756 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `Measured`)
1757 /// Storage: `Timestamp::Now` (r:1 w:0)
1758 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1759 /// Storage: `System::Account` (r:1 w:1)
1760 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1761 /// Storage: `Revive::PristineCode` (r:0 w:1)
1762 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1763 /// The range of component `c` is `[0, 102400]`.
1764 /// The range of component `i` is `[0, 131072]`.
1765 fn instantiate_with_code(c: u32, i: u32, ) -> Weight {
1766 // Proof Size summary in bytes:
1767 // Measured: `880`
1768 // Estimated: `6826`
1769 // Minimum execution time: 779_536_000 picoseconds.
1770 Weight::from_parts(86_750_634, 6826)
1771 // Standard Error: 36
1772 .saturating_add(Weight::from_parts(20_730, 0).saturating_mul(c.into()))
1773 // Standard Error: 28
1774 .saturating_add(Weight::from_parts(4_875, 0).saturating_mul(i.into()))
1775 .saturating_add(RocksDbWeight::get().reads(9_u64))
1776 .saturating_add(RocksDbWeight::get().writes(6_u64))
1777 }
1778 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
1779 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1780 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1781 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1782 /// Storage: `System::Account` (r:2 w:2)
1783 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1784 /// Storage: `Balances::Holds` (r:2 w:2)
1785 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
1786 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1787 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1788 /// Storage: `Revive::NativeDepositOf` (r:1 w:0)
1789 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `Measured`)
1790 /// Storage: `Timestamp::Now` (r:1 w:0)
1791 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1792 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1793 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1794 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
1795 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1796 /// Storage: `Revive::PristineCode` (r:0 w:1)
1797 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1798 /// The range of component `c` is `[0, 102400]`.
1799 /// The range of component `i` is `[0, 131072]`.
1800 /// The range of component `d` is `[0, 1]`.
1801 fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight {
1802 // Proof Size summary in bytes:
1803 // Measured: `981`
1804 // Estimated: `6921`
1805 // Minimum execution time: 408_419_000 picoseconds.
1806 Weight::from_parts(276_891_608, 6921)
1807 // Standard Error: 40
1808 .saturating_add(Weight::from_parts(16_323, 0).saturating_mul(c.into()))
1809 // Standard Error: 31
1810 .saturating_add(Weight::from_parts(724, 0).saturating_mul(i.into()))
1811 // Standard Error: 2_648_341
1812 .saturating_add(Weight::from_parts(20_151_807, 0).saturating_mul(d.into()))
1813 .saturating_add(RocksDbWeight::get().reads(11_u64))
1814 .saturating_add(RocksDbWeight::get().writes(10_u64))
1815 }
1816 fn deposit_eth_extrinsic_revert_event() -> Weight {
1817 // Proof Size summary in bytes:
1818 // Measured: `0`
1819 // Estimated: `0`
1820 // Minimum execution time: 2_900_000 picoseconds.
1821 Weight::from_parts(3_217_000, 0)
1822 }
1823 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1824 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1825 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1826 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1827 /// Storage: `Revive::PristineCode` (r:1 w:0)
1828 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1829 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1830 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1831 /// Storage: `Revive::NativeDepositOf` (r:1 w:0)
1832 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `Measured`)
1833 /// Storage: `Timestamp::Now` (r:1 w:0)
1834 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1835 /// Storage: `System::Account` (r:1 w:1)
1836 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1837 /// Storage: `Balances::Holds` (r:1 w:1)
1838 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
1839 /// The range of component `i` is `[0, 131072]`.
1840 fn instantiate(i: u32, ) -> Weight {
1841 // Proof Size summary in bytes:
1842 // Measured: `1510`
1843 // Estimated: `7441`
1844 // Minimum execution time: 174_726_000 picoseconds.
1845 Weight::from_parts(181_811_246, 7441)
1846 // Standard Error: 4
1847 .saturating_add(Weight::from_parts(4_228, 0).saturating_mul(i.into()))
1848 .saturating_add(RocksDbWeight::get().reads(9_u64))
1849 .saturating_add(RocksDbWeight::get().writes(4_u64))
1850 }
1851 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1852 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1853 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1854 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1855 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1856 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1857 /// Storage: `Revive::PristineCode` (r:1 w:0)
1858 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1859 /// Storage: `Timestamp::Now` (r:1 w:0)
1860 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1861 /// Storage: `System::Account` (r:1 w:1)
1862 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1863 fn call() -> Weight {
1864 // Proof Size summary in bytes:
1865 // Measured: `1751`
1866 // Estimated: `7691`
1867 // Minimum execution time: 100_385_000 picoseconds.
1868 Weight::from_parts(105_469_000, 7691)
1869 .saturating_add(RocksDbWeight::get().reads(8_u64))
1870 .saturating_add(RocksDbWeight::get().writes(2_u64))
1871 }
1872 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
1873 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1874 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1875 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1876 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1877 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1878 /// Storage: `Revive::PristineCode` (r:1 w:0)
1879 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1880 /// Storage: `Timestamp::Now` (r:1 w:0)
1881 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1882 /// Storage: `System::Account` (r:1 w:1)
1883 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1884 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1885 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1886 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
1887 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1888 /// The range of component `d` is `[0, 1]`.
1889 fn eth_call(d: u32, ) -> Weight {
1890 // Proof Size summary in bytes:
1891 // Measured: `1751`
1892 // Estimated: `7691`
1893 // Minimum execution time: 182_832_000 picoseconds.
1894 Weight::from_parts(192_394_625, 7691)
1895 // Standard Error: 259_318
1896 .saturating_add(Weight::from_parts(3_935_493, 0).saturating_mul(d.into()))
1897 .saturating_add(RocksDbWeight::get().reads(9_u64))
1898 .saturating_add(RocksDbWeight::get().writes(5_u64))
1899 }
1900 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1901 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1902 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
1903 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
1904 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
1905 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`)
1906 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1907 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1908 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
1909 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1910 /// The range of component `c` is `[0, 102400]`.
1911 fn eth_substrate_call(c: u32, ) -> Weight {
1912 // Proof Size summary in bytes:
1913 // Measured: `381`
1914 // Estimated: `3846`
1915 // Minimum execution time: 31_589_000 picoseconds.
1916 Weight::from_parts(27_126_088, 3846)
1917 // Standard Error: 3
1918 .saturating_add(Weight::from_parts(6_291, 0).saturating_mul(c.into()))
1919 .saturating_add(RocksDbWeight::get().reads(4_u64))
1920 .saturating_add(RocksDbWeight::get().writes(2_u64))
1921 }
1922 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1923 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1924 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1925 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1926 /// Storage: `Balances::Holds` (r:1 w:1)
1927 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
1928 /// Storage: `Revive::PristineCode` (r:0 w:1)
1929 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1930 /// The range of component `c` is `[0, 102400]`.
1931 fn upload_code(c: u32, ) -> Weight {
1932 // Proof Size summary in bytes:
1933 // Measured: `291`
1934 // Estimated: `3756`
1935 // Minimum execution time: 60_697_000 picoseconds.
1936 Weight::from_parts(51_467_292, 3756)
1937 // Standard Error: 21
1938 .saturating_add(Weight::from_parts(14_321, 0).saturating_mul(c.into()))
1939 .saturating_add(RocksDbWeight::get().reads(3_u64))
1940 .saturating_add(RocksDbWeight::get().writes(3_u64))
1941 }
1942 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1943 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1944 /// Storage: `Balances::Holds` (r:1 w:1)
1945 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
1946 /// Storage: `Revive::PristineCode` (r:0 w:1)
1947 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1948 fn remove_code() -> Weight {
1949 // Proof Size summary in bytes:
1950 // Measured: `423`
1951 // Estimated: `3888`
1952 // Minimum execution time: 51_230_000 picoseconds.
1953 Weight::from_parts(53_748_000, 3888)
1954 .saturating_add(RocksDbWeight::get().reads(2_u64))
1955 .saturating_add(RocksDbWeight::get().writes(3_u64))
1956 }
1957 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1958 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1959 /// Storage: `Revive::CodeInfoOf` (r:2 w:2)
1960 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1961 /// Storage: `Balances::Holds` (r:1 w:1)
1962 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
1963 /// Storage: `System::Account` (r:1 w:1)
1964 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1965 /// Storage: `Revive::PristineCode` (r:0 w:1)
1966 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1967 fn set_code() -> Weight {
1968 // Proof Size summary in bytes:
1969 // Measured: `833`
1970 // Estimated: `6773`
1971 // Minimum execution time: 68_333_000 picoseconds.
1972 Weight::from_parts(71_594_000, 6773)
1973 .saturating_add(RocksDbWeight::get().reads(5_u64))
1974 .saturating_add(RocksDbWeight::get().writes(6_u64))
1975 }
1976 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1977 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1978 /// Storage: `Revive::OriginalAccount` (r:1 w:1)
1979 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1980 /// Storage: `Balances::Holds` (r:1 w:1)
1981 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
1982 fn map_account() -> Weight {
1983 // Proof Size summary in bytes:
1984 // Measured: `623`
1985 // Estimated: `4088`
1986 // Minimum execution time: 60_322_000 picoseconds.
1987 Weight::from_parts(63_934_000, 4088)
1988 .saturating_add(RocksDbWeight::get().reads(3_u64))
1989 .saturating_add(RocksDbWeight::get().writes(2_u64))
1990 }
1991 /// Storage: `Balances::Holds` (r:1 w:1)
1992 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
1993 /// Storage: `Revive::OriginalAccount` (r:0 w:1)
1994 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1995 fn unmap_account() -> Weight {
1996 // Proof Size summary in bytes:
1997 // Measured: `93`
1998 // Estimated: `3558`
1999 // Minimum execution time: 39_646_000 picoseconds.
2000 Weight::from_parts(41_988_000, 3558)
2001 .saturating_add(RocksDbWeight::get().reads(1_u64))
2002 .saturating_add(RocksDbWeight::get().writes(2_u64))
2003 }
2004 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
2005 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2006 /// Storage: `System::Account` (r:1024 w:1024)
2007 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2008 /// Storage: `Revive::OriginalAccount` (r:1024 w:1024)
2009 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
2010 /// Storage: `Balances::Holds` (r:1024 w:1024)
2011 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
2012 /// The range of component `a` is `[0, 1024]`.
2013 fn batch_map_accounts(a: u32, ) -> Weight {
2014 // Proof Size summary in bytes:
2015 // Measured: `563 + a * (209 ±0)`
2016 // Estimated: `4008 + a * (2684 ±0)`
2017 // Minimum execution time: 10_608_000 picoseconds.
2018 Weight::from_parts(10_948_000, 4008)
2019 // Standard Error: 45_492
2020 .saturating_add(Weight::from_parts(47_595_564, 0).saturating_mul(a.into()))
2021 .saturating_add(RocksDbWeight::get().reads(1_u64))
2022 .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(a.into())))
2023 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(a.into())))
2024 .saturating_add(Weight::from_parts(0, 2684).saturating_mul(a.into()))
2025 }
2026 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
2027 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2028 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
2029 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
2030 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
2031 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`)
2032 fn dispatch_as_fallback_account() -> Weight {
2033 // Proof Size summary in bytes:
2034 // Measured: `381`
2035 // Estimated: `3846`
2036 // Minimum execution time: 18_753_000 picoseconds.
2037 Weight::from_parts(20_009_000, 3846)
2038 .saturating_add(RocksDbWeight::get().reads(3_u64))
2039 }
2040 /// The range of component `r` is `[0, 1600]`.
2041 fn noop_host_fn(r: u32, ) -> Weight {
2042 // Proof Size summary in bytes:
2043 // Measured: `0`
2044 // Estimated: `0`
2045 // Minimum execution time: 9_274_000 picoseconds.
2046 Weight::from_parts(11_175_079, 0)
2047 // Standard Error: 48
2048 .saturating_add(Weight::from_parts(146_274, 0).saturating_mul(r.into()))
2049 }
2050 fn seal_caller() -> Weight {
2051 // Proof Size summary in bytes:
2052 // Measured: `0`
2053 // Estimated: `0`
2054 // Minimum execution time: 289_000 picoseconds.
2055 Weight::from_parts(380_000, 0)
2056 }
2057 fn seal_origin() -> Weight {
2058 // Proof Size summary in bytes:
2059 // Measured: `0`
2060 // Estimated: `0`
2061 // Minimum execution time: 264_000 picoseconds.
2062 Weight::from_parts(341_000, 0)
2063 }
2064 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
2065 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
2066 fn to_account_id() -> Weight {
2067 // Proof Size summary in bytes:
2068 // Measured: `365`
2069 // Estimated: `3830`
2070 // Minimum execution time: 7_357_000 picoseconds.
2071 Weight::from_parts(8_150_000, 3830)
2072 .saturating_add(RocksDbWeight::get().reads(1_u64))
2073 }
2074 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
2075 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2076 fn seal_code_hash() -> Weight {
2077 // Proof Size summary in bytes:
2078 // Measured: `124`
2079 // Estimated: `3589`
2080 // Minimum execution time: 4_206_000 picoseconds.
2081 Weight::from_parts(4_700_000, 3589)
2082 .saturating_add(RocksDbWeight::get().reads(1_u64))
2083 }
2084 fn own_code_hash() -> Weight {
2085 // Proof Size summary in bytes:
2086 // Measured: `0`
2087 // Estimated: `0`
2088 // Minimum execution time: 3_284_000 picoseconds.
2089 Weight::from_parts(3_760_000, 0)
2090 }
2091 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
2092 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2093 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
2094 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2095 fn seal_code_size() -> Weight {
2096 // Proof Size summary in bytes:
2097 // Measured: `196`
2098 // Estimated: `3661`
2099 // Minimum execution time: 7_665_000 picoseconds.
2100 Weight::from_parts(8_492_000, 3661)
2101 .saturating_add(RocksDbWeight::get().reads(2_u64))
2102 }
2103 fn caller_is_origin() -> Weight {
2104 // Proof Size summary in bytes:
2105 // Measured: `0`
2106 // Estimated: `0`
2107 // Minimum execution time: 1_154_000 picoseconds.
2108 Weight::from_parts(1_359_000, 0)
2109 }
2110 fn caller_is_root() -> Weight {
2111 // Proof Size summary in bytes:
2112 // Measured: `0`
2113 // Estimated: `0`
2114 // Minimum execution time: 1_144_000 picoseconds.
2115 Weight::from_parts(1_333_000, 0)
2116 }
2117 fn origin_is_root() -> Weight {
2118 // Proof Size summary in bytes:
2119 // Measured: `0`
2120 // Estimated: `0`
2121 // Minimum execution time: 1_097_000 picoseconds.
2122 Weight::from_parts(1_294_000, 0)
2123 }
2124 fn seal_address() -> Weight {
2125 // Proof Size summary in bytes:
2126 // Measured: `0`
2127 // Estimated: `0`
2128 // Minimum execution time: 266_000 picoseconds.
2129 Weight::from_parts(351_000, 0)
2130 }
2131 fn weight_left() -> Weight {
2132 // Proof Size summary in bytes:
2133 // Measured: `0`
2134 // Estimated: `0`
2135 // Minimum execution time: 1_114_000 picoseconds.
2136 Weight::from_parts(1_338_000, 0)
2137 }
2138 fn seal_ref_time_left() -> Weight {
2139 // Proof Size summary in bytes:
2140 // Measured: `0`
2141 // Estimated: `0`
2142 // Minimum execution time: 1_915_000 picoseconds.
2143 Weight::from_parts(2_163_000, 0)
2144 }
2145 fn seal_balance() -> Weight {
2146 // Proof Size summary in bytes:
2147 // Measured: `0`
2148 // Estimated: `0`
2149 // Minimum execution time: 4_368_000 picoseconds.
2150 Weight::from_parts(4_836_000, 0)
2151 }
2152 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
2153 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
2154 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
2155 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2156 /// Storage: `System::Account` (r:1 w:0)
2157 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2158 fn seal_balance_of() -> Weight {
2159 // Proof Size summary in bytes:
2160 // Measured: `539`
2161 // Estimated: `4004`
2162 // Minimum execution time: 13_900_000 picoseconds.
2163 Weight::from_parts(15_050_000, 4004)
2164 .saturating_add(RocksDbWeight::get().reads(3_u64))
2165 }
2166 /// Storage: `Revive::ImmutableDataOf` (r:1 w:0)
2167 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
2168 /// The range of component `n` is `[1, 4096]`.
2169 fn seal_get_immutable_data(n: u32, ) -> Weight {
2170 // Proof Size summary in bytes:
2171 // Measured: `13 + n * (1 ±0)`
2172 // Estimated: `3478 + n * (1 ±0)`
2173 // Minimum execution time: 4_130_000 picoseconds.
2174 Weight::from_parts(4_663_793, 3478)
2175 // Standard Error: 0
2176 .saturating_add(Weight::from_parts(479, 0).saturating_mul(n.into()))
2177 .saturating_add(RocksDbWeight::get().reads(1_u64))
2178 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2179 }
2180 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
2181 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
2182 /// The range of component `n` is `[1, 4096]`.
2183 fn seal_set_immutable_data(n: u32, ) -> Weight {
2184 // Proof Size summary in bytes:
2185 // Measured: `0`
2186 // Estimated: `0`
2187 // Minimum execution time: 2_124_000 picoseconds.
2188 Weight::from_parts(2_459_152, 0)
2189 // Standard Error: 0
2190 .saturating_add(Weight::from_parts(481, 0).saturating_mul(n.into()))
2191 .saturating_add(RocksDbWeight::get().writes(1_u64))
2192 }
2193 fn seal_value_transferred() -> Weight {
2194 // Proof Size summary in bytes:
2195 // Measured: `0`
2196 // Estimated: `0`
2197 // Minimum execution time: 233_000 picoseconds.
2198 Weight::from_parts(309_000, 0)
2199 }
2200 fn minimum_balance() -> Weight {
2201 // Proof Size summary in bytes:
2202 // Measured: `0`
2203 // Estimated: `0`
2204 // Minimum execution time: 1_333_000 picoseconds.
2205 Weight::from_parts(1_586_000, 0)
2206 }
2207 fn seal_return_data_size() -> Weight {
2208 // Proof Size summary in bytes:
2209 // Measured: `0`
2210 // Estimated: `0`
2211 // Minimum execution time: 235_000 picoseconds.
2212 Weight::from_parts(300_000, 0)
2213 }
2214 fn seal_call_data_size() -> Weight {
2215 // Proof Size summary in bytes:
2216 // Measured: `0`
2217 // Estimated: `0`
2218 // Minimum execution time: 228_000 picoseconds.
2219 Weight::from_parts(299_000, 0)
2220 }
2221 fn seal_gas_limit() -> Weight {
2222 // Proof Size summary in bytes:
2223 // Measured: `0`
2224 // Estimated: `0`
2225 // Minimum execution time: 254_000 picoseconds.
2226 Weight::from_parts(330_000, 0)
2227 }
2228 fn seal_gas_price() -> Weight {
2229 // Proof Size summary in bytes:
2230 // Measured: `0`
2231 // Estimated: `0`
2232 // Minimum execution time: 941_000 picoseconds.
2233 Weight::from_parts(1_167_000, 0)
2234 }
2235 fn seal_base_fee() -> Weight {
2236 // Proof Size summary in bytes:
2237 // Measured: `0`
2238 // Estimated: `0`
2239 // Minimum execution time: 965_000 picoseconds.
2240 Weight::from_parts(1_170_000, 0)
2241 }
2242 fn seal_block_number() -> Weight {
2243 // Proof Size summary in bytes:
2244 // Measured: `0`
2245 // Estimated: `0`
2246 // Minimum execution time: 240_000 picoseconds.
2247 Weight::from_parts(315_000, 0)
2248 }
2249 /// Storage: `Session::Validators` (r:1 w:0)
2250 /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2251 fn seal_block_author() -> Weight {
2252 // Proof Size summary in bytes:
2253 // Measured: `142`
2254 // Estimated: `1627`
2255 // Minimum execution time: 19_018_000 picoseconds.
2256 Weight::from_parts(20_129_000, 1627)
2257 .saturating_add(RocksDbWeight::get().reads(1_u64))
2258 }
2259 /// Storage: `Revive::BlockHash` (r:1 w:0)
2260 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
2261 fn seal_block_hash() -> Weight {
2262 // Proof Size summary in bytes:
2263 // Measured: `22`
2264 // Estimated: `3487`
2265 // Minimum execution time: 3_125_000 picoseconds.
2266 Weight::from_parts(3_465_000, 3487)
2267 .saturating_add(RocksDbWeight::get().reads(1_u64))
2268 }
2269 fn seal_now() -> Weight {
2270 // Proof Size summary in bytes:
2271 // Measured: `0`
2272 // Estimated: `0`
2273 // Minimum execution time: 232_000 picoseconds.
2274 Weight::from_parts(291_000, 0)
2275 }
2276 /// The range of component `n` is `[0, 1048572]`.
2277 fn seal_copy_to_contract(n: u32, ) -> Weight {
2278 // Proof Size summary in bytes:
2279 // Measured: `0`
2280 // Estimated: `0`
2281 // Minimum execution time: 510_000 picoseconds.
2282 Weight::from_parts(391_489, 0)
2283 // Standard Error: 0
2284 .saturating_add(Weight::from_parts(202, 0).saturating_mul(n.into()))
2285 }
2286 fn seal_call_data_load() -> Weight {
2287 // Proof Size summary in bytes:
2288 // Measured: `0`
2289 // Estimated: `0`
2290 // Minimum execution time: 244_000 picoseconds.
2291 Weight::from_parts(304_000, 0)
2292 }
2293 /// The range of component `n` is `[0, 1048576]`.
2294 fn seal_call_data_copy(n: u32, ) -> Weight {
2295 // Proof Size summary in bytes:
2296 // Measured: `0`
2297 // Estimated: `0`
2298 // Minimum execution time: 297_000 picoseconds.
2299 Weight::from_parts(118_105, 0)
2300 // Standard Error: 0
2301 .saturating_add(Weight::from_parts(114, 0).saturating_mul(n.into()))
2302 }
2303 /// The range of component `n` is `[0, 131072]`.
2304 fn seal_return(n: u32, ) -> Weight {
2305 // Proof Size summary in bytes:
2306 // Measured: `0`
2307 // Estimated: `0`
2308 // Minimum execution time: 292_000 picoseconds.
2309 Weight::from_parts(513_218, 0)
2310 // Standard Error: 0
2311 .saturating_add(Weight::from_parts(200, 0).saturating_mul(n.into()))
2312 }
2313 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
2314 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
2315 /// The range of component `r` is `[0, 1]`.
2316 fn seal_terminate(r: u32, ) -> Weight {
2317 // Proof Size summary in bytes:
2318 // Measured: `309`
2319 // Estimated: `6249`
2320 // Minimum execution time: 10_897_000 picoseconds.
2321 Weight::from_parts(11_753_272, 6249)
2322 // Standard Error: 9_468
2323 .saturating_add(Weight::from_parts(135_066, 0).saturating_mul(r.into()))
2324 .saturating_add(RocksDbWeight::get().reads(2_u64))
2325 }
2326 /// Storage: `Balances::Holds` (r:2 w:2)
2327 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
2328 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
2329 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
2330 /// Storage: `System::Account` (r:2 w:2)
2331 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2332 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
2333 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2334 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1)
2335 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
2336 /// Storage: `Revive::DeletionQueue` (r:0 w:1)
2337 /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `Measured`)
2338 /// Storage: `Revive::PristineCode` (r:0 w:1)
2339 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2340 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
2341 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
2342 fn seal_terminate_logic() -> Weight {
2343 // Proof Size summary in bytes:
2344 // Measured: `773`
2345 // Estimated: `6713`
2346 // Minimum execution time: 213_456_000 picoseconds.
2347 Weight::from_parts(222_409_000, 6713)
2348 .saturating_add(RocksDbWeight::get().reads(7_u64))
2349 .saturating_add(RocksDbWeight::get().writes(9_u64))
2350 }
2351 /// The range of component `t` is `[0, 4]`.
2352 /// The range of component `n` is `[0, 65536]`.
2353 fn seal_deposit_event(_t: u32, n: u32, ) -> Weight {
2354 // Proof Size summary in bytes:
2355 // Measured: `0`
2356 // Estimated: `0`
2357 // Minimum execution time: 5_120_000 picoseconds.
2358 Weight::from_parts(5_360_000, 0)
2359 // Standard Error: 1
2360 .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(n.into()))
2361 }
2362 /// Storage: `Skipped::Metadata` (r:0 w:0)
2363 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2364 fn get_storage_empty() -> Weight {
2365 // Proof Size summary in bytes:
2366 // Measured: `648`
2367 // Estimated: `648`
2368 // Minimum execution time: 8_514_000 picoseconds.
2369 Weight::from_parts(9_360_000, 648)
2370 .saturating_add(RocksDbWeight::get().reads(1_u64))
2371 }
2372 /// Storage: `Skipped::Metadata` (r:0 w:0)
2373 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2374 fn get_storage_full() -> Weight {
2375 // Proof Size summary in bytes:
2376 // Measured: `10658`
2377 // Estimated: `10658`
2378 // Minimum execution time: 38_417_000 picoseconds.
2379 Weight::from_parts(40_146_000, 10658)
2380 .saturating_add(RocksDbWeight::get().reads(1_u64))
2381 }
2382 /// Storage: `Skipped::Metadata` (r:0 w:0)
2383 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2384 fn set_storage_empty() -> Weight {
2385 // Proof Size summary in bytes:
2386 // Measured: `648`
2387 // Estimated: `648`
2388 // Minimum execution time: 9_711_000 picoseconds.
2389 Weight::from_parts(10_580_000, 648)
2390 .saturating_add(RocksDbWeight::get().reads(1_u64))
2391 .saturating_add(RocksDbWeight::get().writes(1_u64))
2392 }
2393 /// Storage: `Skipped::Metadata` (r:0 w:0)
2394 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2395 fn set_storage_full() -> Weight {
2396 // Proof Size summary in bytes:
2397 // Measured: `10658`
2398 // Estimated: `10658`
2399 // Minimum execution time: 40_644_000 picoseconds.
2400 Weight::from_parts(42_433_000, 10658)
2401 .saturating_add(RocksDbWeight::get().reads(1_u64))
2402 .saturating_add(RocksDbWeight::get().writes(1_u64))
2403 }
2404 /// Storage: `Skipped::Metadata` (r:0 w:0)
2405 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2406 /// The range of component `n` is `[0, 416]`.
2407 /// The range of component `o` is `[0, 416]`.
2408 fn seal_set_storage(n: u32, o: u32, ) -> Weight {
2409 // Proof Size summary in bytes:
2410 // Measured: `248 + o * (1 ±0)`
2411 // Estimated: `247 + o * (1 ±0)`
2412 // Minimum execution time: 9_150_000 picoseconds.
2413 Weight::from_parts(9_944_698, 247)
2414 // Standard Error: 14
2415 .saturating_add(Weight::from_parts(414, 0).saturating_mul(n.into()))
2416 // Standard Error: 14
2417 .saturating_add(Weight::from_parts(532, 0).saturating_mul(o.into()))
2418 .saturating_add(RocksDbWeight::get().reads(1_u64))
2419 .saturating_add(RocksDbWeight::get().writes(1_u64))
2420 .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into()))
2421 }
2422 /// Storage: `Skipped::Metadata` (r:0 w:0)
2423 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2424 /// The range of component `n` is `[0, 416]`.
2425 fn clear_storage(n: u32, ) -> Weight {
2426 // Proof Size summary in bytes:
2427 // Measured: `248 + n * (1 ±0)`
2428 // Estimated: `247 + n * (1 ±0)`
2429 // Minimum execution time: 10_324_000 picoseconds.
2430 Weight::from_parts(11_653_957, 247)
2431 // Standard Error: 15
2432 .saturating_add(Weight::from_parts(608, 0).saturating_mul(n.into()))
2433 .saturating_add(RocksDbWeight::get().reads(1_u64))
2434 .saturating_add(RocksDbWeight::get().writes(1_u64))
2435 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2436 }
2437 /// Storage: `Skipped::Metadata` (r:0 w:0)
2438 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2439 /// The range of component `n` is `[0, 416]`.
2440 fn seal_get_storage(n: u32, ) -> Weight {
2441 // Proof Size summary in bytes:
2442 // Measured: `248 + n * (1 ±0)`
2443 // Estimated: `247 + n * (1 ±0)`
2444 // Minimum execution time: 8_212_000 picoseconds.
2445 Weight::from_parts(9_334_500, 247)
2446 // Standard Error: 13
2447 .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(n.into()))
2448 .saturating_add(RocksDbWeight::get().reads(1_u64))
2449 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2450 }
2451 /// Storage: `Skipped::Metadata` (r:0 w:0)
2452 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2453 /// The range of component `n` is `[0, 416]`.
2454 fn contains_storage(n: u32, ) -> Weight {
2455 // Proof Size summary in bytes:
2456 // Measured: `248 + n * (1 ±0)`
2457 // Estimated: `247 + n * (1 ±0)`
2458 // Minimum execution time: 9_310_000 picoseconds.
2459 Weight::from_parts(10_443_253, 247)
2460 // Standard Error: 14
2461 .saturating_add(Weight::from_parts(507, 0).saturating_mul(n.into()))
2462 .saturating_add(RocksDbWeight::get().reads(1_u64))
2463 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2464 }
2465 /// Storage: `Skipped::Metadata` (r:0 w:0)
2466 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2467 /// The range of component `n` is `[0, 416]`.
2468 fn take_storage(n: u32, ) -> Weight {
2469 // Proof Size summary in bytes:
2470 // Measured: `248 + n * (1 ±0)`
2471 // Estimated: `247 + n * (1 ±0)`
2472 // Minimum execution time: 10_590_000 picoseconds.
2473 Weight::from_parts(12_338_922, 247)
2474 // Standard Error: 19
2475 .saturating_add(Weight::from_parts(1_324, 0).saturating_mul(n.into()))
2476 .saturating_add(RocksDbWeight::get().reads(1_u64))
2477 .saturating_add(RocksDbWeight::get().writes(1_u64))
2478 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2479 }
2480 fn set_transient_storage_empty() -> Weight {
2481 // Proof Size summary in bytes:
2482 // Measured: `0`
2483 // Estimated: `0`
2484 // Minimum execution time: 1_621_000 picoseconds.
2485 Weight::from_parts(1_875_000, 0)
2486 }
2487 fn set_transient_storage_full() -> Weight {
2488 // Proof Size summary in bytes:
2489 // Measured: `0`
2490 // Estimated: `0`
2491 // Minimum execution time: 1_963_000 picoseconds.
2492 Weight::from_parts(2_229_000, 0)
2493 }
2494 fn get_transient_storage_empty() -> Weight {
2495 // Proof Size summary in bytes:
2496 // Measured: `0`
2497 // Estimated: `0`
2498 // Minimum execution time: 1_503_000 picoseconds.
2499 Weight::from_parts(1_695_000, 0)
2500 }
2501 fn get_transient_storage_full() -> Weight {
2502 // Proof Size summary in bytes:
2503 // Measured: `0`
2504 // Estimated: `0`
2505 // Minimum execution time: 1_676_000 picoseconds.
2506 Weight::from_parts(1_883_000, 0)
2507 }
2508 fn rollback_transient_storage() -> Weight {
2509 // Proof Size summary in bytes:
2510 // Measured: `0`
2511 // Estimated: `0`
2512 // Minimum execution time: 1_194_000 picoseconds.
2513 Weight::from_parts(1_395_000, 0)
2514 }
2515 /// The range of component `n` is `[0, 416]`.
2516 /// The range of component `o` is `[0, 416]`.
2517 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight {
2518 // Proof Size summary in bytes:
2519 // Measured: `0`
2520 // Estimated: `0`
2521 // Minimum execution time: 2_418_000 picoseconds.
2522 Weight::from_parts(2_759_699, 0)
2523 // Standard Error: 4
2524 .saturating_add(Weight::from_parts(265, 0).saturating_mul(n.into()))
2525 // Standard Error: 4
2526 .saturating_add(Weight::from_parts(309, 0).saturating_mul(o.into()))
2527 }
2528 /// The range of component `n` is `[0, 416]`.
2529 fn seal_clear_transient_storage(n: u32, ) -> Weight {
2530 // Proof Size summary in bytes:
2531 // Measured: `0`
2532 // Estimated: `0`
2533 // Minimum execution time: 3_695_000 picoseconds.
2534 Weight::from_parts(4_344_234, 0)
2535 // Standard Error: 6
2536 .saturating_add(Weight::from_parts(336, 0).saturating_mul(n.into()))
2537 }
2538 /// The range of component `n` is `[0, 416]`.
2539 fn seal_get_transient_storage(n: u32, ) -> Weight {
2540 // Proof Size summary in bytes:
2541 // Measured: `0`
2542 // Estimated: `0`
2543 // Minimum execution time: 1_953_000 picoseconds.
2544 Weight::from_parts(2_302_993, 0)
2545 // Standard Error: 3
2546 .saturating_add(Weight::from_parts(325, 0).saturating_mul(n.into()))
2547 }
2548 /// The range of component `n` is `[0, 416]`.
2549 fn seal_contains_transient_storage(n: u32, ) -> Weight {
2550 // Proof Size summary in bytes:
2551 // Measured: `0`
2552 // Estimated: `0`
2553 // Minimum execution time: 3_262_000 picoseconds.
2554 Weight::from_parts(3_723_541, 0)
2555 // Standard Error: 5
2556 .saturating_add(Weight::from_parts(184, 0).saturating_mul(n.into()))
2557 }
2558 /// The range of component `n` is `[0, 416]`.
2559 fn seal_take_transient_storage(_n: u32, ) -> Weight {
2560 // Proof Size summary in bytes:
2561 // Measured: `0`
2562 // Estimated: `0`
2563 // Minimum execution time: 4_156_000 picoseconds.
2564 Weight::from_parts(4_729_501, 0)
2565 }
2566 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
2567 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
2568 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2569 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2570 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
2571 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2572 /// Storage: `Revive::PristineCode` (r:1 w:0)
2573 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2574 /// Storage: `System::Account` (r:1 w:1)
2575 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2576 /// The range of component `t` is `[0, 1]`.
2577 /// The range of component `d` is `[0, 1]`.
2578 /// The range of component `i` is `[0, 1048576]`.
2579 fn seal_call(t: u32, d: u32, i: u32, ) -> Weight {
2580 // Proof Size summary in bytes:
2581 // Measured: `1220`
2582 // Estimated: `4685`
2583 // Minimum execution time: 89_062_000 picoseconds.
2584 Weight::from_parts(72_899_960, 4685)
2585 // Standard Error: 64_475
2586 .saturating_add(Weight::from_parts(18_057_179, 0).saturating_mul(t.into()))
2587 // Standard Error: 64_475
2588 .saturating_add(Weight::from_parts(23_282_714, 0).saturating_mul(d.into()))
2589 // Standard Error: 0
2590 .saturating_add(Weight::from_parts(1, 0).saturating_mul(i.into()))
2591 .saturating_add(RocksDbWeight::get().reads(5_u64))
2592 .saturating_add(RocksDbWeight::get().writes(1_u64))
2593 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
2594 }
2595 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2596 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2597 /// Storage: `System::Account` (r:1 w:0)
2598 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2599 /// The range of component `d` is `[0, 1]`.
2600 /// The range of component `i` is `[0, 130972]`.
2601 fn seal_call_precompile(d: u32, i: u32, ) -> Weight {
2602 // Proof Size summary in bytes:
2603 // Measured: `0 + d * (174 ±0)`
2604 // Estimated: `1820 + d * (1820 ±0)`
2605 // Minimum execution time: 19_382_000 picoseconds.
2606 Weight::from_parts(9_518_836, 1820)
2607 // Standard Error: 16_606
2608 .saturating_add(Weight::from_parts(11_275_966, 0).saturating_mul(d.into()))
2609 // Standard Error: 0
2610 .saturating_add(Weight::from_parts(326, 0).saturating_mul(i.into()))
2611 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(d.into())))
2612 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into())))
2613 .saturating_add(Weight::from_parts(0, 1820).saturating_mul(d.into()))
2614 }
2615 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
2616 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2617 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
2618 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2619 /// Storage: `Revive::PristineCode` (r:1 w:0)
2620 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2621 fn seal_delegate_call() -> Weight {
2622 // Proof Size summary in bytes:
2623 // Measured: `749`
2624 // Estimated: `4214`
2625 // Minimum execution time: 27_775_000 picoseconds.
2626 Weight::from_parts(29_832_000, 4214)
2627 .saturating_add(RocksDbWeight::get().reads(3_u64))
2628 }
2629 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
2630 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2631 /// Storage: `Revive::PristineCode` (r:1 w:0)
2632 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2633 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2634 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2635 /// Storage: `Revive::NativeDepositOf` (r:1 w:0)
2636 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `Measured`)
2637 /// Storage: `System::Account` (r:1 w:1)
2638 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2639 /// The range of component `t` is `[0, 1]`.
2640 /// The range of component `d` is `[0, 1]`.
2641 /// The range of component `i` is `[0, 131072]`.
2642 fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight {
2643 // Proof Size summary in bytes:
2644 // Measured: `670`
2645 // Estimated: `4107 + d * (14 ±4) + t * (14 ±4)`
2646 // Minimum execution time: 132_361_000 picoseconds.
2647 Weight::from_parts(87_656_593, 4107)
2648 // Standard Error: 405_661
2649 .saturating_add(Weight::from_parts(23_465_195, 0).saturating_mul(t.into()))
2650 // Standard Error: 405_661
2651 .saturating_add(Weight::from_parts(26_625_618, 0).saturating_mul(d.into()))
2652 // Standard Error: 4
2653 .saturating_add(Weight::from_parts(4_010, 0).saturating_mul(i.into()))
2654 .saturating_add(RocksDbWeight::get().reads(5_u64))
2655 .saturating_add(RocksDbWeight::get().writes(3_u64))
2656 .saturating_add(Weight::from_parts(0, 14).saturating_mul(d.into()))
2657 .saturating_add(Weight::from_parts(0, 14).saturating_mul(t.into()))
2658 }
2659 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2660 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2661 /// Storage: `Revive::NativeDepositOf` (r:1 w:0)
2662 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `Measured`)
2663 /// Storage: `System::Account` (r:2 w:2)
2664 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2665 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
2666 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2667 /// Storage: `Balances::Holds` (r:1 w:1)
2668 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `Measured`)
2669 /// Storage: `Revive::PristineCode` (r:0 w:1)
2670 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2671 /// The range of component `t` is `[0, 1]`.
2672 /// The range of component `d` is `[0, 1]`.
2673 /// The range of component `i` is `[10240, 49152]`.
2674 fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight {
2675 // Proof Size summary in bytes:
2676 // Measured: `302`
2677 // Estimated: `6210 + d * (22 ±3) + t * (22 ±3)`
2678 // Minimum execution time: 338_840_000 picoseconds.
2679 Weight::from_parts(212_777_542, 6210)
2680 // Standard Error: 610_182
2681 .saturating_add(Weight::from_parts(23_444_337, 0).saturating_mul(t.into()))
2682 // Standard Error: 610_182
2683 .saturating_add(Weight::from_parts(31_257_496, 0).saturating_mul(d.into()))
2684 // Standard Error: 24
2685 .saturating_add(Weight::from_parts(7_612, 0).saturating_mul(i.into()))
2686 .saturating_add(RocksDbWeight::get().reads(6_u64))
2687 .saturating_add(RocksDbWeight::get().writes(6_u64))
2688 .saturating_add(Weight::from_parts(0, 22).saturating_mul(d.into()))
2689 .saturating_add(Weight::from_parts(0, 22).saturating_mul(t.into()))
2690 }
2691 /// The range of component `n` is `[0, 1048576]`.
2692 fn sha2_256(n: u32, ) -> Weight {
2693 // Proof Size summary in bytes:
2694 // Measured: `0`
2695 // Estimated: `0`
2696 // Minimum execution time: 1_357_000 picoseconds.
2697 Weight::from_parts(12_575_209, 0)
2698 // Standard Error: 0
2699 .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(n.into()))
2700 }
2701 /// The range of component `n` is `[0, 1048576]`.
2702 fn identity(n: u32, ) -> Weight {
2703 // Proof Size summary in bytes:
2704 // Measured: `0`
2705 // Estimated: `0`
2706 // Minimum execution time: 870_000 picoseconds.
2707 Weight::from_parts(849_382, 0)
2708 // Standard Error: 0
2709 .saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into()))
2710 }
2711 /// The range of component `n` is `[0, 1048576]`.
2712 fn ripemd_160(n: u32, ) -> Weight {
2713 // Proof Size summary in bytes:
2714 // Measured: `0`
2715 // Estimated: `0`
2716 // Minimum execution time: 1_444_000 picoseconds.
2717 Weight::from_parts(5_616_633, 0)
2718 // Standard Error: 0
2719 .saturating_add(Weight::from_parts(3_740, 0).saturating_mul(n.into()))
2720 }
2721 /// The range of component `n` is `[0, 1048576]`.
2722 fn seal_hash_keccak_256(n: u32, ) -> Weight {
2723 // Proof Size summary in bytes:
2724 // Measured: `0`
2725 // Estimated: `0`
2726 // Minimum execution time: 1_205_000 picoseconds.
2727 Weight::from_parts(15_433_529, 0)
2728 // Standard Error: 0
2729 .saturating_add(Weight::from_parts(3_551, 0).saturating_mul(n.into()))
2730 }
2731 /// The range of component `n` is `[0, 1048576]`.
2732 fn hash_blake2_256(n: u32, ) -> Weight {
2733 // Proof Size summary in bytes:
2734 // Measured: `0`
2735 // Estimated: `0`
2736 // Minimum execution time: 1_943_000 picoseconds.
2737 Weight::from_parts(14_541_945, 0)
2738 // Standard Error: 0
2739 .saturating_add(Weight::from_parts(1_411, 0).saturating_mul(n.into()))
2740 }
2741 /// The range of component `n` is `[0, 1048576]`.
2742 fn hash_blake2_128(n: u32, ) -> Weight {
2743 // Proof Size summary in bytes:
2744 // Measured: `0`
2745 // Estimated: `0`
2746 // Minimum execution time: 1_867_000 picoseconds.
2747 Weight::from_parts(13_894_889, 0)
2748 // Standard Error: 0
2749 .saturating_add(Weight::from_parts(1_412, 0).saturating_mul(n.into()))
2750 }
2751 /// The range of component `n` is `[0, 1048321]`.
2752 fn seal_sr25519_verify(n: u32, ) -> Weight {
2753 // Proof Size summary in bytes:
2754 // Measured: `0`
2755 // Estimated: `0`
2756 // Minimum execution time: 48_263_000 picoseconds.
2757 Weight::from_parts(91_210_549, 0)
2758 // Standard Error: 4
2759 .saturating_add(Weight::from_parts(4_806, 0).saturating_mul(n.into()))
2760 }
2761 fn ecdsa_recover() -> Weight {
2762 // Proof Size summary in bytes:
2763 // Measured: `0`
2764 // Estimated: `0`
2765 // Minimum execution time: 45_994_000 picoseconds.
2766 Weight::from_parts(47_439_000, 0)
2767 }
2768 fn p256_verify() -> Weight {
2769 // Proof Size summary in bytes:
2770 // Measured: `0`
2771 // Estimated: `0`
2772 // Minimum execution time: 1_787_040_000 picoseconds.
2773 Weight::from_parts(1_804_177_000, 0)
2774 }
2775 fn bn128_add() -> Weight {
2776 // Proof Size summary in bytes:
2777 // Measured: `0`
2778 // Estimated: `0`
2779 // Minimum execution time: 14_820_000 picoseconds.
2780 Weight::from_parts(16_605_000, 0)
2781 }
2782 fn bn128_mul() -> Weight {
2783 // Proof Size summary in bytes:
2784 // Measured: `0`
2785 // Estimated: `0`
2786 // Minimum execution time: 987_170_000 picoseconds.
2787 Weight::from_parts(1_000_128_000, 0)
2788 }
2789 /// The range of component `n` is `[0, 20]`.
2790 fn bn128_pairing(n: u32, ) -> Weight {
2791 // Proof Size summary in bytes:
2792 // Measured: `0`
2793 // Estimated: `0`
2794 // Minimum execution time: 1_020_000 picoseconds.
2795 Weight::from_parts(4_729_757_804, 0)
2796 // Standard Error: 10_571_414
2797 .saturating_add(Weight::from_parts(5_966_827_426, 0).saturating_mul(n.into()))
2798 }
2799 /// The range of component `n` is `[0, 1200]`.
2800 fn blake2f(n: u32, ) -> Weight {
2801 // Proof Size summary in bytes:
2802 // Measured: `0`
2803 // Estimated: `0`
2804 // Minimum execution time: 1_083_000 picoseconds.
2805 Weight::from_parts(1_423_392, 0)
2806 // Standard Error: 1
2807 .saturating_add(Weight::from_parts(30_179, 0).saturating_mul(n.into()))
2808 }
2809 fn seal_ecdsa_to_eth_address() -> Weight {
2810 // Proof Size summary in bytes:
2811 // Measured: `0`
2812 // Estimated: `0`
2813 // Minimum execution time: 12_969_000 picoseconds.
2814 Weight::from_parts(13_226_000, 0)
2815 }
2816 /// The range of component `r` is `[0, 10000]`.
2817 fn evm_opcode(r: u32, ) -> Weight {
2818 // Proof Size summary in bytes:
2819 // Measured: `0`
2820 // Estimated: `0`
2821 // Minimum execution time: 667_000 picoseconds.
2822 Weight::from_parts(865_030, 0)
2823 // Standard Error: 2
2824 .saturating_add(Weight::from_parts(7_965, 0).saturating_mul(r.into()))
2825 }
2826 /// The range of component `r` is `[0, 10000]`.
2827 fn instr(r: u32, ) -> Weight {
2828 // Proof Size summary in bytes:
2829 // Measured: `0`
2830 // Estimated: `0`
2831 // Minimum execution time: 13_339_000 picoseconds.
2832 Weight::from_parts(62_031_927, 0)
2833 // Standard Error: 636
2834 .saturating_add(Weight::from_parts(79_494, 0).saturating_mul(r.into()))
2835 }
2836 /// The range of component `r` is `[0, 10000]`.
2837 fn instr_empty_loop(r: u32, ) -> Weight {
2838 // Proof Size summary in bytes:
2839 // Measured: `0`
2840 // Estimated: `0`
2841 // Minimum execution time: 3_520_000 picoseconds.
2842 Weight::from_parts(2_963_331, 0)
2843 // Standard Error: 7
2844 .saturating_add(Weight::from_parts(38_980, 0).saturating_mul(r.into()))
2845 }
2846 /// Storage: `Revive::PristineCode` (r:1 w:0)
2847 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2848 /// The range of component `n` is `[1000, 10000]`.
2849 fn extcodecopy(n: u32, ) -> Weight {
2850 // Proof Size summary in bytes:
2851 // Measured: `91 + n * (1 ±0)`
2852 // Estimated: `3556 + n * (1 ±0)`
2853 // Minimum execution time: 8_565_000 picoseconds.
2854 Weight::from_parts(8_443_495, 3556)
2855 // Standard Error: 1
2856 .saturating_add(Weight::from_parts(718, 0).saturating_mul(n.into()))
2857 .saturating_add(RocksDbWeight::get().reads(1_u64))
2858 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2859 }
2860 /// Storage: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
2861 /// Proof: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
2862 /// Storage: `Revive::AccountInfoOf` (r:0 w:1)
2863 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`)
2864 fn v1_migration_step() -> Weight {
2865 // Proof Size summary in bytes:
2866 // Measured: `382`
2867 // Estimated: `6322`
2868 // Minimum execution time: 11_579_000 picoseconds.
2869 Weight::from_parts(12_545_000, 6322)
2870 .saturating_add(RocksDbWeight::get().reads(2_u64))
2871 .saturating_add(RocksDbWeight::get().writes(2_u64))
2872 }
2873 /// Storage: `System::Account` (r:1 w:1)
2874 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
2875 /// Storage: `Revive::CodeInfoOf` (r:2 w:1)
2876 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`)
2877 /// Storage: `Balances::Holds` (r:2 w:2)
2878 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `MaxEncodedLen`)
2879 fn v2_migration_step() -> Weight {
2880 // Proof Size summary in bytes:
2881 // Measured: `505`
2882 // Estimated: `7010`
2883 // Minimum execution time: 63_635_000 picoseconds.
2884 Weight::from_parts(67_016_000, 7010)
2885 .saturating_add(RocksDbWeight::get().reads(5_u64))
2886 .saturating_add(RocksDbWeight::get().writes(4_u64))
2887 }
2888 /// Storage: `System::Account` (r:2 w:1)
2889 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
2890 /// Storage: `Revive::OriginalAccount` (r:1 w:1)
2891 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
2892 /// Storage: `Balances::Holds` (r:1 w:1)
2893 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `MaxEncodedLen`)
2894 fn v3_migration_step() -> Weight {
2895 // Proof Size summary in bytes:
2896 // Measured: `629`
2897 // Estimated: `6196`
2898 // Minimum execution time: 38_952_000 picoseconds.
2899 Weight::from_parts(41_564_000, 6196)
2900 .saturating_add(RocksDbWeight::get().reads(4_u64))
2901 .saturating_add(RocksDbWeight::get().writes(3_u64))
2902 }
2903 /// Storage: `Revive::CodeInfoOf` (r:2 w:0)
2904 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`)
2905 /// Storage: `Revive::NativeDepositOf` (r:1 w:1)
2906 /// Proof: `Revive::NativeDepositOf` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
2907 fn v4_code_upload_step() -> Weight {
2908 // Proof Size summary in bytes:
2909 // Measured: `498`
2910 // Estimated: `6134`
2911 // Minimum execution time: 16_067_000 picoseconds.
2912 Weight::from_parts(17_426_000, 6134)
2913 .saturating_add(RocksDbWeight::get().reads(3_u64))
2914 .saturating_add(RocksDbWeight::get().writes(1_u64))
2915 }
2916 /// Storage: `Revive::AccountInfoOf` (r:2 w:0)
2917 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`)
2918 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
2919 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
2920 /// Storage: `Balances::Holds` (r:1 w:0)
2921 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(535), added: 3010, mode: `MaxEncodedLen`)
2922 fn v4_contract_step() -> Weight {
2923 // Proof Size summary in bytes:
2924 // Measured: `909`
2925 // Estimated: `6434`
2926 // Minimum execution time: 23_012_000 picoseconds.
2927 Weight::from_parts(24_629_000, 6434)
2928 .saturating_add(RocksDbWeight::get().reads(4_u64))
2929 }
2930 /// Storage: `Revive::DeletionQueue` (r:2 w:1)
2931 /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
2932 fn v4_deletion_queue_step() -> Weight {
2933 // Proof Size summary in bytes:
2934 // Measured: `313`
2935 // Estimated: `6288`
2936 // Minimum execution time: 9_628_000 picoseconds.
2937 Weight::from_parts(10_544_000, 6288)
2938 .saturating_add(RocksDbWeight::get().reads(2_u64))
2939 .saturating_add(RocksDbWeight::get().writes(1_u64))
2940 }
2941 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
2942 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2943 /// Storage: `Revive::BlockHash` (r:1 w:1)
2944 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
2945 /// Storage: `Timestamp::Now` (r:1 w:0)
2946 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
2947 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
2948 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2949 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
2950 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2951 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
2952 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2953 /// The range of component `n` is `[0, 200]`.
2954 fn on_finalize_per_transaction(n: u32, ) -> Weight {
2955 // Proof Size summary in bytes:
2956 // Measured: `3012 + n * (97 ±0)`
2957 // Estimated: `6303 + n * (104 ±1)`
2958 // Minimum execution time: 27_190_000 picoseconds.
2959 Weight::from_parts(54_505_473, 6303)
2960 // Standard Error: 5_400
2961 .saturating_add(Weight::from_parts(544_020, 0).saturating_mul(n.into()))
2962 .saturating_add(RocksDbWeight::get().reads(4_u64))
2963 .saturating_add(RocksDbWeight::get().writes(5_u64))
2964 .saturating_add(Weight::from_parts(0, 104).saturating_mul(n.into()))
2965 }
2966 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
2967 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2968 /// Storage: `Revive::BlockHash` (r:1 w:1)
2969 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
2970 /// Storage: `Timestamp::Now` (r:1 w:0)
2971 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
2972 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
2973 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2974 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
2975 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2976 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
2977 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2978 /// The range of component `d` is `[0, 1000]`.
2979 fn on_finalize_per_transaction_data(d: u32, ) -> Weight {
2980 // Proof Size summary in bytes:
2981 // Measured: `3577 + d * (3 ±0)`
2982 // Estimated: `7036 + d * (3 ±0)`
2983 // Minimum execution time: 58_293_000 picoseconds.
2984 Weight::from_parts(61_142_689, 7036)
2985 // Standard Error: 76
2986 .saturating_add(Weight::from_parts(11_384, 0).saturating_mul(d.into()))
2987 .saturating_add(RocksDbWeight::get().reads(4_u64))
2988 .saturating_add(RocksDbWeight::get().writes(5_u64))
2989 .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into()))
2990 }
2991 /// Storage: `System::Account` (r:1 w:0)
2992 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2993 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
2994 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2995 /// Storage: `Revive::BlockHash` (r:1 w:1)
2996 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
2997 /// Storage: `Timestamp::Now` (r:1 w:0)
2998 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
2999 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
3000 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
3001 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
3002 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
3003 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
3004 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
3005 /// The range of component `e` is `[0, 100]`.
3006 fn on_finalize_per_event(_e: u32, ) -> Weight {
3007 // Proof Size summary in bytes:
3008 // Measured: `1546`
3009 // Estimated: `5011`
3010 // Minimum execution time: 43_792_000 picoseconds.
3011 Weight::from_parts(46_335_127, 5011)
3012 .saturating_add(RocksDbWeight::get().reads(5_u64))
3013 .saturating_add(RocksDbWeight::get().writes(5_u64))
3014 }
3015 /// Storage: `System::Account` (r:1 w:0)
3016 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
3017 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
3018 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
3019 /// Storage: `Revive::BlockHash` (r:1 w:1)
3020 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
3021 /// Storage: `Timestamp::Now` (r:1 w:0)
3022 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
3023 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
3024 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
3025 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
3026 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
3027 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
3028 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
3029 /// The range of component `d` is `[0, 16384]`.
3030 fn on_finalize_per_event_data(d: u32, ) -> Weight {
3031 // Proof Size summary in bytes:
3032 // Measured: `1546`
3033 // Estimated: `5011`
3034 // Minimum execution time: 43_489_000 picoseconds.
3035 Weight::from_parts(45_970_941, 5011)
3036 // Standard Error: 1
3037 .saturating_add(Weight::from_parts(17, 0).saturating_mul(d.into()))
3038 .saturating_add(RocksDbWeight::get().reads(5_u64))
3039 .saturating_add(RocksDbWeight::get().writes(5_u64))
3040 }
3041}