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