pallet_evm_tracker/weights/pallet_evm_tracker.rs
1
2//! Autogenerated weights for `pallet_evm_tracker`
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.2.0
5//! DATE: 2025-08-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
6//! WORST CASE MAP SIZE: `1000000`
7//! HOSTNAME: `protocol-team-testing`, CPU: `AMD Ryzen 5 3600 6-Core Processor`
8//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
9
10// Executed Command:
11// ./target/production/subspace-node
12// domain
13// benchmark
14// pallet
15// --runtime=./target/production/wbuild/evm-domain-runtime/evm_domain_runtime.compact.compressed.wasm
16// --extrinsic=*
17// --wasm-execution=compiled
18// --genesis-builder=none
19// --heap-pages=4096
20// --steps=50
21// --repeat=20
22// --pallet=pallet_evm_tracker
23// --output=./domains/pallets/evm-tracker/src/weights/pallet_evm_tracker.rs
24
25#![cfg_attr(rustfmt, rustfmt_skip)]
26#![allow(unused_parens)]
27#![allow(unused_imports)]
28#![allow(missing_docs)]
29
30use frame_support::{traits::Get, weights::Weight};
31use core::marker::PhantomData;
32
33/// Weight functions for `pallet_evm_tracker`.
34pub struct WeightInfo<T>(PhantomData<T>);
35impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
36 /// Storage: `EVMNoncetracker::ContractCreationAllowedBy` (r:1 w:0)
37 /// Proof: `EVMNoncetracker::ContractCreationAllowedBy` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
38 /// The range of component `c` is `[0, 5000]`.
39 fn evm_contract_check_multiple(c: u32, ) -> Weight {
40 // Proof Size summary in bytes:
41 // Measured: `209`
42 // Estimated: `1694`
43 // Minimum execution time: 3_580_000 picoseconds.
44 Weight::from_parts(4_663_159, 0)
45 .saturating_add(Weight::from_parts(0, 1694))
46 // Standard Error: 21
47 .saturating_add(Weight::from_parts(10_018, 0).saturating_mul(c.into()))
48 .saturating_add(T::DbWeight::get().reads(1))
49 }
50 /// Storage: `EVMNoncetracker::ContractCreationAllowedBy` (r:1 w:0)
51 /// Proof: `EVMNoncetracker::ContractCreationAllowedBy` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
52 /// The range of component `c` is `[0, 1300]`.
53 fn evm_contract_check_nested(c: u32, ) -> Weight {
54 // Proof Size summary in bytes:
55 // Measured: `209`
56 // Estimated: `1694`
57 // Minimum execution time: 3_420_000 picoseconds.
58 Weight::from_parts(3_881_048, 0)
59 .saturating_add(Weight::from_parts(0, 1694))
60 // Standard Error: 144
61 .saturating_add(Weight::from_parts(90_308, 0).saturating_mul(c.into()))
62 .saturating_add(T::DbWeight::get().reads(1))
63 }
64}