3139ffa25e
- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs) - pallet/ directories → pezpallet/ (4 locations) - Fixed pezpallet.rs self-include recursion bug - Fixed sc-chain-spec hardcoded crate name in derive macro - Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API) - Added BizinikiwiConfig type alias for zombienet tests - Deleted obsolete session state files Verified: pezsnowbridge-pezpallet-*, pezpallet-staking, pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
107 lines
4.8 KiB
Rust
107 lines
4.8 KiB
Rust
|
|
//! Autogenerated weights for `pezpallet_pez_treasury`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
|
//! DATE: 2025-12-08, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `MamostePC`, CPU: `11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// ./target/release/frame-omni-bencher
|
|
// v1
|
|
// benchmark
|
|
// pezpallet
|
|
// --runtime
|
|
// ./target/release/wbuild/asset-hub-pezkuwichain-runtime/asset_hub_pezkuwichain_runtime.wasm
|
|
// --pezpallet
|
|
// pezpallet_pez_treasury
|
|
// --extrinsic
|
|
// *
|
|
// --steps
|
|
// 50
|
|
// --repeat
|
|
// 20
|
|
// --output
|
|
// ./pezcumulus/teyrchains/pezpallets/pez-treasury/src/weights.rs
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
#![allow(missing_docs)]
|
|
|
|
use pezframe_support::{traits::Get, weights::Weight};
|
|
use core::marker::PhantomData;
|
|
|
|
/// Weight functions needed for `pezpallet_pez_treasury`.
|
|
pub trait WeightInfo {
|
|
fn initialize_treasury() -> Weight;
|
|
fn force_genesis_distribution() -> Weight;
|
|
fn release_monthly_funds() -> Weight;
|
|
}
|
|
|
|
/// Weight functions for `pezpallet_pez_treasury`.
|
|
pub struct BizinikiwiWeight<T>(PhantomData<T>);
|
|
impl<T: pezframe_system::Config> WeightInfo for BizinikiwiWeight<T> {
|
|
/// Storage: `PezTreasury::TreasuryStartBlock` (r:1 w:1)
|
|
/// Proof: `PezTreasury::TreasuryStartBlock` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
|
/// Storage: `PezTreasury::NextReleaseMonth` (r:0 w:1)
|
|
/// Proof: `PezTreasury::NextReleaseMonth` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
|
/// Storage: `PezTreasury::HalvingInfo` (r:0 w:1)
|
|
/// Proof: `PezTreasury::HalvingInfo` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
|
|
fn initialize_treasury() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `3`
|
|
// Estimated: `1489`
|
|
// Minimum execution time: 7_724_000 picoseconds.
|
|
Weight::from_parts(8_079_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 1489))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: `PezTreasury::GenesisDistributionDone` (r:1 w:1)
|
|
/// Proof: `PezTreasury::GenesisDistributionDone` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
|
|
/// Storage: `Assets::Asset` (r:1 w:1)
|
|
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
|
|
/// Storage: `Assets::Account` (r:3 w:3)
|
|
/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:3 w:3)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
fn force_genesis_distribution() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `489`
|
|
// Estimated: `8817`
|
|
// Minimum execution time: 62_294_000 picoseconds.
|
|
Weight::from_parts(64_751_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 8817))
|
|
.saturating_add(T::DbWeight::get().reads(8))
|
|
.saturating_add(T::DbWeight::get().writes(8))
|
|
}
|
|
/// Storage: `PezTreasury::TreasuryStartBlock` (r:1 w:0)
|
|
/// Proof: `PezTreasury::TreasuryStartBlock` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
|
/// Storage: `PezTreasury::NextReleaseMonth` (r:1 w:1)
|
|
/// Proof: `PezTreasury::NextReleaseMonth` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
|
/// Storage: `PezTreasury::MonthlyReleases` (r:1 w:1)
|
|
/// Proof: `PezTreasury::MonthlyReleases` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
|
|
/// Storage: `PezTreasury::HalvingInfo` (r:1 w:1)
|
|
/// Proof: `PezTreasury::HalvingInfo` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
|
|
/// Storage: `Assets::Asset` (r:1 w:1)
|
|
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
|
|
/// Storage: `Assets::Account` (r:3 w:3)
|
|
/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
|
|
/// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:0)
|
|
/// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:2 w:2)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
fn release_monthly_funds() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `701`
|
|
// Estimated: `8817`
|
|
// Minimum execution time: 103_894_000 picoseconds.
|
|
Weight::from_parts(109_089_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 8817))
|
|
.saturating_add(T::DbWeight::get().reads(11))
|
|
.saturating_add(T::DbWeight::get().writes(9))
|
|
}
|
|
}
|