mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
35738c7325
chore: refactor for consistant naming of the crates and paths of the runtimes * tests: ignore folder created by the tests * chore: refactoring * Update polkadot-parachains/Cargo.toml Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
62 lines
1.9 KiB
Rust
62 lines
1.9 KiB
Rust
|
|
//! Autogenerated weights for pallet_balances
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
|
//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
|
|
|
|
// Executed Command:
|
|
// ./target/release/statemint
|
|
// benchmark
|
|
// --chain=statemine-dev
|
|
// --execution=wasm
|
|
// --wasm-execution=compiled
|
|
// --pallet=pallet_balances
|
|
// --extrinsic=*
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --raw
|
|
// --output=./runtime/statemine/src/weights/
|
|
|
|
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
|
|
use frame_support::{traits::Get, weights::Weight};
|
|
use sp_std::marker::PhantomData;
|
|
|
|
/// Weight functions for pallet_balances.
|
|
pub struct WeightInfo<T>(PhantomData<T>);
|
|
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
|
fn transfer() -> Weight {
|
|
(79_381_000 as Weight)
|
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
}
|
|
fn transfer_keep_alive() -> Weight {
|
|
(58_057_000 as Weight)
|
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
}
|
|
fn set_balance_creating() -> Weight {
|
|
(28_834_000 as Weight)
|
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
}
|
|
fn set_balance_killing() -> Weight {
|
|
(36_213_000 as Weight)
|
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
}
|
|
fn force_transfer() -> Weight {
|
|
(78_526_000 as Weight)
|
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
|
}
|
|
fn transfer_all() -> Weight {
|
|
(84_170_000 as Weight)
|
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
}
|
|
}
|