mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-11 02:17:23 +00:00
3a3d93afee
* Empty commit * ".git/.scripts/commands/bench/bench.sh" all --------- Co-authored-by: Alexander Theißen <alex.theissen@me.com> Co-authored-by: command-bot <>
400 lines
19 KiB
Rust
Generated
400 lines
19 KiB
Rust
Generated
// This file is part of Substrate.
|
|
|
|
// Copyright (C) Parity Technologies (UK) Ltd.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
//! Autogenerated weights for pallet_vesting
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
|
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// ./target/production/substrate
|
|
// benchmark
|
|
// pallet
|
|
// --chain=dev
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --pallet=pallet_vesting
|
|
// --no-storage-info
|
|
// --no-median-slopes
|
|
// --no-min-squares
|
|
// --extrinsic=*
|
|
// --execution=wasm
|
|
// --wasm-execution=compiled
|
|
// --heap-pages=4096
|
|
// --output=./frame/vesting/src/weights.rs
|
|
// --header=./HEADER-APACHE2
|
|
// --template=./.maintain/frame-weight-template.hbs
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
|
|
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
|
use sp_std::marker::PhantomData;
|
|
|
|
/// Weight functions needed for pallet_vesting.
|
|
pub trait WeightInfo {
|
|
fn vest_locked(l: u32, s: u32, ) -> Weight;
|
|
fn vest_unlocked(l: u32, s: u32, ) -> Weight;
|
|
fn vest_other_locked(l: u32, s: u32, ) -> Weight;
|
|
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight;
|
|
fn vested_transfer(l: u32, s: u32, ) -> Weight;
|
|
fn force_vested_transfer(l: u32, s: u32, ) -> Weight;
|
|
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight;
|
|
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight;
|
|
}
|
|
|
|
/// Weights for pallet_vesting using the Substrate node and recommended hardware.
|
|
pub struct SubstrateWeight<T>(PhantomData<T>);
|
|
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `9286`
|
|
// Minimum execution time: 31_657_000 picoseconds.
|
|
Weight::from_parts(30_569_947, 9286)
|
|
// Standard Error: 794
|
|
.saturating_add(Weight::from_parts(63_114, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_413
|
|
.saturating_add(Weight::from_parts(58_636, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `9286`
|
|
// Minimum execution time: 30_474_000 picoseconds.
|
|
Weight::from_parts(30_227_344, 9286)
|
|
// Standard Error: 1_005
|
|
.saturating_add(Weight::from_parts(56_742, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_788
|
|
.saturating_add(Weight::from_parts(33_890, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `12879`
|
|
// Minimum execution time: 33_681_000 picoseconds.
|
|
Weight::from_parts(32_540_534, 12879)
|
|
// Standard Error: 2_642
|
|
.saturating_add(Weight::from_parts(62_200, 0).saturating_mul(l.into()))
|
|
// Standard Error: 4_701
|
|
.saturating_add(Weight::from_parts(69_703, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `12879`
|
|
// Minimum execution time: 32_255_000 picoseconds.
|
|
Weight::from_parts(31_637_918, 12879)
|
|
// Standard Error: 3_135
|
|
.saturating_add(Weight::from_parts(62_121, 0).saturating_mul(l.into()))
|
|
// Standard Error: 5_579
|
|
.saturating_add(Weight::from_parts(61_055, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[0, 27]`.
|
|
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `12879`
|
|
// Minimum execution time: 51_697_000 picoseconds.
|
|
Weight::from_parts(52_048_055, 12879)
|
|
// Standard Error: 1_598
|
|
.saturating_add(Weight::from_parts(60_508, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_843
|
|
.saturating_add(Weight::from_parts(37_870, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:2 w:2)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[0, 27]`.
|
|
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `658 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `15482`
|
|
// Minimum execution time: 54_585_000 picoseconds.
|
|
Weight::from_parts(54_492_070, 15482)
|
|
// Standard Error: 1_694
|
|
.saturating_add(Weight::from_parts(52_633, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_014
|
|
.saturating_add(Weight::from_parts(45_485, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[2, 28]`.
|
|
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `12879`
|
|
// Minimum execution time: 34_312_000 picoseconds.
|
|
Weight::from_parts(33_740_101, 12879)
|
|
// Standard Error: 996
|
|
.saturating_add(Weight::from_parts(62_123, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_841
|
|
.saturating_add(Weight::from_parts(56_463, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[2, 28]`.
|
|
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `12879`
|
|
// Minimum execution time: 34_965_000 picoseconds.
|
|
Weight::from_parts(33_831_484, 12879)
|
|
// Standard Error: 1_530
|
|
.saturating_add(Weight::from_parts(59_136, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_827
|
|
.saturating_add(Weight::from_parts(58_493, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
}
|
|
|
|
// For backwards compatibility and tests
|
|
impl WeightInfo for () {
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `9286`
|
|
// Minimum execution time: 31_657_000 picoseconds.
|
|
Weight::from_parts(30_569_947, 9286)
|
|
// Standard Error: 794
|
|
.saturating_add(Weight::from_parts(63_114, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_413
|
|
.saturating_add(Weight::from_parts(58_636, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `9286`
|
|
// Minimum execution time: 30_474_000 picoseconds.
|
|
Weight::from_parts(30_227_344, 9286)
|
|
// Standard Error: 1_005
|
|
.saturating_add(Weight::from_parts(56_742, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_788
|
|
.saturating_add(Weight::from_parts(33_890, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `12879`
|
|
// Minimum execution time: 33_681_000 picoseconds.
|
|
Weight::from_parts(32_540_534, 12879)
|
|
// Standard Error: 2_642
|
|
.saturating_add(Weight::from_parts(62_200, 0).saturating_mul(l.into()))
|
|
// Standard Error: 4_701
|
|
.saturating_add(Weight::from_parts(69_703, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `12879`
|
|
// Minimum execution time: 32_255_000 picoseconds.
|
|
Weight::from_parts(31_637_918, 12879)
|
|
// Standard Error: 3_135
|
|
.saturating_add(Weight::from_parts(62_121, 0).saturating_mul(l.into()))
|
|
// Standard Error: 5_579
|
|
.saturating_add(Weight::from_parts(61_055, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[0, 27]`.
|
|
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `12879`
|
|
// Minimum execution time: 51_697_000 picoseconds.
|
|
Weight::from_parts(52_048_055, 12879)
|
|
// Standard Error: 1_598
|
|
.saturating_add(Weight::from_parts(60_508, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_843
|
|
.saturating_add(Weight::from_parts(37_870, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:2 w:2)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[0, 27]`.
|
|
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `658 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `15482`
|
|
// Minimum execution time: 54_585_000 picoseconds.
|
|
Weight::from_parts(54_492_070, 15482)
|
|
// Standard Error: 1_694
|
|
.saturating_add(Weight::from_parts(52_633, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_014
|
|
.saturating_add(Weight::from_parts(45_485, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[2, 28]`.
|
|
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `12879`
|
|
// Minimum execution time: 34_312_000 picoseconds.
|
|
Weight::from_parts(33_740_101, 12879)
|
|
// Standard Error: 996
|
|
.saturating_add(Weight::from_parts(62_123, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_841
|
|
.saturating_add(Weight::from_parts(56_463, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[2, 28]`.
|
|
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `12879`
|
|
// Minimum execution time: 34_965_000 picoseconds.
|
|
Weight::from_parts(33_831_484, 12879)
|
|
// Standard Error: 1_530
|
|
.saturating_add(Weight::from_parts(59_136, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_827
|
|
.saturating_add(Weight::from_parts(58_493, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
}
|