pallet_revive/weights.rs
1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_revive`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-11-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `44a3520f326f`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_revive
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/revive/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage
62
63#![cfg_attr(rustfmt, rustfmt_skip)]
64#![allow(unused_parens)]
65#![allow(unused_imports)]
66#![allow(missing_docs)]
67#![allow(dead_code)]
68
69use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
70use core::marker::PhantomData;
71
72/// Weight functions needed for `pallet_revive`.
73pub trait WeightInfo {
74 fn on_process_deletion_queue_batch() -> Weight;
75 fn on_initialize_per_trie_key(k: u32, ) -> Weight;
76 fn call_with_pvm_code_per_byte(c: u32, ) -> Weight;
77 fn call_with_evm_code_per_byte(c: u32, ) -> Weight;
78 fn basic_block_compilation(b: u32, ) -> Weight;
79 fn instantiate_with_code(c: u32, i: u32, ) -> Weight;
80 fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight;
81 fn deposit_eth_extrinsic_revert_event() -> Weight;
82 fn instantiate(i: u32, ) -> Weight;
83 fn call() -> Weight;
84 fn eth_call(d: u32, ) -> Weight;
85 fn eth_substrate_call(c: u32, ) -> Weight;
86 fn upload_code(c: u32, ) -> Weight;
87 fn remove_code() -> Weight;
88 fn set_code() -> Weight;
89 fn map_account() -> Weight;
90 fn unmap_account() -> Weight;
91 fn dispatch_as_fallback_account() -> Weight;
92 fn noop_host_fn(r: u32, ) -> Weight;
93 fn seal_caller() -> Weight;
94 fn seal_origin() -> Weight;
95 fn to_account_id() -> Weight;
96 fn seal_code_hash() -> Weight;
97 fn own_code_hash() -> Weight;
98 fn seal_code_size() -> Weight;
99 fn caller_is_origin() -> Weight;
100 fn caller_is_root() -> Weight;
101 fn seal_address() -> Weight;
102 fn weight_left() -> Weight;
103 fn seal_ref_time_left() -> Weight;
104 fn seal_balance() -> Weight;
105 fn seal_balance_of() -> Weight;
106 fn seal_get_immutable_data(n: u32, ) -> Weight;
107 fn seal_set_immutable_data(n: u32, ) -> Weight;
108 fn seal_value_transferred() -> Weight;
109 fn minimum_balance() -> Weight;
110 fn seal_return_data_size() -> Weight;
111 fn seal_call_data_size() -> Weight;
112 fn seal_gas_limit() -> Weight;
113 fn seal_gas_price() -> Weight;
114 fn seal_base_fee() -> Weight;
115 fn seal_block_number() -> Weight;
116 fn seal_block_author() -> Weight;
117 fn seal_block_hash() -> Weight;
118 fn seal_now() -> Weight;
119 fn seal_copy_to_contract(n: u32, ) -> Weight;
120 fn seal_call_data_load() -> Weight;
121 fn seal_call_data_copy(n: u32, ) -> Weight;
122 fn seal_return(n: u32, ) -> Weight;
123 fn seal_terminate(r: u32, ) -> Weight;
124 fn seal_terminate_logic() -> Weight;
125 fn seal_deposit_event(t: u32, n: u32, ) -> Weight;
126 fn get_storage_empty() -> Weight;
127 fn get_storage_full() -> Weight;
128 fn set_storage_empty() -> Weight;
129 fn set_storage_full() -> Weight;
130 fn seal_set_storage(n: u32, o: u32, ) -> Weight;
131 fn clear_storage(n: u32, ) -> Weight;
132 fn seal_get_storage(n: u32, ) -> Weight;
133 fn contains_storage(n: u32, ) -> Weight;
134 fn take_storage(n: u32, ) -> Weight;
135 fn set_transient_storage_empty() -> Weight;
136 fn set_transient_storage_full() -> Weight;
137 fn get_transient_storage_empty() -> Weight;
138 fn get_transient_storage_full() -> Weight;
139 fn rollback_transient_storage() -> Weight;
140 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight;
141 fn seal_clear_transient_storage(n: u32, ) -> Weight;
142 fn seal_get_transient_storage(n: u32, ) -> Weight;
143 fn seal_contains_transient_storage(n: u32, ) -> Weight;
144 fn seal_take_transient_storage(n: u32, ) -> Weight;
145 fn seal_call(t: u32, d: u32, i: u32, ) -> Weight;
146 fn seal_call_precompile(d: u32, i: u32, ) -> Weight;
147 fn seal_delegate_call() -> Weight;
148 fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight;
149 fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight;
150 fn sha2_256(n: u32, ) -> Weight;
151 fn identity(n: u32, ) -> Weight;
152 fn ripemd_160(n: u32, ) -> Weight;
153 fn seal_hash_keccak_256(n: u32, ) -> Weight;
154 fn hash_blake2_256(n: u32, ) -> Weight;
155 fn hash_blake2_128(n: u32, ) -> Weight;
156 fn seal_sr25519_verify(n: u32, ) -> Weight;
157 fn ecdsa_recover() -> Weight;
158 fn p256_verify() -> Weight;
159 fn bn128_add() -> Weight;
160 fn bn128_mul() -> Weight;
161 fn bn128_pairing(n: u32, ) -> Weight;
162 fn blake2f(n: u32, ) -> Weight;
163 fn seal_ecdsa_to_eth_address() -> Weight;
164 fn evm_opcode(r: u32, ) -> Weight;
165 fn instr(r: u32, ) -> Weight;
166 fn instr_empty_loop(r: u32, ) -> Weight;
167 fn extcodecopy(n: u32, ) -> Weight;
168 fn v1_migration_step() -> Weight;
169 fn v2_migration_step() -> Weight;
170 fn on_finalize_per_transaction(n: u32, ) -> Weight;
171 fn on_finalize_per_transaction_data(d: u32, ) -> Weight;
172 fn on_finalize_per_event(e: u32, ) -> Weight;
173 fn on_finalize_per_event_data(d: u32, ) -> Weight;
174}
175
176/// Weights for `pallet_revive` using the Substrate node and recommended hardware.
177pub struct SubstrateWeight<T>(PhantomData<T>);
178impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
179 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:0)
180 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
181 fn on_process_deletion_queue_batch() -> Weight {
182 // Proof Size summary in bytes:
183 // Measured: `213`
184 // Estimated: `1698`
185 // Minimum execution time: 3_325_000 picoseconds.
186 Weight::from_parts(3_509_000, 1698)
187 .saturating_add(T::DbWeight::get().reads(1_u64))
188 }
189 /// Storage: `Skipped::Metadata` (r:0 w:0)
190 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
191 /// The range of component `k` is `[0, 1024]`.
192 fn on_initialize_per_trie_key(k: u32, ) -> Weight {
193 // Proof Size summary in bytes:
194 // Measured: `491 + k * (69 ±0)`
195 // Estimated: `481 + k * (70 ±0)`
196 // Minimum execution time: 14_389_000 picoseconds.
197 Weight::from_parts(15_127_000, 481)
198 // Standard Error: 1_039
199 .saturating_add(Weight::from_parts(1_209_966, 0).saturating_mul(k.into()))
200 .saturating_add(T::DbWeight::get().reads(2_u64))
201 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
202 .saturating_add(T::DbWeight::get().writes(2_u64))
203 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
204 .saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
205 }
206 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
207 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
208 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
209 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
210 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
211 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
212 /// Storage: `Revive::PristineCode` (r:1 w:0)
213 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
214 /// Storage: `Timestamp::Now` (r:1 w:0)
215 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
216 /// Storage: `System::Account` (r:1 w:1)
217 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
218 /// The range of component `c` is `[0, 102400]`.
219 fn call_with_pvm_code_per_byte(c: u32, ) -> Weight {
220 // Proof Size summary in bytes:
221 // Measured: `1265 + c * (1 ±0)`
222 // Estimated: `7200 + c * (1 ±0)`
223 // Minimum execution time: 100_357_000 picoseconds.
224 Weight::from_parts(143_652_444, 7200)
225 // Standard Error: 12
226 .saturating_add(Weight::from_parts(1_441, 0).saturating_mul(c.into()))
227 .saturating_add(T::DbWeight::get().reads(8_u64))
228 .saturating_add(T::DbWeight::get().writes(2_u64))
229 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
230 }
231 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
232 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
233 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
234 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
235 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
236 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
237 /// Storage: `Revive::PristineCode` (r:1 w:0)
238 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
239 /// Storage: `Timestamp::Now` (r:1 w:0)
240 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
241 /// Storage: `System::Account` (r:1 w:1)
242 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
243 /// The range of component `c` is `[1, 10240]`.
244 fn call_with_evm_code_per_byte(c: u32, ) -> Weight {
245 // Proof Size summary in bytes:
246 // Measured: `1205`
247 // Estimated: `7144`
248 // Minimum execution time: 92_748_000 picoseconds.
249 Weight::from_parts(97_747_165, 7144)
250 // Standard Error: 24
251 .saturating_add(Weight::from_parts(46, 0).saturating_mul(c.into()))
252 .saturating_add(T::DbWeight::get().reads(8_u64))
253 .saturating_add(T::DbWeight::get().writes(2_u64))
254 }
255 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
256 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
257 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
258 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
259 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
260 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
261 /// Storage: `Revive::PristineCode` (r:1 w:0)
262 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
263 /// Storage: `Timestamp::Now` (r:1 w:0)
264 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
265 /// Storage: `System::Account` (r:1 w:1)
266 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
267 /// The range of component `b` is `[0, 1]`.
268 fn basic_block_compilation(b: u32, ) -> Weight {
269 // Proof Size summary in bytes:
270 // Measured: `4609`
271 // Estimated: `10549`
272 // Minimum execution time: 144_014_000 picoseconds.
273 Weight::from_parts(149_812_683, 10549)
274 // Standard Error: 724_905
275 .saturating_add(Weight::from_parts(1_749_116, 0).saturating_mul(b.into()))
276 .saturating_add(T::DbWeight::get().reads(8_u64))
277 .saturating_add(T::DbWeight::get().writes(2_u64))
278 }
279 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
280 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
281 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
282 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
283 /// Storage: `Balances::Holds` (r:2 w:2)
284 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
285 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
286 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
287 /// Storage: `Timestamp::Now` (r:1 w:0)
288 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
289 /// Storage: `System::Account` (r:1 w:1)
290 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
291 /// Storage: `Revive::PristineCode` (r:0 w:1)
292 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
293 /// The range of component `c` is `[0, 102400]`.
294 /// The range of component `i` is `[0, 131072]`.
295 fn instantiate_with_code(c: u32, i: u32, ) -> Weight {
296 // Proof Size summary in bytes:
297 // Measured: `994`
298 // Estimated: `6924`
299 // Minimum execution time: 773_080_000 picoseconds.
300 Weight::from_parts(70_290_148, 6924)
301 // Standard Error: 37
302 .saturating_add(Weight::from_parts(20_365, 0).saturating_mul(c.into()))
303 // Standard Error: 29
304 .saturating_add(Weight::from_parts(5_006, 0).saturating_mul(i.into()))
305 .saturating_add(T::DbWeight::get().reads(8_u64))
306 .saturating_add(T::DbWeight::get().writes(6_u64))
307 }
308 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
309 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
310 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
311 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
312 /// Storage: `System::Account` (r:2 w:2)
313 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
314 /// Storage: `Balances::Holds` (r:2 w:2)
315 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
316 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
317 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
318 /// Storage: `Timestamp::Now` (r:1 w:0)
319 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
320 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
321 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
322 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
323 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
324 /// Storage: `Revive::PristineCode` (r:0 w:1)
325 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
326 /// The range of component `c` is `[0, 102400]`.
327 /// The range of component `i` is `[0, 131072]`.
328 /// The range of component `d` is `[0, 1]`.
329 fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight {
330 // Proof Size summary in bytes:
331 // Measured: `994`
332 // Estimated: `6934`
333 // Minimum execution time: 405_718_000 picoseconds.
334 Weight::from_parts(270_737_149, 6934)
335 // Standard Error: 44
336 .saturating_add(Weight::from_parts(15_826, 0).saturating_mul(c.into()))
337 // Standard Error: 34
338 .saturating_add(Weight::from_parts(660, 0).saturating_mul(i.into()))
339 // Standard Error: 2_902_398
340 .saturating_add(Weight::from_parts(8_450_702, 0).saturating_mul(d.into()))
341 .saturating_add(T::DbWeight::get().reads(10_u64))
342 .saturating_add(T::DbWeight::get().writes(10_u64))
343 }
344 fn deposit_eth_extrinsic_revert_event() -> Weight {
345 // Proof Size summary in bytes:
346 // Measured: `0`
347 // Estimated: `0`
348 // Minimum execution time: 3_011_000 picoseconds.
349 Weight::from_parts(3_274_000, 0)
350 }
351 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
352 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
353 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
354 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
355 /// Storage: `Revive::PristineCode` (r:1 w:0)
356 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, 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: `Timestamp::Now` (r:1 w:0)
360 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
361 /// Storage: `System::Account` (r:1 w:1)
362 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
363 /// Storage: `Balances::Holds` (r:1 w:1)
364 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
365 /// The range of component `i` is `[0, 131072]`.
366 fn instantiate(i: u32, ) -> Weight {
367 // Proof Size summary in bytes:
368 // Measured: `1735`
369 // Estimated: `7665`
370 // Minimum execution time: 187_515_000 picoseconds.
371 Weight::from_parts(194_934_584, 7665)
372 // Standard Error: 11
373 .saturating_add(Weight::from_parts(4_151, 0).saturating_mul(i.into()))
374 .saturating_add(T::DbWeight::get().reads(8_u64))
375 .saturating_add(T::DbWeight::get().writes(4_u64))
376 }
377 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
378 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
379 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
380 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
381 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
382 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
383 /// Storage: `Revive::PristineCode` (r:1 w:0)
384 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
385 /// Storage: `Timestamp::Now` (r:1 w:0)
386 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
387 /// Storage: `System::Account` (r:1 w:1)
388 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
389 fn call() -> Weight {
390 // Proof Size summary in bytes:
391 // Measured: `1947`
392 // Estimated: `7887`
393 // Minimum execution time: 104_210_000 picoseconds.
394 Weight::from_parts(110_220_000, 7887)
395 .saturating_add(T::DbWeight::get().reads(8_u64))
396 .saturating_add(T::DbWeight::get().writes(2_u64))
397 }
398 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
399 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
400 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
401 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
402 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
403 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
404 /// Storage: `Revive::PristineCode` (r:1 w:0)
405 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
406 /// Storage: `Timestamp::Now` (r:1 w:0)
407 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
408 /// Storage: `System::Account` (r:1 w:1)
409 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
410 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
411 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
412 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
413 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
414 /// The range of component `d` is `[0, 1]`.
415 fn eth_call(d: u32, ) -> Weight {
416 // Proof Size summary in bytes:
417 // Measured: `1947`
418 // Estimated: `7887`
419 // Minimum execution time: 179_230_000 picoseconds.
420 Weight::from_parts(189_040_259, 7887)
421 // Standard Error: 869_758
422 .saturating_add(Weight::from_parts(4_172_840, 0).saturating_mul(d.into()))
423 .saturating_add(T::DbWeight::get().reads(9_u64))
424 .saturating_add(T::DbWeight::get().writes(5_u64))
425 }
426 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
427 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
428 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
429 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`)
430 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
431 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
432 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
433 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
434 /// The range of component `c` is `[0, 102400]`.
435 fn eth_substrate_call(c: u32, ) -> Weight {
436 // Proof Size summary in bytes:
437 // Measured: `358`
438 // Estimated: `3823`
439 // Minimum execution time: 28_233_000 picoseconds.
440 Weight::from_parts(22_905_261, 3823)
441 // Standard Error: 12
442 .saturating_add(Weight::from_parts(6_274, 0).saturating_mul(c.into()))
443 .saturating_add(T::DbWeight::get().reads(3_u64))
444 .saturating_add(T::DbWeight::get().writes(2_u64))
445 }
446 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
447 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
448 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
449 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
450 /// Storage: `Balances::Holds` (r:1 w:1)
451 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
452 /// Storage: `Revive::PristineCode` (r:0 w:1)
453 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
454 /// The range of component `c` is `[0, 102400]`.
455 fn upload_code(c: u32, ) -> Weight {
456 // Proof Size summary in bytes:
457 // Measured: `392`
458 // Estimated: `3857`
459 // Minimum execution time: 59_732_000 picoseconds.
460 Weight::from_parts(53_002_061, 3857)
461 // Standard Error: 17
462 .saturating_add(Weight::from_parts(14_107, 0).saturating_mul(c.into()))
463 .saturating_add(T::DbWeight::get().reads(3_u64))
464 .saturating_add(T::DbWeight::get().writes(3_u64))
465 }
466 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
467 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
468 /// Storage: `Balances::Holds` (r:1 w:1)
469 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
470 /// Storage: `Revive::PristineCode` (r:0 w:1)
471 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
472 fn remove_code() -> Weight {
473 // Proof Size summary in bytes:
474 // Measured: `524`
475 // Estimated: `3989`
476 // Minimum execution time: 53_247_000 picoseconds.
477 Weight::from_parts(54_239_000, 3989)
478 .saturating_add(T::DbWeight::get().reads(2_u64))
479 .saturating_add(T::DbWeight::get().writes(3_u64))
480 }
481 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
482 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
483 /// Storage: `Revive::CodeInfoOf` (r:2 w:2)
484 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
485 /// Storage: `Balances::Holds` (r:1 w:1)
486 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
487 /// Storage: `System::Account` (r:1 w:1)
488 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
489 /// Storage: `Revive::PristineCode` (r:0 w:1)
490 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
491 fn set_code() -> Weight {
492 // Proof Size summary in bytes:
493 // Measured: `833`
494 // Estimated: `6773`
495 // Minimum execution time: 67_638_000 picoseconds.
496 Weight::from_parts(69_822_000, 6773)
497 .saturating_add(T::DbWeight::get().reads(5_u64))
498 .saturating_add(T::DbWeight::get().writes(6_u64))
499 }
500 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
501 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
502 /// Storage: `Revive::OriginalAccount` (r:1 w:1)
503 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
504 /// Storage: `Balances::Holds` (r:1 w:1)
505 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
506 fn map_account() -> Weight {
507 // Proof Size summary in bytes:
508 // Measured: `623`
509 // Estimated: `4088`
510 // Minimum execution time: 60_308_000 picoseconds.
511 Weight::from_parts(61_865_000, 4088)
512 .saturating_add(T::DbWeight::get().reads(3_u64))
513 .saturating_add(T::DbWeight::get().writes(2_u64))
514 }
515 /// Storage: `Balances::Holds` (r:1 w:1)
516 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
517 /// Storage: `Revive::OriginalAccount` (r:0 w:1)
518 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
519 fn unmap_account() -> Weight {
520 // Proof Size summary in bytes:
521 // Measured: `93`
522 // Estimated: `3558`
523 // Minimum execution time: 40_748_000 picoseconds.
524 Weight::from_parts(41_916_000, 3558)
525 .saturating_add(T::DbWeight::get().reads(1_u64))
526 .saturating_add(T::DbWeight::get().writes(2_u64))
527 }
528 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
529 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
530 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
531 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
532 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
533 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`)
534 fn dispatch_as_fallback_account() -> Weight {
535 // Proof Size summary in bytes:
536 // Measured: `381`
537 // Estimated: `3846`
538 // Minimum execution time: 19_441_000 picoseconds.
539 Weight::from_parts(19_775_000, 3846)
540 .saturating_add(T::DbWeight::get().reads(3_u64))
541 }
542 /// The range of component `r` is `[0, 1600]`.
543 fn noop_host_fn(r: u32, ) -> Weight {
544 // Proof Size summary in bytes:
545 // Measured: `0`
546 // Estimated: `0`
547 // Minimum execution time: 8_031_000 picoseconds.
548 Weight::from_parts(9_266_076, 0)
549 // Standard Error: 205
550 .saturating_add(Weight::from_parts(186_444, 0).saturating_mul(r.into()))
551 }
552 fn seal_caller() -> Weight {
553 // Proof Size summary in bytes:
554 // Measured: `0`
555 // Estimated: `0`
556 // Minimum execution time: 377_000 picoseconds.
557 Weight::from_parts(403_000, 0)
558 }
559 fn seal_origin() -> Weight {
560 // Proof Size summary in bytes:
561 // Measured: `0`
562 // Estimated: `0`
563 // Minimum execution time: 351_000 picoseconds.
564 Weight::from_parts(395_000, 0)
565 }
566 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
567 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
568 fn to_account_id() -> Weight {
569 // Proof Size summary in bytes:
570 // Measured: `623`
571 // Estimated: `4088`
572 // Minimum execution time: 11_287_000 picoseconds.
573 Weight::from_parts(12_022_000, 4088)
574 .saturating_add(T::DbWeight::get().reads(1_u64))
575 }
576 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
577 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
578 fn seal_code_hash() -> Weight {
579 // Proof Size summary in bytes:
580 // Measured: `473`
581 // Estimated: `3938`
582 // Minimum execution time: 9_933_000 picoseconds.
583 Weight::from_parts(10_470_000, 3938)
584 .saturating_add(T::DbWeight::get().reads(1_u64))
585 }
586 fn own_code_hash() -> Weight {
587 // Proof Size summary in bytes:
588 // Measured: `436`
589 // Estimated: `0`
590 // Minimum execution time: 9_614_000 picoseconds.
591 Weight::from_parts(10_109_000, 0)
592 }
593 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
594 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
595 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
596 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
597 fn seal_code_size() -> Weight {
598 // Proof Size summary in bytes:
599 // Measured: `545`
600 // Estimated: `4010`
601 // Minimum execution time: 13_599_000 picoseconds.
602 Weight::from_parts(14_148_000, 4010)
603 .saturating_add(T::DbWeight::get().reads(2_u64))
604 }
605 fn caller_is_origin() -> Weight {
606 // Proof Size summary in bytes:
607 // Measured: `0`
608 // Estimated: `0`
609 // Minimum execution time: 1_161_000 picoseconds.
610 Weight::from_parts(1_257_000, 0)
611 }
612 fn caller_is_root() -> Weight {
613 // Proof Size summary in bytes:
614 // Measured: `0`
615 // Estimated: `0`
616 // Minimum execution time: 1_061_000 picoseconds.
617 Weight::from_parts(1_188_000, 0)
618 }
619 fn seal_address() -> Weight {
620 // Proof Size summary in bytes:
621 // Measured: `0`
622 // Estimated: `0`
623 // Minimum execution time: 303_000 picoseconds.
624 Weight::from_parts(349_000, 0)
625 }
626 fn weight_left() -> Weight {
627 // Proof Size summary in bytes:
628 // Measured: `0`
629 // Estimated: `0`
630 // Minimum execution time: 1_143_000 picoseconds.
631 Weight::from_parts(1_283_000, 0)
632 }
633 fn seal_ref_time_left() -> Weight {
634 // Proof Size summary in bytes:
635 // Measured: `0`
636 // Estimated: `0`
637 // Minimum execution time: 1_827_000 picoseconds.
638 Weight::from_parts(1_929_000, 0)
639 }
640 fn seal_balance() -> Weight {
641 // Proof Size summary in bytes:
642 // Measured: `610`
643 // Estimated: `0`
644 // Minimum execution time: 13_541_000 picoseconds.
645 Weight::from_parts(14_240_000, 0)
646 }
647 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
648 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
649 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
650 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
651 /// Storage: `System::Account` (r:1 w:0)
652 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
653 fn seal_balance_of() -> Weight {
654 // Proof Size summary in bytes:
655 // Measured: `884`
656 // Estimated: `4349`
657 // Minimum execution time: 20_559_000 picoseconds.
658 Weight::from_parts(21_367_000, 4349)
659 .saturating_add(T::DbWeight::get().reads(3_u64))
660 }
661 /// Storage: `Revive::ImmutableDataOf` (r:1 w:0)
662 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
663 /// The range of component `n` is `[1, 4096]`.
664 fn seal_get_immutable_data(n: u32, ) -> Weight {
665 // Proof Size summary in bytes:
666 // Measured: `304 + n * (1 ±0)`
667 // Estimated: `3769 + n * (1 ±0)`
668 // Minimum execution time: 5_923_000 picoseconds.
669 Weight::from_parts(6_753_149, 3769)
670 // Standard Error: 5
671 .saturating_add(Weight::from_parts(523, 0).saturating_mul(n.into()))
672 .saturating_add(T::DbWeight::get().reads(1_u64))
673 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
674 }
675 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
676 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
677 /// The range of component `n` is `[1, 4096]`.
678 fn seal_set_immutable_data(n: u32, ) -> Weight {
679 // Proof Size summary in bytes:
680 // Measured: `0`
681 // Estimated: `0`
682 // Minimum execution time: 2_101_000 picoseconds.
683 Weight::from_parts(2_465_888, 0)
684 // Standard Error: 2
685 .saturating_add(Weight::from_parts(472, 0).saturating_mul(n.into()))
686 .saturating_add(T::DbWeight::get().writes(1_u64))
687 }
688 fn seal_value_transferred() -> Weight {
689 // Proof Size summary in bytes:
690 // Measured: `0`
691 // Estimated: `0`
692 // Minimum execution time: 293_000 picoseconds.
693 Weight::from_parts(319_000, 0)
694 }
695 fn minimum_balance() -> Weight {
696 // Proof Size summary in bytes:
697 // Measured: `0`
698 // Estimated: `0`
699 // Minimum execution time: 1_322_000 picoseconds.
700 Weight::from_parts(1_476_000, 0)
701 }
702 fn seal_return_data_size() -> Weight {
703 // Proof Size summary in bytes:
704 // Measured: `0`
705 // Estimated: `0`
706 // Minimum execution time: 287_000 picoseconds.
707 Weight::from_parts(319_000, 0)
708 }
709 fn seal_call_data_size() -> Weight {
710 // Proof Size summary in bytes:
711 // Measured: `0`
712 // Estimated: `0`
713 // Minimum execution time: 287_000 picoseconds.
714 Weight::from_parts(330_000, 0)
715 }
716 fn seal_gas_limit() -> Weight {
717 // Proof Size summary in bytes:
718 // Measured: `0`
719 // Estimated: `0`
720 // Minimum execution time: 293_000 picoseconds.
721 Weight::from_parts(339_000, 0)
722 }
723 fn seal_gas_price() -> Weight {
724 // Proof Size summary in bytes:
725 // Measured: `0`
726 // Estimated: `0`
727 // Minimum execution time: 986_000 picoseconds.
728 Weight::from_parts(1_085_000, 0)
729 }
730 fn seal_base_fee() -> Weight {
731 // Proof Size summary in bytes:
732 // Measured: `0`
733 // Estimated: `0`
734 // Minimum execution time: 974_000 picoseconds.
735 Weight::from_parts(1_057_000, 0)
736 }
737 fn seal_block_number() -> Weight {
738 // Proof Size summary in bytes:
739 // Measured: `0`
740 // Estimated: `0`
741 // Minimum execution time: 285_000 picoseconds.
742 Weight::from_parts(330_000, 0)
743 }
744 /// Storage: `Session::Validators` (r:1 w:0)
745 /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
746 fn seal_block_author() -> Weight {
747 // Proof Size summary in bytes:
748 // Measured: `141`
749 // Estimated: `1626`
750 // Minimum execution time: 21_803_000 picoseconds.
751 Weight::from_parts(22_360_000, 1626)
752 .saturating_add(T::DbWeight::get().reads(1_u64))
753 }
754 /// Storage: `Revive::BlockHash` (r:1 w:0)
755 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
756 fn seal_block_hash() -> Weight {
757 // Proof Size summary in bytes:
758 // Measured: `318`
759 // Estimated: `3783`
760 // Minimum execution time: 5_906_000 picoseconds.
761 Weight::from_parts(6_201_000, 3783)
762 .saturating_add(T::DbWeight::get().reads(1_u64))
763 }
764 fn seal_now() -> Weight {
765 // Proof Size summary in bytes:
766 // Measured: `0`
767 // Estimated: `0`
768 // Minimum execution time: 307_000 picoseconds.
769 Weight::from_parts(347_000, 0)
770 }
771 /// The range of component `n` is `[0, 1048572]`.
772 fn seal_copy_to_contract(n: u32, ) -> Weight {
773 // Proof Size summary in bytes:
774 // Measured: `0`
775 // Estimated: `0`
776 // Minimum execution time: 453_000 picoseconds.
777 Weight::from_parts(489_000, 0)
778 // Standard Error: 0
779 .saturating_add(Weight::from_parts(203, 0).saturating_mul(n.into()))
780 }
781 fn seal_call_data_load() -> Weight {
782 // Proof Size summary in bytes:
783 // Measured: `0`
784 // Estimated: `0`
785 // Minimum execution time: 289_000 picoseconds.
786 Weight::from_parts(343_000, 0)
787 }
788 /// The range of component `n` is `[0, 1048576]`.
789 fn seal_call_data_copy(n: u32, ) -> Weight {
790 // Proof Size summary in bytes:
791 // Measured: `0`
792 // Estimated: `0`
793 // Minimum execution time: 280_000 picoseconds.
794 Weight::from_parts(496_576, 0)
795 // Standard Error: 0
796 .saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into()))
797 }
798 /// The range of component `n` is `[0, 131072]`.
799 fn seal_return(n: u32, ) -> Weight {
800 // Proof Size summary in bytes:
801 // Measured: `0`
802 // Estimated: `0`
803 // Minimum execution time: 305_000 picoseconds.
804 Weight::from_parts(529_465, 0)
805 // Standard Error: 0
806 .saturating_add(Weight::from_parts(200, 0).saturating_mul(n.into()))
807 }
808 /// The range of component `r` is `[0, 1]`.
809 fn seal_terminate(r: u32, ) -> Weight {
810 // Proof Size summary in bytes:
811 // Measured: `0`
812 // Estimated: `0`
813 // Minimum execution time: 927_000 picoseconds.
814 Weight::from_parts(1_059_312, 0)
815 // Standard Error: 6_858
816 .saturating_add(Weight::from_parts(13_287, 0).saturating_mul(r.into()))
817 }
818 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1)
819 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
820 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
821 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
822 /// Storage: `Balances::Holds` (r:1 w:1)
823 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
824 /// Storage: `System::Account` (r:2 w:2)
825 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
826 /// Storage: `Revive::DeletionQueue` (r:0 w:1)
827 /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
828 /// Storage: `Revive::PristineCode` (r:0 w:1)
829 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
830 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
831 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
832 fn seal_terminate_logic() -> Weight {
833 // Proof Size summary in bytes:
834 // Measured: `1050`
835 // Estimated: `6990`
836 // Minimum execution time: 118_234_000 picoseconds.
837 Weight::from_parts(122_191_000, 6990)
838 .saturating_add(T::DbWeight::get().reads(5_u64))
839 .saturating_add(T::DbWeight::get().writes(8_u64))
840 }
841 /// The range of component `t` is `[0, 4]`.
842 /// The range of component `n` is `[0, 65536]`.
843 fn seal_deposit_event(_t: u32, n: u32, ) -> Weight {
844 // Proof Size summary in bytes:
845 // Measured: `0`
846 // Estimated: `0`
847 // Minimum execution time: 5_221_000 picoseconds.
848 Weight::from_parts(5_319_000, 0)
849 // Standard Error: 4
850 .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(n.into()))
851 }
852 /// Storage: `Skipped::Metadata` (r:0 w:0)
853 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
854 fn get_storage_empty() -> Weight {
855 // Proof Size summary in bytes:
856 // Measured: `648`
857 // Estimated: `648`
858 // Minimum execution time: 7_453_000 picoseconds.
859 Weight::from_parts(7_862_000, 648)
860 .saturating_add(T::DbWeight::get().reads(1_u64))
861 }
862 /// Storage: `Skipped::Metadata` (r:0 w:0)
863 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
864 fn get_storage_full() -> Weight {
865 // Proof Size summary in bytes:
866 // Measured: `10658`
867 // Estimated: `10658`
868 // Minimum execution time: 41_255_000 picoseconds.
869 Weight::from_parts(42_397_000, 10658)
870 .saturating_add(T::DbWeight::get().reads(1_u64))
871 }
872 /// Storage: `Skipped::Metadata` (r:0 w:0)
873 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
874 fn set_storage_empty() -> Weight {
875 // Proof Size summary in bytes:
876 // Measured: `648`
877 // Estimated: `648`
878 // Minimum execution time: 8_727_000 picoseconds.
879 Weight::from_parts(9_104_000, 648)
880 .saturating_add(T::DbWeight::get().reads(1_u64))
881 .saturating_add(T::DbWeight::get().writes(1_u64))
882 }
883 /// Storage: `Skipped::Metadata` (r:0 w:0)
884 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
885 fn set_storage_full() -> Weight {
886 // Proof Size summary in bytes:
887 // Measured: `10658`
888 // Estimated: `10658`
889 // Minimum execution time: 43_313_000 picoseconds.
890 Weight::from_parts(44_570_000, 10658)
891 .saturating_add(T::DbWeight::get().reads(1_u64))
892 .saturating_add(T::DbWeight::get().writes(1_u64))
893 }
894 /// Storage: `Skipped::Metadata` (r:0 w:0)
895 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
896 /// The range of component `n` is `[0, 416]`.
897 /// The range of component `o` is `[0, 416]`.
898 fn seal_set_storage(n: u32, o: u32, ) -> Weight {
899 // Proof Size summary in bytes:
900 // Measured: `248 + o * (1 ±0)`
901 // Estimated: `247 + o * (1 ±0)`
902 // Minimum execution time: 9_291_000 picoseconds.
903 Weight::from_parts(10_116_310, 247)
904 // Standard Error: 56
905 .saturating_add(Weight::from_parts(562, 0).saturating_mul(n.into()))
906 // Standard Error: 56
907 .saturating_add(Weight::from_parts(766, 0).saturating_mul(o.into()))
908 .saturating_add(T::DbWeight::get().reads(1_u64))
909 .saturating_add(T::DbWeight::get().writes(1_u64))
910 .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into()))
911 }
912 /// Storage: `Skipped::Metadata` (r:0 w:0)
913 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
914 /// The range of component `n` is `[0, 416]`.
915 fn clear_storage(_n: u32, ) -> Weight {
916 // Proof Size summary in bytes:
917 // Measured: `376`
918 // Estimated: `376`
919 // Minimum execution time: 11_317_000 picoseconds.
920 Weight::from_parts(12_313_550, 376)
921 .saturating_add(T::DbWeight::get().reads(1_u64))
922 .saturating_add(T::DbWeight::get().writes(1_u64))
923 }
924 /// Storage: `Skipped::Metadata` (r:0 w:0)
925 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
926 /// The range of component `n` is `[0, 416]`.
927 fn seal_get_storage(n: u32, ) -> Weight {
928 // Proof Size summary in bytes:
929 // Measured: `248 + n * (1 ±0)`
930 // Estimated: `247 + n * (1 ±0)`
931 // Minimum execution time: 8_259_000 picoseconds.
932 Weight::from_parts(9_579_511, 247)
933 // Standard Error: 89
934 .saturating_add(Weight::from_parts(1_569, 0).saturating_mul(n.into()))
935 .saturating_add(T::DbWeight::get().reads(1_u64))
936 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
937 }
938 /// Storage: `Skipped::Metadata` (r:0 w:0)
939 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
940 /// The range of component `n` is `[0, 416]`.
941 fn contains_storage(_n: u32, ) -> Weight {
942 // Proof Size summary in bytes:
943 // Measured: `0`
944 // Estimated: `0`
945 // Minimum execution time: 3_296_000 picoseconds.
946 Weight::from_parts(3_670_971, 0)
947 }
948 /// Storage: `Skipped::Metadata` (r:0 w:0)
949 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
950 /// The range of component `n` is `[0, 416]`.
951 fn take_storage(n: u32, ) -> Weight {
952 // Proof Size summary in bytes:
953 // Measured: `376`
954 // Estimated: `376`
955 // Minimum execution time: 11_660_000 picoseconds.
956 Weight::from_parts(12_798_428, 376)
957 // Standard Error: 94
958 .saturating_add(Weight::from_parts(571, 0).saturating_mul(n.into()))
959 .saturating_add(T::DbWeight::get().reads(1_u64))
960 .saturating_add(T::DbWeight::get().writes(1_u64))
961 }
962 fn set_transient_storage_empty() -> Weight {
963 // Proof Size summary in bytes:
964 // Measured: `0`
965 // Estimated: `0`
966 // Minimum execution time: 1_652_000 picoseconds.
967 Weight::from_parts(1_749_000, 0)
968 }
969 fn set_transient_storage_full() -> Weight {
970 // Proof Size summary in bytes:
971 // Measured: `0`
972 // Estimated: `0`
973 // Minimum execution time: 1_986_000 picoseconds.
974 Weight::from_parts(2_063_000, 0)
975 }
976 fn get_transient_storage_empty() -> Weight {
977 // Proof Size summary in bytes:
978 // Measured: `0`
979 // Estimated: `0`
980 // Minimum execution time: 1_596_000 picoseconds.
981 Weight::from_parts(1_702_000, 0)
982 }
983 fn get_transient_storage_full() -> Weight {
984 // Proof Size summary in bytes:
985 // Measured: `0`
986 // Estimated: `0`
987 // Minimum execution time: 1_786_000 picoseconds.
988 Weight::from_parts(1_893_000, 0)
989 }
990 fn rollback_transient_storage() -> Weight {
991 // Proof Size summary in bytes:
992 // Measured: `0`
993 // Estimated: `0`
994 // Minimum execution time: 1_252_000 picoseconds.
995 Weight::from_parts(1_339_000, 0)
996 }
997 /// The range of component `n` is `[0, 416]`.
998 /// The range of component `o` is `[0, 416]`.
999 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight {
1000 // Proof Size summary in bytes:
1001 // Measured: `0`
1002 // Estimated: `0`
1003 // Minimum execution time: 2_331_000 picoseconds.
1004 Weight::from_parts(2_642_531, 0)
1005 // Standard Error: 17
1006 .saturating_add(Weight::from_parts(234, 0).saturating_mul(n.into()))
1007 // Standard Error: 17
1008 .saturating_add(Weight::from_parts(356, 0).saturating_mul(o.into()))
1009 }
1010 /// The range of component `n` is `[0, 416]`.
1011 fn seal_clear_transient_storage(n: u32, ) -> Weight {
1012 // Proof Size summary in bytes:
1013 // Measured: `0`
1014 // Estimated: `0`
1015 // Minimum execution time: 3_897_000 picoseconds.
1016 Weight::from_parts(4_214_505, 0)
1017 // Standard Error: 34
1018 .saturating_add(Weight::from_parts(192, 0).saturating_mul(n.into()))
1019 }
1020 /// The range of component `n` is `[0, 416]`.
1021 fn seal_get_transient_storage(n: u32, ) -> Weight {
1022 // Proof Size summary in bytes:
1023 // Measured: `0`
1024 // Estimated: `0`
1025 // Minimum execution time: 2_008_000 picoseconds.
1026 Weight::from_parts(2_260_857, 0)
1027 // Standard Error: 19
1028 .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into()))
1029 }
1030 /// The range of component `n` is `[0, 416]`.
1031 fn seal_contains_transient_storage(_n: u32, ) -> Weight {
1032 // Proof Size summary in bytes:
1033 // Measured: `0`
1034 // Estimated: `0`
1035 // Minimum execution time: 3_387_000 picoseconds.
1036 Weight::from_parts(3_823_784, 0)
1037 }
1038 /// The range of component `n` is `[0, 416]`.
1039 fn seal_take_transient_storage(_n: u32, ) -> Weight {
1040 // Proof Size summary in bytes:
1041 // Measured: `0`
1042 // Estimated: `0`
1043 // Minimum execution time: 4_105_000 picoseconds.
1044 Weight::from_parts(4_590_927, 0)
1045 }
1046 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1047 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1048 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1049 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1050 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1051 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1052 /// Storage: `Revive::PristineCode` (r:1 w:0)
1053 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1054 /// Storage: `System::Account` (r:1 w:1)
1055 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1056 /// The range of component `t` is `[0, 1]`.
1057 /// The range of component `d` is `[0, 1]`.
1058 /// The range of component `i` is `[0, 1048576]`.
1059 fn seal_call(t: u32, d: u32, i: u32, ) -> Weight {
1060 // Proof Size summary in bytes:
1061 // Measured: `2129`
1062 // Estimated: `5594`
1063 // Minimum execution time: 96_945_000 picoseconds.
1064 Weight::from_parts(82_723_058, 5594)
1065 // Standard Error: 197_185
1066 .saturating_add(Weight::from_parts(17_112_972, 0).saturating_mul(t.into()))
1067 // Standard Error: 197_185
1068 .saturating_add(Weight::from_parts(23_554_105, 0).saturating_mul(d.into()))
1069 // Standard Error: 0
1070 .saturating_add(Weight::from_parts(1, 0).saturating_mul(i.into()))
1071 .saturating_add(T::DbWeight::get().reads(5_u64))
1072 .saturating_add(T::DbWeight::get().writes(1_u64))
1073 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
1074 }
1075 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1076 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1077 /// Storage: `System::Account` (r:1 w:0)
1078 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1079 /// The range of component `d` is `[0, 1]`.
1080 /// The range of component `i` is `[0, 130972]`.
1081 fn seal_call_precompile(d: u32, i: u32, ) -> Weight {
1082 // Proof Size summary in bytes:
1083 // Measured: `436 + d * (212 ±0)`
1084 // Estimated: `2056 + d * (2056 ±0)`
1085 // Minimum execution time: 26_713_000 picoseconds.
1086 Weight::from_parts(15_979_369, 2056)
1087 // Standard Error: 53_691
1088 .saturating_add(Weight::from_parts(11_856_790, 0).saturating_mul(d.into()))
1089 // Standard Error: 0
1090 .saturating_add(Weight::from_parts(326, 0).saturating_mul(i.into()))
1091 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into())))
1092 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into())))
1093 .saturating_add(Weight::from_parts(0, 2056).saturating_mul(d.into()))
1094 }
1095 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1096 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1097 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1098 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1099 /// Storage: `Revive::PristineCode` (r:1 w:0)
1100 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1101 fn seal_delegate_call() -> Weight {
1102 // Proof Size summary in bytes:
1103 // Measured: `1434`
1104 // Estimated: `4899`
1105 // Minimum execution time: 35_156_000 picoseconds.
1106 Weight::from_parts(36_008_000, 4899)
1107 .saturating_add(T::DbWeight::get().reads(3_u64))
1108 }
1109 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1110 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1111 /// Storage: `Revive::PristineCode` (r:1 w:0)
1112 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1113 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1114 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1115 /// Storage: `System::Account` (r:1 w:1)
1116 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1117 /// The range of component `t` is `[0, 1]`.
1118 /// The range of component `d` is `[0, 1]`.
1119 /// The range of component `i` is `[0, 131072]`.
1120 fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight {
1121 // Proof Size summary in bytes:
1122 // Measured: `1484`
1123 // Estimated: `4921 + d * (31 ±1) + t * (31 ±1)`
1124 // Minimum execution time: 158_623_000 picoseconds.
1125 Weight::from_parts(119_635_514, 4921)
1126 // Standard Error: 509_096
1127 .saturating_add(Weight::from_parts(17_183_470, 0).saturating_mul(t.into()))
1128 // Standard Error: 509_096
1129 .saturating_add(Weight::from_parts(27_676_190, 0).saturating_mul(d.into()))
1130 // Standard Error: 5
1131 .saturating_add(Weight::from_parts(3_929, 0).saturating_mul(i.into()))
1132 .saturating_add(T::DbWeight::get().reads(4_u64))
1133 .saturating_add(T::DbWeight::get().writes(3_u64))
1134 .saturating_add(Weight::from_parts(0, 31).saturating_mul(d.into()))
1135 .saturating_add(Weight::from_parts(0, 31).saturating_mul(t.into()))
1136 }
1137 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1138 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1139 /// Storage: `System::Account` (r:2 w:2)
1140 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1141 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1142 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1143 /// Storage: `Balances::Holds` (r:1 w:1)
1144 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
1145 /// Storage: `Revive::PristineCode` (r:0 w:1)
1146 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, 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 `[10240, 49152]`.
1150 fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight {
1151 // Proof Size summary in bytes:
1152 // Measured: `869`
1153 // Estimated: `6829`
1154 // Minimum execution time: 375_311_000 picoseconds.
1155 Weight::from_parts(238_984_394, 6829)
1156 // Standard Error: 687_857
1157 .saturating_add(Weight::from_parts(21_371_046, 0).saturating_mul(t.into()))
1158 // Standard Error: 687_857
1159 .saturating_add(Weight::from_parts(28_395_391, 0).saturating_mul(d.into()))
1160 // Standard Error: 27
1161 .saturating_add(Weight::from_parts(8_472, 0).saturating_mul(i.into()))
1162 .saturating_add(T::DbWeight::get().reads(5_u64))
1163 .saturating_add(T::DbWeight::get().writes(6_u64))
1164 }
1165 /// The range of component `n` is `[0, 1048576]`.
1166 fn sha2_256(n: u32, ) -> Weight {
1167 // Proof Size summary in bytes:
1168 // Measured: `0`
1169 // Estimated: `0`
1170 // Minimum execution time: 1_346_000 picoseconds.
1171 Weight::from_parts(9_536_684, 0)
1172 // Standard Error: 0
1173 .saturating_add(Weight::from_parts(1_239, 0).saturating_mul(n.into()))
1174 }
1175 /// The range of component `n` is `[0, 1048576]`.
1176 fn identity(n: u32, ) -> Weight {
1177 // Proof Size summary in bytes:
1178 // Measured: `0`
1179 // Estimated: `0`
1180 // Minimum execution time: 799_000 picoseconds.
1181 Weight::from_parts(759_415, 0)
1182 // Standard Error: 0
1183 .saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into()))
1184 }
1185 /// The range of component `n` is `[0, 1048576]`.
1186 fn ripemd_160(n: u32, ) -> Weight {
1187 // Proof Size summary in bytes:
1188 // Measured: `0`
1189 // Estimated: `0`
1190 // Minimum execution time: 1_377_000 picoseconds.
1191 Weight::from_parts(6_797_388, 0)
1192 // Standard Error: 0
1193 .saturating_add(Weight::from_parts(3_733, 0).saturating_mul(n.into()))
1194 }
1195 /// The range of component `n` is `[0, 1048576]`.
1196 fn seal_hash_keccak_256(n: u32, ) -> Weight {
1197 // Proof Size summary in bytes:
1198 // Measured: `0`
1199 // Estimated: `0`
1200 // Minimum execution time: 1_129_000 picoseconds.
1201 Weight::from_parts(14_992_965, 0)
1202 // Standard Error: 1
1203 .saturating_add(Weight::from_parts(3_543, 0).saturating_mul(n.into()))
1204 }
1205 /// The range of component `n` is `[0, 1048576]`.
1206 fn hash_blake2_256(n: u32, ) -> Weight {
1207 // Proof Size summary in bytes:
1208 // Measured: `0`
1209 // Estimated: `0`
1210 // Minimum execution time: 1_873_000 picoseconds.
1211 Weight::from_parts(13_180_808, 0)
1212 // Standard Error: 0
1213 .saturating_add(Weight::from_parts(1_398, 0).saturating_mul(n.into()))
1214 }
1215 /// The range of component `n` is `[0, 1048576]`.
1216 fn hash_blake2_128(n: u32, ) -> Weight {
1217 // Proof Size summary in bytes:
1218 // Measured: `0`
1219 // Estimated: `0`
1220 // Minimum execution time: 1_854_000 picoseconds.
1221 Weight::from_parts(12_306_060, 0)
1222 // Standard Error: 1
1223 .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(n.into()))
1224 }
1225 /// The range of component `n` is `[0, 1048321]`.
1226 fn seal_sr25519_verify(n: u32, ) -> Weight {
1227 // Proof Size summary in bytes:
1228 // Measured: `0`
1229 // Estimated: `0`
1230 // Minimum execution time: 47_104_000 picoseconds.
1231 Weight::from_parts(80_861_678, 0)
1232 // Standard Error: 4
1233 .saturating_add(Weight::from_parts(4_830, 0).saturating_mul(n.into()))
1234 }
1235 fn ecdsa_recover() -> Weight {
1236 // Proof Size summary in bytes:
1237 // Measured: `0`
1238 // Estimated: `0`
1239 // Minimum execution time: 46_698_000 picoseconds.
1240 Weight::from_parts(47_673_000, 0)
1241 }
1242 fn p256_verify() -> Weight {
1243 // Proof Size summary in bytes:
1244 // Measured: `0`
1245 // Estimated: `0`
1246 // Minimum execution time: 1_791_033_000 picoseconds.
1247 Weight::from_parts(1_801_147_000, 0)
1248 }
1249 fn bn128_add() -> Weight {
1250 // Proof Size summary in bytes:
1251 // Measured: `0`
1252 // Estimated: `0`
1253 // Minimum execution time: 14_836_000 picoseconds.
1254 Weight::from_parts(16_004_000, 0)
1255 }
1256 fn bn128_mul() -> Weight {
1257 // Proof Size summary in bytes:
1258 // Measured: `0`
1259 // Estimated: `0`
1260 // Minimum execution time: 979_455_000 picoseconds.
1261 Weight::from_parts(988_686_000, 0)
1262 }
1263 /// The range of component `n` is `[0, 20]`.
1264 fn bn128_pairing(n: u32, ) -> Weight {
1265 // Proof Size summary in bytes:
1266 // Measured: `0`
1267 // Estimated: `0`
1268 // Minimum execution time: 938_000 picoseconds.
1269 Weight::from_parts(4_848_308_436, 0)
1270 // Standard Error: 10_255_035
1271 .saturating_add(Weight::from_parts(5_920_112_189, 0).saturating_mul(n.into()))
1272 }
1273 /// The range of component `n` is `[0, 1200]`.
1274 fn blake2f(n: u32, ) -> Weight {
1275 // Proof Size summary in bytes:
1276 // Measured: `0`
1277 // Estimated: `0`
1278 // Minimum execution time: 1_070_000 picoseconds.
1279 Weight::from_parts(1_284_385, 0)
1280 // Standard Error: 54
1281 .saturating_add(Weight::from_parts(28_398, 0).saturating_mul(n.into()))
1282 }
1283 fn seal_ecdsa_to_eth_address() -> Weight {
1284 // Proof Size summary in bytes:
1285 // Measured: `0`
1286 // Estimated: `0`
1287 // Minimum execution time: 13_180_000 picoseconds.
1288 Weight::from_parts(13_387_000, 0)
1289 }
1290 /// The range of component `r` is `[0, 10000]`.
1291 fn evm_opcode(r: u32, ) -> Weight {
1292 // Proof Size summary in bytes:
1293 // Measured: `0`
1294 // Estimated: `0`
1295 // Minimum execution time: 550_000 picoseconds.
1296 Weight::from_parts(1_050_932, 0)
1297 // Standard Error: 21
1298 .saturating_add(Weight::from_parts(15_280, 0).saturating_mul(r.into()))
1299 }
1300 /// The range of component `r` is `[0, 10000]`.
1301 fn instr(r: u32, ) -> Weight {
1302 // Proof Size summary in bytes:
1303 // Measured: `0`
1304 // Estimated: `0`
1305 // Minimum execution time: 12_061_000 picoseconds.
1306 Weight::from_parts(62_740_927, 0)
1307 // Standard Error: 361
1308 .saturating_add(Weight::from_parts(123_285, 0).saturating_mul(r.into()))
1309 }
1310 /// The range of component `r` is `[0, 10000]`.
1311 fn instr_empty_loop(r: u32, ) -> Weight {
1312 // Proof Size summary in bytes:
1313 // Measured: `0`
1314 // Estimated: `0`
1315 // Minimum execution time: 3_326_000 picoseconds.
1316 Weight::from_parts(3_151_099, 0)
1317 // Standard Error: 50
1318 .saturating_add(Weight::from_parts(74_055, 0).saturating_mul(r.into()))
1319 }
1320 /// Storage: `Revive::PristineCode` (r:1 w:0)
1321 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1322 /// The range of component `n` is `[1000, 10000]`.
1323 fn extcodecopy(n: u32, ) -> Weight {
1324 // Proof Size summary in bytes:
1325 // Measured: `527 + n * (1 ±0)`
1326 // Estimated: `3992 + n * (1 ±0)`
1327 // Minimum execution time: 14_656_000 picoseconds.
1328 Weight::from_parts(14_686_037, 3992)
1329 // Standard Error: 4
1330 .saturating_add(Weight::from_parts(724, 0).saturating_mul(n.into()))
1331 .saturating_add(T::DbWeight::get().reads(1_u64))
1332 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1333 }
1334 /// Storage: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
1335 /// Proof: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
1336 /// Storage: `Revive::AccountInfoOf` (r:0 w:1)
1337 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`)
1338 fn v1_migration_step() -> Weight {
1339 // Proof Size summary in bytes:
1340 // Measured: `382`
1341 // Estimated: `6322`
1342 // Minimum execution time: 12_331_000 picoseconds.
1343 Weight::from_parts(12_868_000, 6322)
1344 .saturating_add(T::DbWeight::get().reads(2_u64))
1345 .saturating_add(T::DbWeight::get().writes(2_u64))
1346 }
1347 /// Storage: `System::Account` (r:1 w:1)
1348 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1349 /// Storage: `Revive::CodeInfoOf` (r:2 w:1)
1350 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`)
1351 /// Storage: `Balances::Holds` (r:2 w:2)
1352 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `MaxEncodedLen`)
1353 fn v2_migration_step() -> Weight {
1354 // Proof Size summary in bytes:
1355 // Measured: `505`
1356 // Estimated: `6866`
1357 // Minimum execution time: 63_102_000 picoseconds.
1358 Weight::from_parts(65_300_000, 6866)
1359 .saturating_add(T::DbWeight::get().reads(5_u64))
1360 .saturating_add(T::DbWeight::get().writes(4_u64))
1361 }
1362 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1363 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1364 /// Storage: `Revive::BlockHash` (r:1 w:1)
1365 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
1366 /// Storage: `Timestamp::Now` (r:1 w:0)
1367 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1368 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
1369 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1370 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
1371 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1372 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
1373 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1374 /// The range of component `n` is `[0, 200]`.
1375 fn on_finalize_per_transaction(n: u32, ) -> Weight {
1376 // Proof Size summary in bytes:
1377 // Measured: `3012 + n * (97 ±0)`
1378 // Estimated: `6303 + n * (104 ±0)`
1379 // Minimum execution time: 26_639_000 picoseconds.
1380 Weight::from_parts(56_482_010, 6303)
1381 // Standard Error: 4_704
1382 .saturating_add(Weight::from_parts(522_203, 0).saturating_mul(n.into()))
1383 .saturating_add(T::DbWeight::get().reads(4_u64))
1384 .saturating_add(T::DbWeight::get().writes(5_u64))
1385 .saturating_add(Weight::from_parts(0, 104).saturating_mul(n.into()))
1386 }
1387 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1388 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1389 /// Storage: `Revive::BlockHash` (r:1 w:1)
1390 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
1391 /// Storage: `Timestamp::Now` (r:1 w:0)
1392 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1393 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
1394 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1395 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
1396 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1397 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
1398 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1399 /// The range of component `d` is `[0, 1000]`.
1400 fn on_finalize_per_transaction_data(d: u32, ) -> Weight {
1401 // Proof Size summary in bytes:
1402 // Measured: `3577 + d * (3 ±0)`
1403 // Estimated: `7036 + d * (3 ±0)`
1404 // Minimum execution time: 59_432_000 picoseconds.
1405 Weight::from_parts(61_955_716, 7036)
1406 // Standard Error: 157
1407 .saturating_add(Weight::from_parts(12_327, 0).saturating_mul(d.into()))
1408 .saturating_add(T::DbWeight::get().reads(4_u64))
1409 .saturating_add(T::DbWeight::get().writes(5_u64))
1410 .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into()))
1411 }
1412 /// Storage: `System::Account` (r:1 w:0)
1413 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1414 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1415 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1416 /// Storage: `Revive::BlockHash` (r:1 w:1)
1417 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
1418 /// Storage: `Timestamp::Now` (r:1 w:0)
1419 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1420 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
1421 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1422 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
1423 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1424 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
1425 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1426 /// The range of component `e` is `[0, 100]`.
1427 fn on_finalize_per_event(e: u32, ) -> Weight {
1428 // Proof Size summary in bytes:
1429 // Measured: `1546`
1430 // Estimated: `5011`
1431 // Minimum execution time: 44_652_000 picoseconds.
1432 Weight::from_parts(46_489_107, 5011)
1433 // Standard Error: 1_089
1434 .saturating_add(Weight::from_parts(4_596, 0).saturating_mul(e.into()))
1435 .saturating_add(T::DbWeight::get().reads(5_u64))
1436 .saturating_add(T::DbWeight::get().writes(5_u64))
1437 }
1438 /// Storage: `System::Account` (r:1 w:0)
1439 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1440 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1441 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1442 /// Storage: `Revive::BlockHash` (r:1 w:1)
1443 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
1444 /// Storage: `Timestamp::Now` (r:1 w:0)
1445 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1446 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
1447 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1448 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
1449 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1450 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
1451 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1452 /// The range of component `d` is `[0, 16384]`.
1453 fn on_finalize_per_event_data(d: u32, ) -> Weight {
1454 // Proof Size summary in bytes:
1455 // Measured: `1546`
1456 // Estimated: `5011`
1457 // Minimum execution time: 44_400_000 picoseconds.
1458 Weight::from_parts(46_629_995, 5011)
1459 // Standard Error: 6
1460 .saturating_add(Weight::from_parts(21, 0).saturating_mul(d.into()))
1461 .saturating_add(T::DbWeight::get().reads(5_u64))
1462 .saturating_add(T::DbWeight::get().writes(5_u64))
1463 }
1464}
1465
1466// For backwards compatibility and tests.
1467impl WeightInfo for () {
1468 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:0)
1469 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1470 fn on_process_deletion_queue_batch() -> Weight {
1471 // Proof Size summary in bytes:
1472 // Measured: `213`
1473 // Estimated: `1698`
1474 // Minimum execution time: 3_325_000 picoseconds.
1475 Weight::from_parts(3_509_000, 1698)
1476 .saturating_add(RocksDbWeight::get().reads(1_u64))
1477 }
1478 /// Storage: `Skipped::Metadata` (r:0 w:0)
1479 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
1480 /// The range of component `k` is `[0, 1024]`.
1481 fn on_initialize_per_trie_key(k: u32, ) -> Weight {
1482 // Proof Size summary in bytes:
1483 // Measured: `491 + k * (69 ±0)`
1484 // Estimated: `481 + k * (70 ±0)`
1485 // Minimum execution time: 14_389_000 picoseconds.
1486 Weight::from_parts(15_127_000, 481)
1487 // Standard Error: 1_039
1488 .saturating_add(Weight::from_parts(1_209_966, 0).saturating_mul(k.into()))
1489 .saturating_add(RocksDbWeight::get().reads(2_u64))
1490 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into())))
1491 .saturating_add(RocksDbWeight::get().writes(2_u64))
1492 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
1493 .saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
1494 }
1495 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1496 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1497 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1498 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1499 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1500 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1501 /// Storage: `Revive::PristineCode` (r:1 w:0)
1502 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1503 /// Storage: `Timestamp::Now` (r:1 w:0)
1504 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1505 /// Storage: `System::Account` (r:1 w:1)
1506 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1507 /// The range of component `c` is `[0, 102400]`.
1508 fn call_with_pvm_code_per_byte(c: u32, ) -> Weight {
1509 // Proof Size summary in bytes:
1510 // Measured: `1265 + c * (1 ±0)`
1511 // Estimated: `7200 + c * (1 ±0)`
1512 // Minimum execution time: 100_357_000 picoseconds.
1513 Weight::from_parts(143_652_444, 7200)
1514 // Standard Error: 12
1515 .saturating_add(Weight::from_parts(1_441, 0).saturating_mul(c.into()))
1516 .saturating_add(RocksDbWeight::get().reads(8_u64))
1517 .saturating_add(RocksDbWeight::get().writes(2_u64))
1518 .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
1519 }
1520 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1521 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1522 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1523 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1524 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1525 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1526 /// Storage: `Revive::PristineCode` (r:1 w:0)
1527 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1528 /// Storage: `Timestamp::Now` (r:1 w:0)
1529 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1530 /// Storage: `System::Account` (r:1 w:1)
1531 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1532 /// The range of component `c` is `[1, 10240]`.
1533 fn call_with_evm_code_per_byte(c: u32, ) -> Weight {
1534 // Proof Size summary in bytes:
1535 // Measured: `1205`
1536 // Estimated: `7144`
1537 // Minimum execution time: 92_748_000 picoseconds.
1538 Weight::from_parts(97_747_165, 7144)
1539 // Standard Error: 24
1540 .saturating_add(Weight::from_parts(46, 0).saturating_mul(c.into()))
1541 .saturating_add(RocksDbWeight::get().reads(8_u64))
1542 .saturating_add(RocksDbWeight::get().writes(2_u64))
1543 }
1544 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1545 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1546 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1547 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1548 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1549 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1550 /// Storage: `Revive::PristineCode` (r:1 w:0)
1551 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1552 /// Storage: `Timestamp::Now` (r:1 w:0)
1553 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1554 /// Storage: `System::Account` (r:1 w:1)
1555 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1556 /// The range of component `b` is `[0, 1]`.
1557 fn basic_block_compilation(b: u32, ) -> Weight {
1558 // Proof Size summary in bytes:
1559 // Measured: `4609`
1560 // Estimated: `10549`
1561 // Minimum execution time: 144_014_000 picoseconds.
1562 Weight::from_parts(149_812_683, 10549)
1563 // Standard Error: 724_905
1564 .saturating_add(Weight::from_parts(1_749_116, 0).saturating_mul(b.into()))
1565 .saturating_add(RocksDbWeight::get().reads(8_u64))
1566 .saturating_add(RocksDbWeight::get().writes(2_u64))
1567 }
1568 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1569 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1570 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1571 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1572 /// Storage: `Balances::Holds` (r:2 w:2)
1573 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
1574 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1575 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1576 /// Storage: `Timestamp::Now` (r:1 w:0)
1577 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1578 /// Storage: `System::Account` (r:1 w:1)
1579 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1580 /// Storage: `Revive::PristineCode` (r:0 w:1)
1581 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1582 /// The range of component `c` is `[0, 102400]`.
1583 /// The range of component `i` is `[0, 131072]`.
1584 fn instantiate_with_code(c: u32, i: u32, ) -> Weight {
1585 // Proof Size summary in bytes:
1586 // Measured: `994`
1587 // Estimated: `6924`
1588 // Minimum execution time: 773_080_000 picoseconds.
1589 Weight::from_parts(70_290_148, 6924)
1590 // Standard Error: 37
1591 .saturating_add(Weight::from_parts(20_365, 0).saturating_mul(c.into()))
1592 // Standard Error: 29
1593 .saturating_add(Weight::from_parts(5_006, 0).saturating_mul(i.into()))
1594 .saturating_add(RocksDbWeight::get().reads(8_u64))
1595 .saturating_add(RocksDbWeight::get().writes(6_u64))
1596 }
1597 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
1598 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1599 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1600 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1601 /// Storage: `System::Account` (r:2 w:2)
1602 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1603 /// Storage: `Balances::Holds` (r:2 w:2)
1604 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
1605 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1606 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1607 /// Storage: `Timestamp::Now` (r:1 w:0)
1608 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1609 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1610 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1611 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
1612 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1613 /// Storage: `Revive::PristineCode` (r:0 w:1)
1614 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1615 /// The range of component `c` is `[0, 102400]`.
1616 /// The range of component `i` is `[0, 131072]`.
1617 /// The range of component `d` is `[0, 1]`.
1618 fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight {
1619 // Proof Size summary in bytes:
1620 // Measured: `994`
1621 // Estimated: `6934`
1622 // Minimum execution time: 405_718_000 picoseconds.
1623 Weight::from_parts(270_737_149, 6934)
1624 // Standard Error: 44
1625 .saturating_add(Weight::from_parts(15_826, 0).saturating_mul(c.into()))
1626 // Standard Error: 34
1627 .saturating_add(Weight::from_parts(660, 0).saturating_mul(i.into()))
1628 // Standard Error: 2_902_398
1629 .saturating_add(Weight::from_parts(8_450_702, 0).saturating_mul(d.into()))
1630 .saturating_add(RocksDbWeight::get().reads(10_u64))
1631 .saturating_add(RocksDbWeight::get().writes(10_u64))
1632 }
1633 fn deposit_eth_extrinsic_revert_event() -> Weight {
1634 // Proof Size summary in bytes:
1635 // Measured: `0`
1636 // Estimated: `0`
1637 // Minimum execution time: 3_011_000 picoseconds.
1638 Weight::from_parts(3_274_000, 0)
1639 }
1640 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1641 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1642 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1643 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1644 /// Storage: `Revive::PristineCode` (r:1 w:0)
1645 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1646 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1647 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1648 /// Storage: `Timestamp::Now` (r:1 w:0)
1649 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1650 /// Storage: `System::Account` (r:1 w:1)
1651 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1652 /// Storage: `Balances::Holds` (r:1 w:1)
1653 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
1654 /// The range of component `i` is `[0, 131072]`.
1655 fn instantiate(i: u32, ) -> Weight {
1656 // Proof Size summary in bytes:
1657 // Measured: `1735`
1658 // Estimated: `7665`
1659 // Minimum execution time: 187_515_000 picoseconds.
1660 Weight::from_parts(194_934_584, 7665)
1661 // Standard Error: 11
1662 .saturating_add(Weight::from_parts(4_151, 0).saturating_mul(i.into()))
1663 .saturating_add(RocksDbWeight::get().reads(8_u64))
1664 .saturating_add(RocksDbWeight::get().writes(4_u64))
1665 }
1666 /// Storage: `Revive::AccountInfoOf` (r:2 w:1)
1667 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1668 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1669 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1670 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1671 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1672 /// Storage: `Revive::PristineCode` (r:1 w:0)
1673 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1674 /// Storage: `Timestamp::Now` (r:1 w:0)
1675 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1676 /// Storage: `System::Account` (r:1 w:1)
1677 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1678 fn call() -> Weight {
1679 // Proof Size summary in bytes:
1680 // Measured: `1947`
1681 // Estimated: `7887`
1682 // Minimum execution time: 104_210_000 picoseconds.
1683 Weight::from_parts(110_220_000, 7887)
1684 .saturating_add(RocksDbWeight::get().reads(8_u64))
1685 .saturating_add(RocksDbWeight::get().writes(2_u64))
1686 }
1687 /// Storage: `Revive::AccountInfoOf` (r:2 w:2)
1688 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1689 /// Storage: `Revive::OriginalAccount` (r:2 w:0)
1690 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1691 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1692 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1693 /// Storage: `Revive::PristineCode` (r:1 w:0)
1694 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1695 /// Storage: `Timestamp::Now` (r:1 w:0)
1696 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
1697 /// Storage: `System::Account` (r:1 w:1)
1698 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1699 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1700 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1701 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
1702 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1703 /// The range of component `d` is `[0, 1]`.
1704 fn eth_call(d: u32, ) -> Weight {
1705 // Proof Size summary in bytes:
1706 // Measured: `1947`
1707 // Estimated: `7887`
1708 // Minimum execution time: 179_230_000 picoseconds.
1709 Weight::from_parts(189_040_259, 7887)
1710 // Standard Error: 869_758
1711 .saturating_add(Weight::from_parts(4_172_840, 0).saturating_mul(d.into()))
1712 .saturating_add(RocksDbWeight::get().reads(9_u64))
1713 .saturating_add(RocksDbWeight::get().writes(5_u64))
1714 }
1715 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
1716 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
1717 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
1718 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`)
1719 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
1720 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1721 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1)
1722 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1723 /// The range of component `c` is `[0, 102400]`.
1724 fn eth_substrate_call(c: u32, ) -> Weight {
1725 // Proof Size summary in bytes:
1726 // Measured: `358`
1727 // Estimated: `3823`
1728 // Minimum execution time: 28_233_000 picoseconds.
1729 Weight::from_parts(22_905_261, 3823)
1730 // Standard Error: 12
1731 .saturating_add(Weight::from_parts(6_274, 0).saturating_mul(c.into()))
1732 .saturating_add(RocksDbWeight::get().reads(3_u64))
1733 .saturating_add(RocksDbWeight::get().writes(2_u64))
1734 }
1735 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1736 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1737 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1738 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1739 /// Storage: `Balances::Holds` (r:1 w:1)
1740 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
1741 /// Storage: `Revive::PristineCode` (r:0 w:1)
1742 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1743 /// The range of component `c` is `[0, 102400]`.
1744 fn upload_code(c: u32, ) -> Weight {
1745 // Proof Size summary in bytes:
1746 // Measured: `392`
1747 // Estimated: `3857`
1748 // Minimum execution time: 59_732_000 picoseconds.
1749 Weight::from_parts(53_002_061, 3857)
1750 // Standard Error: 17
1751 .saturating_add(Weight::from_parts(14_107, 0).saturating_mul(c.into()))
1752 .saturating_add(RocksDbWeight::get().reads(3_u64))
1753 .saturating_add(RocksDbWeight::get().writes(3_u64))
1754 }
1755 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
1756 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1757 /// Storage: `Balances::Holds` (r:1 w:1)
1758 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
1759 /// Storage: `Revive::PristineCode` (r:0 w:1)
1760 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1761 fn remove_code() -> Weight {
1762 // Proof Size summary in bytes:
1763 // Measured: `524`
1764 // Estimated: `3989`
1765 // Minimum execution time: 53_247_000 picoseconds.
1766 Weight::from_parts(54_239_000, 3989)
1767 .saturating_add(RocksDbWeight::get().reads(2_u64))
1768 .saturating_add(RocksDbWeight::get().writes(3_u64))
1769 }
1770 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
1771 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1772 /// Storage: `Revive::CodeInfoOf` (r:2 w:2)
1773 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1774 /// Storage: `Balances::Holds` (r:1 w:1)
1775 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
1776 /// Storage: `System::Account` (r:1 w:1)
1777 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1778 /// Storage: `Revive::PristineCode` (r:0 w:1)
1779 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
1780 fn set_code() -> Weight {
1781 // Proof Size summary in bytes:
1782 // Measured: `833`
1783 // Estimated: `6773`
1784 // Minimum execution time: 67_638_000 picoseconds.
1785 Weight::from_parts(69_822_000, 6773)
1786 .saturating_add(RocksDbWeight::get().reads(5_u64))
1787 .saturating_add(RocksDbWeight::get().writes(6_u64))
1788 }
1789 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1790 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1791 /// Storage: `Revive::OriginalAccount` (r:1 w:1)
1792 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1793 /// Storage: `Balances::Holds` (r:1 w:1)
1794 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
1795 fn map_account() -> Weight {
1796 // Proof Size summary in bytes:
1797 // Measured: `623`
1798 // Estimated: `4088`
1799 // Minimum execution time: 60_308_000 picoseconds.
1800 Weight::from_parts(61_865_000, 4088)
1801 .saturating_add(RocksDbWeight::get().reads(3_u64))
1802 .saturating_add(RocksDbWeight::get().writes(2_u64))
1803 }
1804 /// Storage: `Balances::Holds` (r:1 w:1)
1805 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
1806 /// Storage: `Revive::OriginalAccount` (r:0 w:1)
1807 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1808 fn unmap_account() -> Weight {
1809 // Proof Size summary in bytes:
1810 // Measured: `93`
1811 // Estimated: `3558`
1812 // Minimum execution time: 40_748_000 picoseconds.
1813 Weight::from_parts(41_916_000, 3558)
1814 .saturating_add(RocksDbWeight::get().reads(1_u64))
1815 .saturating_add(RocksDbWeight::get().writes(2_u64))
1816 }
1817 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1818 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1819 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
1820 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
1821 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
1822 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`)
1823 fn dispatch_as_fallback_account() -> Weight {
1824 // Proof Size summary in bytes:
1825 // Measured: `381`
1826 // Estimated: `3846`
1827 // Minimum execution time: 19_441_000 picoseconds.
1828 Weight::from_parts(19_775_000, 3846)
1829 .saturating_add(RocksDbWeight::get().reads(3_u64))
1830 }
1831 /// The range of component `r` is `[0, 1600]`.
1832 fn noop_host_fn(r: u32, ) -> Weight {
1833 // Proof Size summary in bytes:
1834 // Measured: `0`
1835 // Estimated: `0`
1836 // Minimum execution time: 8_031_000 picoseconds.
1837 Weight::from_parts(9_266_076, 0)
1838 // Standard Error: 205
1839 .saturating_add(Weight::from_parts(186_444, 0).saturating_mul(r.into()))
1840 }
1841 fn seal_caller() -> Weight {
1842 // Proof Size summary in bytes:
1843 // Measured: `0`
1844 // Estimated: `0`
1845 // Minimum execution time: 377_000 picoseconds.
1846 Weight::from_parts(403_000, 0)
1847 }
1848 fn seal_origin() -> Weight {
1849 // Proof Size summary in bytes:
1850 // Measured: `0`
1851 // Estimated: `0`
1852 // Minimum execution time: 351_000 picoseconds.
1853 Weight::from_parts(395_000, 0)
1854 }
1855 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1856 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1857 fn to_account_id() -> Weight {
1858 // Proof Size summary in bytes:
1859 // Measured: `623`
1860 // Estimated: `4088`
1861 // Minimum execution time: 11_287_000 picoseconds.
1862 Weight::from_parts(12_022_000, 4088)
1863 .saturating_add(RocksDbWeight::get().reads(1_u64))
1864 }
1865 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1866 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1867 fn seal_code_hash() -> Weight {
1868 // Proof Size summary in bytes:
1869 // Measured: `473`
1870 // Estimated: `3938`
1871 // Minimum execution time: 9_933_000 picoseconds.
1872 Weight::from_parts(10_470_000, 3938)
1873 .saturating_add(RocksDbWeight::get().reads(1_u64))
1874 }
1875 fn own_code_hash() -> Weight {
1876 // Proof Size summary in bytes:
1877 // Measured: `436`
1878 // Estimated: `0`
1879 // Minimum execution time: 9_614_000 picoseconds.
1880 Weight::from_parts(10_109_000, 0)
1881 }
1882 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1883 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1884 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
1885 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
1886 fn seal_code_size() -> Weight {
1887 // Proof Size summary in bytes:
1888 // Measured: `545`
1889 // Estimated: `4010`
1890 // Minimum execution time: 13_599_000 picoseconds.
1891 Weight::from_parts(14_148_000, 4010)
1892 .saturating_add(RocksDbWeight::get().reads(2_u64))
1893 }
1894 fn caller_is_origin() -> Weight {
1895 // Proof Size summary in bytes:
1896 // Measured: `0`
1897 // Estimated: `0`
1898 // Minimum execution time: 1_161_000 picoseconds.
1899 Weight::from_parts(1_257_000, 0)
1900 }
1901 fn caller_is_root() -> Weight {
1902 // Proof Size summary in bytes:
1903 // Measured: `0`
1904 // Estimated: `0`
1905 // Minimum execution time: 1_061_000 picoseconds.
1906 Weight::from_parts(1_188_000, 0)
1907 }
1908 fn seal_address() -> Weight {
1909 // Proof Size summary in bytes:
1910 // Measured: `0`
1911 // Estimated: `0`
1912 // Minimum execution time: 303_000 picoseconds.
1913 Weight::from_parts(349_000, 0)
1914 }
1915 fn weight_left() -> Weight {
1916 // Proof Size summary in bytes:
1917 // Measured: `0`
1918 // Estimated: `0`
1919 // Minimum execution time: 1_143_000 picoseconds.
1920 Weight::from_parts(1_283_000, 0)
1921 }
1922 fn seal_ref_time_left() -> Weight {
1923 // Proof Size summary in bytes:
1924 // Measured: `0`
1925 // Estimated: `0`
1926 // Minimum execution time: 1_827_000 picoseconds.
1927 Weight::from_parts(1_929_000, 0)
1928 }
1929 fn seal_balance() -> Weight {
1930 // Proof Size summary in bytes:
1931 // Measured: `610`
1932 // Estimated: `0`
1933 // Minimum execution time: 13_541_000 picoseconds.
1934 Weight::from_parts(14_240_000, 0)
1935 }
1936 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
1937 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
1938 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
1939 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
1940 /// Storage: `System::Account` (r:1 w:0)
1941 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
1942 fn seal_balance_of() -> Weight {
1943 // Proof Size summary in bytes:
1944 // Measured: `884`
1945 // Estimated: `4349`
1946 // Minimum execution time: 20_559_000 picoseconds.
1947 Weight::from_parts(21_367_000, 4349)
1948 .saturating_add(RocksDbWeight::get().reads(3_u64))
1949 }
1950 /// Storage: `Revive::ImmutableDataOf` (r:1 w:0)
1951 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
1952 /// The range of component `n` is `[1, 4096]`.
1953 fn seal_get_immutable_data(n: u32, ) -> Weight {
1954 // Proof Size summary in bytes:
1955 // Measured: `304 + n * (1 ±0)`
1956 // Estimated: `3769 + n * (1 ±0)`
1957 // Minimum execution time: 5_923_000 picoseconds.
1958 Weight::from_parts(6_753_149, 3769)
1959 // Standard Error: 5
1960 .saturating_add(Weight::from_parts(523, 0).saturating_mul(n.into()))
1961 .saturating_add(RocksDbWeight::get().reads(1_u64))
1962 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
1963 }
1964 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
1965 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
1966 /// The range of component `n` is `[1, 4096]`.
1967 fn seal_set_immutable_data(n: u32, ) -> Weight {
1968 // Proof Size summary in bytes:
1969 // Measured: `0`
1970 // Estimated: `0`
1971 // Minimum execution time: 2_101_000 picoseconds.
1972 Weight::from_parts(2_465_888, 0)
1973 // Standard Error: 2
1974 .saturating_add(Weight::from_parts(472, 0).saturating_mul(n.into()))
1975 .saturating_add(RocksDbWeight::get().writes(1_u64))
1976 }
1977 fn seal_value_transferred() -> Weight {
1978 // Proof Size summary in bytes:
1979 // Measured: `0`
1980 // Estimated: `0`
1981 // Minimum execution time: 293_000 picoseconds.
1982 Weight::from_parts(319_000, 0)
1983 }
1984 fn minimum_balance() -> Weight {
1985 // Proof Size summary in bytes:
1986 // Measured: `0`
1987 // Estimated: `0`
1988 // Minimum execution time: 1_322_000 picoseconds.
1989 Weight::from_parts(1_476_000, 0)
1990 }
1991 fn seal_return_data_size() -> Weight {
1992 // Proof Size summary in bytes:
1993 // Measured: `0`
1994 // Estimated: `0`
1995 // Minimum execution time: 287_000 picoseconds.
1996 Weight::from_parts(319_000, 0)
1997 }
1998 fn seal_call_data_size() -> Weight {
1999 // Proof Size summary in bytes:
2000 // Measured: `0`
2001 // Estimated: `0`
2002 // Minimum execution time: 287_000 picoseconds.
2003 Weight::from_parts(330_000, 0)
2004 }
2005 fn seal_gas_limit() -> Weight {
2006 // Proof Size summary in bytes:
2007 // Measured: `0`
2008 // Estimated: `0`
2009 // Minimum execution time: 293_000 picoseconds.
2010 Weight::from_parts(339_000, 0)
2011 }
2012 fn seal_gas_price() -> Weight {
2013 // Proof Size summary in bytes:
2014 // Measured: `0`
2015 // Estimated: `0`
2016 // Minimum execution time: 986_000 picoseconds.
2017 Weight::from_parts(1_085_000, 0)
2018 }
2019 fn seal_base_fee() -> Weight {
2020 // Proof Size summary in bytes:
2021 // Measured: `0`
2022 // Estimated: `0`
2023 // Minimum execution time: 974_000 picoseconds.
2024 Weight::from_parts(1_057_000, 0)
2025 }
2026 fn seal_block_number() -> Weight {
2027 // Proof Size summary in bytes:
2028 // Measured: `0`
2029 // Estimated: `0`
2030 // Minimum execution time: 285_000 picoseconds.
2031 Weight::from_parts(330_000, 0)
2032 }
2033 /// Storage: `Session::Validators` (r:1 w:0)
2034 /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2035 fn seal_block_author() -> Weight {
2036 // Proof Size summary in bytes:
2037 // Measured: `141`
2038 // Estimated: `1626`
2039 // Minimum execution time: 21_803_000 picoseconds.
2040 Weight::from_parts(22_360_000, 1626)
2041 .saturating_add(RocksDbWeight::get().reads(1_u64))
2042 }
2043 /// Storage: `Revive::BlockHash` (r:1 w:0)
2044 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
2045 fn seal_block_hash() -> Weight {
2046 // Proof Size summary in bytes:
2047 // Measured: `318`
2048 // Estimated: `3783`
2049 // Minimum execution time: 5_906_000 picoseconds.
2050 Weight::from_parts(6_201_000, 3783)
2051 .saturating_add(RocksDbWeight::get().reads(1_u64))
2052 }
2053 fn seal_now() -> Weight {
2054 // Proof Size summary in bytes:
2055 // Measured: `0`
2056 // Estimated: `0`
2057 // Minimum execution time: 307_000 picoseconds.
2058 Weight::from_parts(347_000, 0)
2059 }
2060 /// The range of component `n` is `[0, 1048572]`.
2061 fn seal_copy_to_contract(n: u32, ) -> Weight {
2062 // Proof Size summary in bytes:
2063 // Measured: `0`
2064 // Estimated: `0`
2065 // Minimum execution time: 453_000 picoseconds.
2066 Weight::from_parts(489_000, 0)
2067 // Standard Error: 0
2068 .saturating_add(Weight::from_parts(203, 0).saturating_mul(n.into()))
2069 }
2070 fn seal_call_data_load() -> Weight {
2071 // Proof Size summary in bytes:
2072 // Measured: `0`
2073 // Estimated: `0`
2074 // Minimum execution time: 289_000 picoseconds.
2075 Weight::from_parts(343_000, 0)
2076 }
2077 /// The range of component `n` is `[0, 1048576]`.
2078 fn seal_call_data_copy(n: u32, ) -> Weight {
2079 // Proof Size summary in bytes:
2080 // Measured: `0`
2081 // Estimated: `0`
2082 // Minimum execution time: 280_000 picoseconds.
2083 Weight::from_parts(496_576, 0)
2084 // Standard Error: 0
2085 .saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into()))
2086 }
2087 /// The range of component `n` is `[0, 131072]`.
2088 fn seal_return(n: u32, ) -> Weight {
2089 // Proof Size summary in bytes:
2090 // Measured: `0`
2091 // Estimated: `0`
2092 // Minimum execution time: 305_000 picoseconds.
2093 Weight::from_parts(529_465, 0)
2094 // Standard Error: 0
2095 .saturating_add(Weight::from_parts(200, 0).saturating_mul(n.into()))
2096 }
2097 /// The range of component `r` is `[0, 1]`.
2098 fn seal_terminate(r: u32, ) -> Weight {
2099 // Proof Size summary in bytes:
2100 // Measured: `0`
2101 // Estimated: `0`
2102 // Minimum execution time: 927_000 picoseconds.
2103 Weight::from_parts(1_059_312, 0)
2104 // Standard Error: 6_858
2105 .saturating_add(Weight::from_parts(13_287, 0).saturating_mul(r.into()))
2106 }
2107 /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1)
2108 /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
2109 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
2110 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2111 /// Storage: `Balances::Holds` (r:1 w:1)
2112 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
2113 /// Storage: `System::Account` (r:2 w:2)
2114 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2115 /// Storage: `Revive::DeletionQueue` (r:0 w:1)
2116 /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
2117 /// Storage: `Revive::PristineCode` (r:0 w:1)
2118 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2119 /// Storage: `Revive::ImmutableDataOf` (r:0 w:1)
2120 /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`)
2121 fn seal_terminate_logic() -> Weight {
2122 // Proof Size summary in bytes:
2123 // Measured: `1050`
2124 // Estimated: `6990`
2125 // Minimum execution time: 118_234_000 picoseconds.
2126 Weight::from_parts(122_191_000, 6990)
2127 .saturating_add(RocksDbWeight::get().reads(5_u64))
2128 .saturating_add(RocksDbWeight::get().writes(8_u64))
2129 }
2130 /// The range of component `t` is `[0, 4]`.
2131 /// The range of component `n` is `[0, 65536]`.
2132 fn seal_deposit_event(_t: u32, n: u32, ) -> Weight {
2133 // Proof Size summary in bytes:
2134 // Measured: `0`
2135 // Estimated: `0`
2136 // Minimum execution time: 5_221_000 picoseconds.
2137 Weight::from_parts(5_319_000, 0)
2138 // Standard Error: 4
2139 .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(n.into()))
2140 }
2141 /// Storage: `Skipped::Metadata` (r:0 w:0)
2142 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2143 fn get_storage_empty() -> Weight {
2144 // Proof Size summary in bytes:
2145 // Measured: `648`
2146 // Estimated: `648`
2147 // Minimum execution time: 7_453_000 picoseconds.
2148 Weight::from_parts(7_862_000, 648)
2149 .saturating_add(RocksDbWeight::get().reads(1_u64))
2150 }
2151 /// Storage: `Skipped::Metadata` (r:0 w:0)
2152 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2153 fn get_storage_full() -> Weight {
2154 // Proof Size summary in bytes:
2155 // Measured: `10658`
2156 // Estimated: `10658`
2157 // Minimum execution time: 41_255_000 picoseconds.
2158 Weight::from_parts(42_397_000, 10658)
2159 .saturating_add(RocksDbWeight::get().reads(1_u64))
2160 }
2161 /// Storage: `Skipped::Metadata` (r:0 w:0)
2162 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2163 fn set_storage_empty() -> Weight {
2164 // Proof Size summary in bytes:
2165 // Measured: `648`
2166 // Estimated: `648`
2167 // Minimum execution time: 8_727_000 picoseconds.
2168 Weight::from_parts(9_104_000, 648)
2169 .saturating_add(RocksDbWeight::get().reads(1_u64))
2170 .saturating_add(RocksDbWeight::get().writes(1_u64))
2171 }
2172 /// Storage: `Skipped::Metadata` (r:0 w:0)
2173 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2174 fn set_storage_full() -> Weight {
2175 // Proof Size summary in bytes:
2176 // Measured: `10658`
2177 // Estimated: `10658`
2178 // Minimum execution time: 43_313_000 picoseconds.
2179 Weight::from_parts(44_570_000, 10658)
2180 .saturating_add(RocksDbWeight::get().reads(1_u64))
2181 .saturating_add(RocksDbWeight::get().writes(1_u64))
2182 }
2183 /// Storage: `Skipped::Metadata` (r:0 w:0)
2184 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2185 /// The range of component `n` is `[0, 416]`.
2186 /// The range of component `o` is `[0, 416]`.
2187 fn seal_set_storage(n: u32, o: u32, ) -> Weight {
2188 // Proof Size summary in bytes:
2189 // Measured: `248 + o * (1 ±0)`
2190 // Estimated: `247 + o * (1 ±0)`
2191 // Minimum execution time: 9_291_000 picoseconds.
2192 Weight::from_parts(10_116_310, 247)
2193 // Standard Error: 56
2194 .saturating_add(Weight::from_parts(562, 0).saturating_mul(n.into()))
2195 // Standard Error: 56
2196 .saturating_add(Weight::from_parts(766, 0).saturating_mul(o.into()))
2197 .saturating_add(RocksDbWeight::get().reads(1_u64))
2198 .saturating_add(RocksDbWeight::get().writes(1_u64))
2199 .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into()))
2200 }
2201 /// Storage: `Skipped::Metadata` (r:0 w:0)
2202 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2203 /// The range of component `n` is `[0, 416]`.
2204 fn clear_storage(_n: u32, ) -> Weight {
2205 // Proof Size summary in bytes:
2206 // Measured: `376`
2207 // Estimated: `376`
2208 // Minimum execution time: 11_317_000 picoseconds.
2209 Weight::from_parts(12_313_550, 376)
2210 .saturating_add(RocksDbWeight::get().reads(1_u64))
2211 .saturating_add(RocksDbWeight::get().writes(1_u64))
2212 }
2213 /// Storage: `Skipped::Metadata` (r:0 w:0)
2214 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2215 /// The range of component `n` is `[0, 416]`.
2216 fn seal_get_storage(n: u32, ) -> Weight {
2217 // Proof Size summary in bytes:
2218 // Measured: `248 + n * (1 ±0)`
2219 // Estimated: `247 + n * (1 ±0)`
2220 // Minimum execution time: 8_259_000 picoseconds.
2221 Weight::from_parts(9_579_511, 247)
2222 // Standard Error: 89
2223 .saturating_add(Weight::from_parts(1_569, 0).saturating_mul(n.into()))
2224 .saturating_add(RocksDbWeight::get().reads(1_u64))
2225 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2226 }
2227 /// Storage: `Skipped::Metadata` (r:0 w:0)
2228 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2229 /// The range of component `n` is `[0, 416]`.
2230 fn contains_storage(_n: u32, ) -> Weight {
2231 // Proof Size summary in bytes:
2232 // Measured: `0`
2233 // Estimated: `0`
2234 // Minimum execution time: 3_296_000 picoseconds.
2235 Weight::from_parts(3_670_971, 0)
2236 }
2237 /// Storage: `Skipped::Metadata` (r:0 w:0)
2238 /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
2239 /// The range of component `n` is `[0, 416]`.
2240 fn take_storage(n: u32, ) -> Weight {
2241 // Proof Size summary in bytes:
2242 // Measured: `376`
2243 // Estimated: `376`
2244 // Minimum execution time: 11_660_000 picoseconds.
2245 Weight::from_parts(12_798_428, 376)
2246 // Standard Error: 94
2247 .saturating_add(Weight::from_parts(571, 0).saturating_mul(n.into()))
2248 .saturating_add(RocksDbWeight::get().reads(1_u64))
2249 .saturating_add(RocksDbWeight::get().writes(1_u64))
2250 }
2251 fn set_transient_storage_empty() -> Weight {
2252 // Proof Size summary in bytes:
2253 // Measured: `0`
2254 // Estimated: `0`
2255 // Minimum execution time: 1_652_000 picoseconds.
2256 Weight::from_parts(1_749_000, 0)
2257 }
2258 fn set_transient_storage_full() -> Weight {
2259 // Proof Size summary in bytes:
2260 // Measured: `0`
2261 // Estimated: `0`
2262 // Minimum execution time: 1_986_000 picoseconds.
2263 Weight::from_parts(2_063_000, 0)
2264 }
2265 fn get_transient_storage_empty() -> Weight {
2266 // Proof Size summary in bytes:
2267 // Measured: `0`
2268 // Estimated: `0`
2269 // Minimum execution time: 1_596_000 picoseconds.
2270 Weight::from_parts(1_702_000, 0)
2271 }
2272 fn get_transient_storage_full() -> Weight {
2273 // Proof Size summary in bytes:
2274 // Measured: `0`
2275 // Estimated: `0`
2276 // Minimum execution time: 1_786_000 picoseconds.
2277 Weight::from_parts(1_893_000, 0)
2278 }
2279 fn rollback_transient_storage() -> Weight {
2280 // Proof Size summary in bytes:
2281 // Measured: `0`
2282 // Estimated: `0`
2283 // Minimum execution time: 1_252_000 picoseconds.
2284 Weight::from_parts(1_339_000, 0)
2285 }
2286 /// The range of component `n` is `[0, 416]`.
2287 /// The range of component `o` is `[0, 416]`.
2288 fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight {
2289 // Proof Size summary in bytes:
2290 // Measured: `0`
2291 // Estimated: `0`
2292 // Minimum execution time: 2_331_000 picoseconds.
2293 Weight::from_parts(2_642_531, 0)
2294 // Standard Error: 17
2295 .saturating_add(Weight::from_parts(234, 0).saturating_mul(n.into()))
2296 // Standard Error: 17
2297 .saturating_add(Weight::from_parts(356, 0).saturating_mul(o.into()))
2298 }
2299 /// The range of component `n` is `[0, 416]`.
2300 fn seal_clear_transient_storage(n: u32, ) -> Weight {
2301 // Proof Size summary in bytes:
2302 // Measured: `0`
2303 // Estimated: `0`
2304 // Minimum execution time: 3_897_000 picoseconds.
2305 Weight::from_parts(4_214_505, 0)
2306 // Standard Error: 34
2307 .saturating_add(Weight::from_parts(192, 0).saturating_mul(n.into()))
2308 }
2309 /// The range of component `n` is `[0, 416]`.
2310 fn seal_get_transient_storage(n: u32, ) -> Weight {
2311 // Proof Size summary in bytes:
2312 // Measured: `0`
2313 // Estimated: `0`
2314 // Minimum execution time: 2_008_000 picoseconds.
2315 Weight::from_parts(2_260_857, 0)
2316 // Standard Error: 19
2317 .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into()))
2318 }
2319 /// The range of component `n` is `[0, 416]`.
2320 fn seal_contains_transient_storage(_n: u32, ) -> Weight {
2321 // Proof Size summary in bytes:
2322 // Measured: `0`
2323 // Estimated: `0`
2324 // Minimum execution time: 3_387_000 picoseconds.
2325 Weight::from_parts(3_823_784, 0)
2326 }
2327 /// The range of component `n` is `[0, 416]`.
2328 fn seal_take_transient_storage(_n: u32, ) -> Weight {
2329 // Proof Size summary in bytes:
2330 // Measured: `0`
2331 // Estimated: `0`
2332 // Minimum execution time: 4_105_000 picoseconds.
2333 Weight::from_parts(4_590_927, 0)
2334 }
2335 /// Storage: `Revive::OriginalAccount` (r:1 w:0)
2336 /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`)
2337 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2338 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2339 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
2340 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2341 /// Storage: `Revive::PristineCode` (r:1 w:0)
2342 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2343 /// Storage: `System::Account` (r:1 w:1)
2344 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2345 /// The range of component `t` is `[0, 1]`.
2346 /// The range of component `d` is `[0, 1]`.
2347 /// The range of component `i` is `[0, 1048576]`.
2348 fn seal_call(t: u32, d: u32, i: u32, ) -> Weight {
2349 // Proof Size summary in bytes:
2350 // Measured: `2129`
2351 // Estimated: `5594`
2352 // Minimum execution time: 96_945_000 picoseconds.
2353 Weight::from_parts(82_723_058, 5594)
2354 // Standard Error: 197_185
2355 .saturating_add(Weight::from_parts(17_112_972, 0).saturating_mul(t.into()))
2356 // Standard Error: 197_185
2357 .saturating_add(Weight::from_parts(23_554_105, 0).saturating_mul(d.into()))
2358 // Standard Error: 0
2359 .saturating_add(Weight::from_parts(1, 0).saturating_mul(i.into()))
2360 .saturating_add(RocksDbWeight::get().reads(5_u64))
2361 .saturating_add(RocksDbWeight::get().writes(1_u64))
2362 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
2363 }
2364 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2365 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2366 /// Storage: `System::Account` (r:1 w:0)
2367 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2368 /// The range of component `d` is `[0, 1]`.
2369 /// The range of component `i` is `[0, 130972]`.
2370 fn seal_call_precompile(d: u32, i: u32, ) -> Weight {
2371 // Proof Size summary in bytes:
2372 // Measured: `436 + d * (212 ±0)`
2373 // Estimated: `2056 + d * (2056 ±0)`
2374 // Minimum execution time: 26_713_000 picoseconds.
2375 Weight::from_parts(15_979_369, 2056)
2376 // Standard Error: 53_691
2377 .saturating_add(Weight::from_parts(11_856_790, 0).saturating_mul(d.into()))
2378 // Standard Error: 0
2379 .saturating_add(Weight::from_parts(326, 0).saturating_mul(i.into()))
2380 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(d.into())))
2381 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into())))
2382 .saturating_add(Weight::from_parts(0, 2056).saturating_mul(d.into()))
2383 }
2384 /// Storage: `Revive::AccountInfoOf` (r:1 w:0)
2385 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2386 /// Storage: `Revive::CodeInfoOf` (r:1 w:0)
2387 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2388 /// Storage: `Revive::PristineCode` (r:1 w:0)
2389 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2390 fn seal_delegate_call() -> Weight {
2391 // Proof Size summary in bytes:
2392 // Measured: `1434`
2393 // Estimated: `4899`
2394 // Minimum execution time: 35_156_000 picoseconds.
2395 Weight::from_parts(36_008_000, 4899)
2396 .saturating_add(RocksDbWeight::get().reads(3_u64))
2397 }
2398 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
2399 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2400 /// Storage: `Revive::PristineCode` (r:1 w:0)
2401 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2402 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2403 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2404 /// Storage: `System::Account` (r:1 w:1)
2405 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2406 /// The range of component `t` is `[0, 1]`.
2407 /// The range of component `d` is `[0, 1]`.
2408 /// The range of component `i` is `[0, 131072]`.
2409 fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight {
2410 // Proof Size summary in bytes:
2411 // Measured: `1484`
2412 // Estimated: `4921 + d * (31 ±1) + t * (31 ±1)`
2413 // Minimum execution time: 158_623_000 picoseconds.
2414 Weight::from_parts(119_635_514, 4921)
2415 // Standard Error: 509_096
2416 .saturating_add(Weight::from_parts(17_183_470, 0).saturating_mul(t.into()))
2417 // Standard Error: 509_096
2418 .saturating_add(Weight::from_parts(27_676_190, 0).saturating_mul(d.into()))
2419 // Standard Error: 5
2420 .saturating_add(Weight::from_parts(3_929, 0).saturating_mul(i.into()))
2421 .saturating_add(RocksDbWeight::get().reads(4_u64))
2422 .saturating_add(RocksDbWeight::get().writes(3_u64))
2423 .saturating_add(Weight::from_parts(0, 31).saturating_mul(d.into()))
2424 .saturating_add(Weight::from_parts(0, 31).saturating_mul(t.into()))
2425 }
2426 /// Storage: `Revive::AccountInfoOf` (r:1 w:1)
2427 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`)
2428 /// Storage: `System::Account` (r:2 w:2)
2429 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2430 /// Storage: `Revive::CodeInfoOf` (r:1 w:1)
2431 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`)
2432 /// Storage: `Balances::Holds` (r:1 w:1)
2433 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`)
2434 /// Storage: `Revive::PristineCode` (r:0 w:1)
2435 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2436 /// The range of component `t` is `[0, 1]`.
2437 /// The range of component `d` is `[0, 1]`.
2438 /// The range of component `i` is `[10240, 49152]`.
2439 fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight {
2440 // Proof Size summary in bytes:
2441 // Measured: `869`
2442 // Estimated: `6829`
2443 // Minimum execution time: 375_311_000 picoseconds.
2444 Weight::from_parts(238_984_394, 6829)
2445 // Standard Error: 687_857
2446 .saturating_add(Weight::from_parts(21_371_046, 0).saturating_mul(t.into()))
2447 // Standard Error: 687_857
2448 .saturating_add(Weight::from_parts(28_395_391, 0).saturating_mul(d.into()))
2449 // Standard Error: 27
2450 .saturating_add(Weight::from_parts(8_472, 0).saturating_mul(i.into()))
2451 .saturating_add(RocksDbWeight::get().reads(5_u64))
2452 .saturating_add(RocksDbWeight::get().writes(6_u64))
2453 }
2454 /// The range of component `n` is `[0, 1048576]`.
2455 fn sha2_256(n: u32, ) -> Weight {
2456 // Proof Size summary in bytes:
2457 // Measured: `0`
2458 // Estimated: `0`
2459 // Minimum execution time: 1_346_000 picoseconds.
2460 Weight::from_parts(9_536_684, 0)
2461 // Standard Error: 0
2462 .saturating_add(Weight::from_parts(1_239, 0).saturating_mul(n.into()))
2463 }
2464 /// The range of component `n` is `[0, 1048576]`.
2465 fn identity(n: u32, ) -> Weight {
2466 // Proof Size summary in bytes:
2467 // Measured: `0`
2468 // Estimated: `0`
2469 // Minimum execution time: 799_000 picoseconds.
2470 Weight::from_parts(759_415, 0)
2471 // Standard Error: 0
2472 .saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into()))
2473 }
2474 /// The range of component `n` is `[0, 1048576]`.
2475 fn ripemd_160(n: u32, ) -> Weight {
2476 // Proof Size summary in bytes:
2477 // Measured: `0`
2478 // Estimated: `0`
2479 // Minimum execution time: 1_377_000 picoseconds.
2480 Weight::from_parts(6_797_388, 0)
2481 // Standard Error: 0
2482 .saturating_add(Weight::from_parts(3_733, 0).saturating_mul(n.into()))
2483 }
2484 /// The range of component `n` is `[0, 1048576]`.
2485 fn seal_hash_keccak_256(n: u32, ) -> Weight {
2486 // Proof Size summary in bytes:
2487 // Measured: `0`
2488 // Estimated: `0`
2489 // Minimum execution time: 1_129_000 picoseconds.
2490 Weight::from_parts(14_992_965, 0)
2491 // Standard Error: 1
2492 .saturating_add(Weight::from_parts(3_543, 0).saturating_mul(n.into()))
2493 }
2494 /// The range of component `n` is `[0, 1048576]`.
2495 fn hash_blake2_256(n: u32, ) -> Weight {
2496 // Proof Size summary in bytes:
2497 // Measured: `0`
2498 // Estimated: `0`
2499 // Minimum execution time: 1_873_000 picoseconds.
2500 Weight::from_parts(13_180_808, 0)
2501 // Standard Error: 0
2502 .saturating_add(Weight::from_parts(1_398, 0).saturating_mul(n.into()))
2503 }
2504 /// The range of component `n` is `[0, 1048576]`.
2505 fn hash_blake2_128(n: u32, ) -> Weight {
2506 // Proof Size summary in bytes:
2507 // Measured: `0`
2508 // Estimated: `0`
2509 // Minimum execution time: 1_854_000 picoseconds.
2510 Weight::from_parts(12_306_060, 0)
2511 // Standard Error: 1
2512 .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(n.into()))
2513 }
2514 /// The range of component `n` is `[0, 1048321]`.
2515 fn seal_sr25519_verify(n: u32, ) -> Weight {
2516 // Proof Size summary in bytes:
2517 // Measured: `0`
2518 // Estimated: `0`
2519 // Minimum execution time: 47_104_000 picoseconds.
2520 Weight::from_parts(80_861_678, 0)
2521 // Standard Error: 4
2522 .saturating_add(Weight::from_parts(4_830, 0).saturating_mul(n.into()))
2523 }
2524 fn ecdsa_recover() -> Weight {
2525 // Proof Size summary in bytes:
2526 // Measured: `0`
2527 // Estimated: `0`
2528 // Minimum execution time: 46_698_000 picoseconds.
2529 Weight::from_parts(47_673_000, 0)
2530 }
2531 fn p256_verify() -> Weight {
2532 // Proof Size summary in bytes:
2533 // Measured: `0`
2534 // Estimated: `0`
2535 // Minimum execution time: 1_791_033_000 picoseconds.
2536 Weight::from_parts(1_801_147_000, 0)
2537 }
2538 fn bn128_add() -> Weight {
2539 // Proof Size summary in bytes:
2540 // Measured: `0`
2541 // Estimated: `0`
2542 // Minimum execution time: 14_836_000 picoseconds.
2543 Weight::from_parts(16_004_000, 0)
2544 }
2545 fn bn128_mul() -> Weight {
2546 // Proof Size summary in bytes:
2547 // Measured: `0`
2548 // Estimated: `0`
2549 // Minimum execution time: 979_455_000 picoseconds.
2550 Weight::from_parts(988_686_000, 0)
2551 }
2552 /// The range of component `n` is `[0, 20]`.
2553 fn bn128_pairing(n: u32, ) -> Weight {
2554 // Proof Size summary in bytes:
2555 // Measured: `0`
2556 // Estimated: `0`
2557 // Minimum execution time: 938_000 picoseconds.
2558 Weight::from_parts(4_848_308_436, 0)
2559 // Standard Error: 10_255_035
2560 .saturating_add(Weight::from_parts(5_920_112_189, 0).saturating_mul(n.into()))
2561 }
2562 /// The range of component `n` is `[0, 1200]`.
2563 fn blake2f(n: u32, ) -> Weight {
2564 // Proof Size summary in bytes:
2565 // Measured: `0`
2566 // Estimated: `0`
2567 // Minimum execution time: 1_070_000 picoseconds.
2568 Weight::from_parts(1_284_385, 0)
2569 // Standard Error: 54
2570 .saturating_add(Weight::from_parts(28_398, 0).saturating_mul(n.into()))
2571 }
2572 fn seal_ecdsa_to_eth_address() -> Weight {
2573 // Proof Size summary in bytes:
2574 // Measured: `0`
2575 // Estimated: `0`
2576 // Minimum execution time: 13_180_000 picoseconds.
2577 Weight::from_parts(13_387_000, 0)
2578 }
2579 /// The range of component `r` is `[0, 10000]`.
2580 fn evm_opcode(r: u32, ) -> Weight {
2581 // Proof Size summary in bytes:
2582 // Measured: `0`
2583 // Estimated: `0`
2584 // Minimum execution time: 550_000 picoseconds.
2585 Weight::from_parts(1_050_932, 0)
2586 // Standard Error: 21
2587 .saturating_add(Weight::from_parts(15_280, 0).saturating_mul(r.into()))
2588 }
2589 /// The range of component `r` is `[0, 10000]`.
2590 fn instr(r: u32, ) -> Weight {
2591 // Proof Size summary in bytes:
2592 // Measured: `0`
2593 // Estimated: `0`
2594 // Minimum execution time: 12_061_000 picoseconds.
2595 Weight::from_parts(62_740_927, 0)
2596 // Standard Error: 361
2597 .saturating_add(Weight::from_parts(123_285, 0).saturating_mul(r.into()))
2598 }
2599 /// The range of component `r` is `[0, 10000]`.
2600 fn instr_empty_loop(r: u32, ) -> Weight {
2601 // Proof Size summary in bytes:
2602 // Measured: `0`
2603 // Estimated: `0`
2604 // Minimum execution time: 3_326_000 picoseconds.
2605 Weight::from_parts(3_151_099, 0)
2606 // Standard Error: 50
2607 .saturating_add(Weight::from_parts(74_055, 0).saturating_mul(r.into()))
2608 }
2609 /// Storage: `Revive::PristineCode` (r:1 w:0)
2610 /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`)
2611 /// The range of component `n` is `[1000, 10000]`.
2612 fn extcodecopy(n: u32, ) -> Weight {
2613 // Proof Size summary in bytes:
2614 // Measured: `527 + n * (1 ±0)`
2615 // Estimated: `3992 + n * (1 ±0)`
2616 // Minimum execution time: 14_656_000 picoseconds.
2617 Weight::from_parts(14_686_037, 3992)
2618 // Standard Error: 4
2619 .saturating_add(Weight::from_parts(724, 0).saturating_mul(n.into()))
2620 .saturating_add(RocksDbWeight::get().reads(1_u64))
2621 .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
2622 }
2623 /// Storage: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
2624 /// Proof: UNKNOWN KEY `0x735f040a5d490f1107ad9c56f5ca00d2060e99e5378e562537cf3bc983e17b91` (r:2 w:1)
2625 /// Storage: `Revive::AccountInfoOf` (r:0 w:1)
2626 /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`)
2627 fn v1_migration_step() -> Weight {
2628 // Proof Size summary in bytes:
2629 // Measured: `382`
2630 // Estimated: `6322`
2631 // Minimum execution time: 12_331_000 picoseconds.
2632 Weight::from_parts(12_868_000, 6322)
2633 .saturating_add(RocksDbWeight::get().reads(2_u64))
2634 .saturating_add(RocksDbWeight::get().writes(2_u64))
2635 }
2636 /// Storage: `System::Account` (r:1 w:1)
2637 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
2638 /// Storage: `Revive::CodeInfoOf` (r:2 w:1)
2639 /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`)
2640 /// Storage: `Balances::Holds` (r:2 w:2)
2641 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `MaxEncodedLen`)
2642 fn v2_migration_step() -> Weight {
2643 // Proof Size summary in bytes:
2644 // Measured: `505`
2645 // Estimated: `6866`
2646 // Minimum execution time: 63_102_000 picoseconds.
2647 Weight::from_parts(65_300_000, 6866)
2648 .saturating_add(RocksDbWeight::get().reads(5_u64))
2649 .saturating_add(RocksDbWeight::get().writes(4_u64))
2650 }
2651 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
2652 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2653 /// Storage: `Revive::BlockHash` (r:1 w:1)
2654 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
2655 /// Storage: `Timestamp::Now` (r:1 w:0)
2656 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
2657 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
2658 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2659 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
2660 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2661 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
2662 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2663 /// The range of component `n` is `[0, 200]`.
2664 fn on_finalize_per_transaction(n: u32, ) -> Weight {
2665 // Proof Size summary in bytes:
2666 // Measured: `3012 + n * (97 ±0)`
2667 // Estimated: `6303 + n * (104 ±0)`
2668 // Minimum execution time: 26_639_000 picoseconds.
2669 Weight::from_parts(56_482_010, 6303)
2670 // Standard Error: 4_704
2671 .saturating_add(Weight::from_parts(522_203, 0).saturating_mul(n.into()))
2672 .saturating_add(RocksDbWeight::get().reads(4_u64))
2673 .saturating_add(RocksDbWeight::get().writes(5_u64))
2674 .saturating_add(Weight::from_parts(0, 104).saturating_mul(n.into()))
2675 }
2676 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
2677 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2678 /// Storage: `Revive::BlockHash` (r:1 w:1)
2679 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
2680 /// Storage: `Timestamp::Now` (r:1 w:0)
2681 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
2682 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
2683 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2684 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
2685 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2686 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
2687 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2688 /// The range of component `d` is `[0, 1000]`.
2689 fn on_finalize_per_transaction_data(d: u32, ) -> Weight {
2690 // Proof Size summary in bytes:
2691 // Measured: `3577 + d * (3 ±0)`
2692 // Estimated: `7036 + d * (3 ±0)`
2693 // Minimum execution time: 59_432_000 picoseconds.
2694 Weight::from_parts(61_955_716, 7036)
2695 // Standard Error: 157
2696 .saturating_add(Weight::from_parts(12_327, 0).saturating_mul(d.into()))
2697 .saturating_add(RocksDbWeight::get().reads(4_u64))
2698 .saturating_add(RocksDbWeight::get().writes(5_u64))
2699 .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into()))
2700 }
2701 /// Storage: `System::Account` (r:1 w:0)
2702 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2703 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
2704 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2705 /// Storage: `Revive::BlockHash` (r:1 w:1)
2706 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
2707 /// Storage: `Timestamp::Now` (r:1 w:0)
2708 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
2709 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
2710 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2711 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
2712 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2713 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
2714 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2715 /// The range of component `e` is `[0, 100]`.
2716 fn on_finalize_per_event(e: u32, ) -> Weight {
2717 // Proof Size summary in bytes:
2718 // Measured: `1546`
2719 // Estimated: `5011`
2720 // Minimum execution time: 44_652_000 picoseconds.
2721 Weight::from_parts(46_489_107, 5011)
2722 // Standard Error: 1_089
2723 .saturating_add(Weight::from_parts(4_596, 0).saturating_mul(e.into()))
2724 .saturating_add(RocksDbWeight::get().reads(5_u64))
2725 .saturating_add(RocksDbWeight::get().writes(5_u64))
2726 }
2727 /// Storage: `System::Account` (r:1 w:0)
2728 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
2729 /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1)
2730 /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2731 /// Storage: `Revive::BlockHash` (r:1 w:1)
2732 /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
2733 /// Storage: `Timestamp::Now` (r:1 w:0)
2734 /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
2735 /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1)
2736 /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2737 /// Storage: `Revive::EthereumBlock` (r:0 w:1)
2738 /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2739 /// Storage: `Revive::ReceiptInfoData` (r:0 w:1)
2740 /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
2741 /// The range of component `d` is `[0, 16384]`.
2742 fn on_finalize_per_event_data(d: u32, ) -> Weight {
2743 // Proof Size summary in bytes:
2744 // Measured: `1546`
2745 // Estimated: `5011`
2746 // Minimum execution time: 44_400_000 picoseconds.
2747 Weight::from_parts(46_629_995, 5011)
2748 // Standard Error: 6
2749 .saturating_add(Weight::from_parts(21, 0).saturating_mul(d.into()))
2750 .saturating_add(RocksDbWeight::get().reads(5_u64))
2751 .saturating_add(RocksDbWeight::get().writes(5_u64))
2752 }
2753}