1c0e57d984
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
345 lines
18 KiB
Rust
345 lines
18 KiB
Rust
// 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 `pezpallet_collective`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
|
//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `e0f303704c84`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// frame-omni-bencher
|
|
// v1
|
|
// benchmark
|
|
// pallet
|
|
// --extrinsic=*
|
|
// --runtime=target/production/wbuild/collectives-zagros-runtime/collectives_zagros_runtime.wasm
|
|
// --pallet=pezpallet_collective
|
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
|
// --output=./pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights
|
|
// --wasm-execution=compiled
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --heap-pages=4096
|
|
// --no-storage-info
|
|
// --no-min-squares
|
|
// --no-median-slopes
|
|
|
|
#![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 for `pezpallet_collective`.
|
|
pub struct WeightInfo<T>(PhantomData<T>);
|
|
impl<T: pezframe_system::Config> pezpallet_collective::WeightInfo for WeightInfo<T> {
|
|
/// Storage: `AllianceMotion::Members` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Proposals` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Voting` (r:100 w:100)
|
|
/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Prime` (r:0 w:1)
|
|
/// Proof: `AllianceMotion::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// The range of component `m` is `[0, 100]`.
|
|
/// The range of component `n` is `[0, 100]`.
|
|
/// The range of component `p` is `[0, 100]`.
|
|
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0 + m * (3232 ±0) + p * (3190 ±0)`
|
|
// Estimated: `15728 + m * (1967 ±23) + p * (4332 ±23)`
|
|
// Minimum execution time: 16_273_000 picoseconds.
|
|
Weight::from_parts(16_696_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 15728))
|
|
// Standard Error: 74_425
|
|
.saturating_add(Weight::from_parts(5_587_078, 0).saturating_mul(m.into()))
|
|
// Standard Error: 74_425
|
|
.saturating_add(Weight::from_parts(9_950_043, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
|
|
.saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into()))
|
|
.saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::Members` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// The range of component `b` is `[2, 1024]`.
|
|
/// The range of component `m` is `[1, 100]`.
|
|
fn execute(b: u32, m: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `69 + m * (32 ±0)`
|
|
// Estimated: `1555 + m * (32 ±0)`
|
|
// Minimum execution time: 14_858_000 picoseconds.
|
|
Weight::from_parts(14_156_893, 0)
|
|
.saturating_add(Weight::from_parts(0, 1555))
|
|
// Standard Error: 31
|
|
.saturating_add(Weight::from_parts(1_367, 0).saturating_mul(b.into()))
|
|
// Standard Error: 319
|
|
.saturating_add(Weight::from_parts(16_451, 0).saturating_mul(m.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::Members` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::ProposalOf` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `b` is `[2, 1024]`.
|
|
/// The range of component `m` is `[1, 100]`.
|
|
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `69 + m * (32 ±0)`
|
|
// Estimated: `3535 + m * (32 ±0)`
|
|
// Minimum execution time: 17_653_000 picoseconds.
|
|
Weight::from_parts(16_775_034, 0)
|
|
.saturating_add(Weight::from_parts(0, 3535))
|
|
// Standard Error: 35
|
|
.saturating_add(Weight::from_parts(1_558, 0).saturating_mul(b.into()))
|
|
// Standard Error: 370
|
|
.saturating_add(Weight::from_parts(27_907, 0).saturating_mul(m.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::Members` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::ProposalOf` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::ProposalCount` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Voting` (r:0 w:1)
|
|
/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `b` is `[2, 1024]`.
|
|
/// The range of component `m` is `[2, 100]`.
|
|
/// The range of component `p` is `[1, 100]`.
|
|
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `359 + m * (32 ±0) + p * (36 ±0)`
|
|
// Estimated: `3751 + m * (33 ±0) + p * (36 ±0)`
|
|
// Minimum execution time: 23_361_000 picoseconds.
|
|
Weight::from_parts(21_486_243, 0)
|
|
.saturating_add(Weight::from_parts(0, 3751))
|
|
// Standard Error: 235
|
|
.saturating_add(Weight::from_parts(3_711, 0).saturating_mul(b.into()))
|
|
// Standard Error: 2_462
|
|
.saturating_add(Weight::from_parts(49_738, 0).saturating_mul(m.into()))
|
|
// Standard Error: 2_430
|
|
.saturating_add(Weight::from_parts(217_480, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
.saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into()))
|
|
.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::Members` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Voting` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `m` is `[5, 100]`.
|
|
fn vote(m: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `808 + m * (64 ±0)`
|
|
// Estimated: `4272 + m * (64 ±0)`
|
|
// Minimum execution time: 31_498_000 picoseconds.
|
|
Weight::from_parts(32_782_494, 0)
|
|
.saturating_add(Weight::from_parts(0, 4272))
|
|
// Standard Error: 833
|
|
.saturating_add(Weight::from_parts(41_618, 0).saturating_mul(m.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::Voting` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Members` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::ProposalOf` (r:0 w:1)
|
|
/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `m` is `[4, 100]`.
|
|
/// The range of component `p` is `[1, 100]`.
|
|
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `397 + m * (64 ±0) + p * (36 ±0)`
|
|
// Estimated: `3842 + m * (65 ±0) + p * (36 ±0)`
|
|
// Minimum execution time: 27_489_000 picoseconds.
|
|
Weight::from_parts(30_750_053, 0)
|
|
.saturating_add(Weight::from_parts(0, 3842))
|
|
// Standard Error: 1_459
|
|
.saturating_add(Weight::from_parts(43_268, 0).saturating_mul(m.into()))
|
|
// Standard Error: 1_423
|
|
.saturating_add(Weight::from_parts(204_203, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into()))
|
|
.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::Voting` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Members` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::ProposalOf` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// The range of component `b` is `[2, 1024]`.
|
|
/// The range of component `m` is `[4, 100]`.
|
|
/// The range of component `p` is `[1, 100]`.
|
|
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `699 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
|
|
// Estimated: `4016 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)`
|
|
// Minimum execution time: 42_776_000 picoseconds.
|
|
Weight::from_parts(44_404_614, 0)
|
|
.saturating_add(Weight::from_parts(0, 4016))
|
|
// Standard Error: 192
|
|
.saturating_add(Weight::from_parts(2_919, 0).saturating_mul(b.into()))
|
|
// Standard Error: 2_034
|
|
.saturating_add(Weight::from_parts(20_724, 0).saturating_mul(m.into()))
|
|
// Standard Error: 1_982
|
|
.saturating_add(Weight::from_parts(218_386, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
|
|
.saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into()))
|
|
.saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::Voting` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Members` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Prime` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::ProposalOf` (r:0 w:1)
|
|
/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `m` is `[4, 100]`.
|
|
/// The range of component `p` is `[1, 100]`.
|
|
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `495 + m * (48 ±0) + p * (36 ±0)`
|
|
// Estimated: `3935 + m * (49 ±0) + p * (36 ±0)`
|
|
// Minimum execution time: 32_738_000 picoseconds.
|
|
Weight::from_parts(32_423_025, 0)
|
|
.saturating_add(Weight::from_parts(0, 3935))
|
|
// Standard Error: 1_306
|
|
.saturating_add(Weight::from_parts(45_893, 0).saturating_mul(m.into()))
|
|
// Standard Error: 1_273
|
|
.saturating_add(Weight::from_parts(210_810, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(Weight::from_parts(0, 49).saturating_mul(m.into()))
|
|
.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::Voting` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Members` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Prime` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::ProposalOf` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// The range of component `b` is `[2, 1024]`.
|
|
/// The range of component `m` is `[4, 100]`.
|
|
/// The range of component `p` is `[1, 100]`.
|
|
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `719 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
|
|
// Estimated: `4036 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)`
|
|
// Minimum execution time: 44_168_000 picoseconds.
|
|
Weight::from_parts(46_428_136, 0)
|
|
.saturating_add(Weight::from_parts(0, 4036))
|
|
// Standard Error: 174
|
|
.saturating_add(Weight::from_parts(2_573, 0).saturating_mul(b.into()))
|
|
// Standard Error: 1_842
|
|
.saturating_add(Weight::from_parts(29_044, 0).saturating_mul(m.into()))
|
|
// Standard Error: 1_795
|
|
.saturating_add(Weight::from_parts(223_527, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(5))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
|
|
.saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into()))
|
|
.saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Voting` (r:0 w:1)
|
|
/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::ProposalOf` (r:0 w:1)
|
|
/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `p` is `[1, 100]`.
|
|
fn disapprove_proposal(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `226 + p * (32 ±0)`
|
|
// Estimated: `1711 + p * (32 ±0)`
|
|
// Minimum execution time: 14_524_000 picoseconds.
|
|
Weight::from_parts(16_298_044, 0)
|
|
.saturating_add(Weight::from_parts(0, 1711))
|
|
// Standard Error: 1_381
|
|
.saturating_add(Weight::from_parts(177_631, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::ProposalOf` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::CostOf` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
|
|
/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::Voting` (r:0 w:1)
|
|
/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `d` is `[0, 1]`.
|
|
/// The range of component `p` is `[1, 100]`.
|
|
fn kill(d: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1497 + p * (36 ±0)`
|
|
// Estimated: `4896 + d * (123 ±6) + p * (37 ±0)`
|
|
// Minimum execution time: 21_079_000 picoseconds.
|
|
Weight::from_parts(24_345_812, 0)
|
|
.saturating_add(Weight::from_parts(0, 4896))
|
|
// Standard Error: 150_548
|
|
.saturating_add(Weight::from_parts(1_841_577, 0).saturating_mul(d.into()))
|
|
// Standard Error: 2_331
|
|
.saturating_add(Weight::from_parts(242_465, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(Weight::from_parts(0, 123).saturating_mul(d.into()))
|
|
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
|
|
}
|
|
/// Storage: `AllianceMotion::ProposalOf` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `AllianceMotion::CostOf` (r:1 w:0)
|
|
/// Proof: `AllianceMotion::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn release_proposal_cost() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `911`
|
|
// Estimated: `4376`
|
|
// Minimum execution time: 17_024_000 picoseconds.
|
|
Weight::from_parts(17_620_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4376))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
}
|
|
}
|