mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 16:17:59 +00:00
Companion of paritytech/substrate#12157 (#5964)
* Remove RefTimeWeight
* Fixes
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+170
-170
File diff suppressed because it is too large
Load Diff
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_benchmarking::baseline`.
|
||||
@@ -46,44 +46,44 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn addition(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(123_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(123_000 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(110_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(110_000 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(124_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(124_000 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(120_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(120_000 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn hashing(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_606_352_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_606_352_000 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[1, 100]`.
|
||||
fn sr25519_verification(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 38_000
|
||||
.saturating_add(Weight::from_ref_time(47_929_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(47_929_000 as u64).saturating_mul(i as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_read(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(2_101_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(2_101_000 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_write(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(330_000 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_election_provider_support`.
|
||||
@@ -48,20 +48,20 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 87_000
|
||||
.saturating_add(Weight::from_ref_time(22_196_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(22_196_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 7_520_000
|
||||
.saturating_add(Weight::from_ref_time(3_555_366_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_555_366_000 as u64).saturating_mul(d as u64))
|
||||
}
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 74_000
|
||||
.saturating_add(Weight::from_ref_time(15_098_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(15_098_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 6_402_000
|
||||
.saturating_add(Weight::from_ref_time(2_580_118_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_580_118_000 as u64).saturating_mul(d as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_system`.
|
||||
@@ -46,45 +46,45 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
Weight::from_ref_time(4_767_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(4_767_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(550_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(550_000 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(441_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(441_000 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `p` is `[1, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(955_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(955_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_bags_list`.
|
||||
@@ -49,18 +49,18 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
Weight::from_ref_time(50_938_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(50_938_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn rebag_terminal() -> Weight {
|
||||
Weight::from_ref_time(49_843_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(49_843_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
@@ -68,8 +68,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn put_in_front_of() -> Weight {
|
||||
Weight::from_ref_time(51_965_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(51_965_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_balances`.
|
||||
@@ -46,44 +46,44 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(38_958_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(38_958_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
Weight::from_ref_time(30_030_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(30_030_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_creating() -> Weight {
|
||||
Weight::from_ref_time(19_591_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(19_591_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_killing() -> Weight {
|
||||
Weight::from_ref_time(22_871_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(22_871_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(39_215_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(39_215_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_all() -> Weight {
|
||||
Weight::from_ref_time(34_799_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(34_799_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_unreserve() -> Weight {
|
||||
Weight::from_ref_time(17_925_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(17_925_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_bounties`.
|
||||
@@ -50,90 +50,90 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Bounties Bounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn propose_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_654_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(26_654_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
fn approve_bounty() -> Weight {
|
||||
Weight::from_ref_time(9_776_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_776_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(8_350_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(8_350_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(34_804_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(34_804_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(23_414_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(23_414_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
fn award_bounty() -> Weight {
|
||||
Weight::from_ref_time(20_148_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(20_148_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn claim_bounty() -> Weight {
|
||||
Weight::from_ref_time(64_115_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(64_115_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_proposed() -> Weight {
|
||||
Weight::from_ref_time(39_628_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(39_628_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(47_429_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(47_429_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn extend_bounty_expiry() -> Weight {
|
||||
Weight::from_ref_time(17_322_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(17_322_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `b` is `[1, 100]`.
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 30_000
|
||||
.saturating_add(Weight::from_ref_time(30_775_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(30_775_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_child_bounties`.
|
||||
@@ -52,51 +52,51 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn add_child_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_890_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(48_890_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(14_114_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(14_114_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(26_807_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(26_807_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(39_640_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(39_640_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
fn award_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(21_445_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_445_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn claim_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(65_771_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(65_771_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
@@ -105,9 +105,9 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_added() -> Weight {
|
||||
Weight::from_ref_time(46_230_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(46_230_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
@@ -116,8 +116,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(56_148_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(56_148_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
@@ -49,36 +49,36 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance1Collective Voting (r:100 w:100)
|
||||
// Storage: Instance1Collective Prime (r:0 w:1)
|
||||
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(14_448_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(14_448_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(19_620_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(19_620_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_536_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_536_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
// Storage: Instance1Collective ProposalOf (r:1 w:0)
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_600_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(27_600_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(161_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
// Storage: Instance1Collective ProposalOf (r:1 w:1)
|
||||
@@ -86,52 +86,52 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance1Collective ProposalCount (r:1 w:1)
|
||||
// Storage: Instance1Collective Voting (r:0 w:1)
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_192_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(42_192_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(361_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(361_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
// Storage: Instance1Collective Voting (r:1 w:1)
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_307_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(32_307_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Voting (r:1 w:1)
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
// Storage: Instance1Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance1Collective ProposalOf (r:0 w:1)
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_436_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(41_436_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(333_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(333_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Voting (r:1 w:1)
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
// Storage: Instance1Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance1Collective Proposals (r:1 w:1)
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(57_836_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(57_836_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Voting (r:1 w:1)
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
@@ -139,13 +139,13 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance1Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance1Collective ProposalOf (r:0 w:1)
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(45_551_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(45_551_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(338_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(338_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Voting (r:1 w:1)
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
@@ -153,24 +153,24 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance1Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance1Collective Proposals (r:1 w:1)
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(61_497_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(61_497_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(171_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(343_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(343_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance1Collective Voting (r:0 w:1)
|
||||
// Storage: Instance1Collective ProposalOf (r:0 w:1)
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_573_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_573_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(335_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
@@ -49,36 +49,36 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance2Collective Voting (r:100 w:100)
|
||||
// Storage: Instance2Collective Prime (r:0 w:1)
|
||||
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(14_473_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(14_473_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(73_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(19_551_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(19_551_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_690_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_690_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(80_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:0)
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_473_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(27_473_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(159_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:1)
|
||||
@@ -86,52 +86,52 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance2Collective ProposalCount (r:1 w:1)
|
||||
// Storage: Instance2Collective Voting (r:0 w:1)
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_047_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(42_047_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(360_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(360_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_023_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(32_023_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance2Collective ProposalOf (r:0 w:1)
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_107_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(41_107_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(171_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(332_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(332_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(57_783_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(57_783_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(167_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(336_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(336_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
@@ -139,13 +139,13 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance2Collective ProposalOf (r:0 w:1)
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(45_646_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(45_646_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(335_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
@@ -153,24 +153,24 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(61_376_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(61_376_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance2Collective Voting (r:0 w:1)
|
||||
// Storage: Instance2Collective ProposalOf (r:0 w:1)
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_286_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_286_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(336_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(336_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_democracy`.
|
||||
@@ -49,47 +49,47 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
// Storage: Democracy DepositOf (r:0 w:1)
|
||||
fn propose() -> Weight {
|
||||
Weight::from_ref_time(37_453_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(37_453_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn second(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_807_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(27_807_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn vote_new(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_336_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(35_336_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(120_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(120_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn vote_existing(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_107_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(35_107_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
Weight::from_ref_time(17_752_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(17_752_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:1 w:1)
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
@@ -99,87 +99,87 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn blacklist(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(52_116_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(52_116_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(194_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(194_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
/// The range of component `v` is `[1, 100]`.
|
||||
fn external_propose(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_194_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(10_194_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
Weight::from_ref_time(3_700_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_700_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
Weight::from_ref_time(3_713_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_713_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn fast_track() -> Weight {
|
||||
Weight::from_ref_time(17_441_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(17_441_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
/// The range of component `v` is `[0, 100]`.
|
||||
fn veto_external(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_536_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(18_536_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(42_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:1 w:1)
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn cancel_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_174_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(42_174_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
Weight::from_ref_time(11_892_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(11_892_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn cancel_queued(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_252_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(23_252_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(2_242_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_242_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:0)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(1_457_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(1_457_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(2_956_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_956_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:0)
|
||||
@@ -189,111 +189,111 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_240_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(6_240_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(2_963_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_963_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:3 w:3)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_480_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(34_480_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(3_908_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(3_908_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:2 w:2)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_446_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(17_446_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(3_917_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(3_917_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:0 w:1)
|
||||
fn clear_public_proposals() -> Weight {
|
||||
Weight::from_ref_time(3_727_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_727_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
/// The range of component `b` is `[0, 16384]`.
|
||||
fn note_preimage(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_720_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_720_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
/// The range of component `b` is `[0, 16384]`.
|
||||
fn note_imminent_preimage(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_884_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(17_884_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:0)
|
||||
/// The range of component `b` is `[0, 16384]`.
|
||||
fn reap_preimage(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_695_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(24_695_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_207_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_207_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_561_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_561_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(13_204_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(13_204_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_994_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_994_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(106_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_election_provider_multi_phase`.
|
||||
@@ -53,35 +53,35 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: Staking ForceEra (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
fn on_initialize_nothing() -> Weight {
|
||||
Weight::from_ref_time(13_511_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
Weight::from_ref_time(13_511_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_signed() -> Weight {
|
||||
Weight::from_ref_time(12_448_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(12_448_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_unsigned() -> Weight {
|
||||
Weight::from_ref_time(12_497_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(12_497_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
|
||||
fn finalize_signed_phase_accept_solution() -> Weight {
|
||||
Weight::from_ref_time(26_220_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(26_220_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn finalize_signed_phase_reject_solution() -> Weight {
|
||||
Weight::from_ref_time(20_222_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(20_222_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
@@ -89,12 +89,12 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
fn create_snapshot_internal(v: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_912_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(37_912_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(549_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(549_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
@@ -109,13 +109,13 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn elect_queued(a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(1_310_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_310_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 20_000
|
||||
.saturating_add(Weight::from_ref_time(246_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(246_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
@@ -124,9 +124,9 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
|
||||
fn submit() -> Weight {
|
||||
Weight::from_ref_time(48_687_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(48_687_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
@@ -140,15 +140,15 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(196_420_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(196_420_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(887_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(887_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 24_000
|
||||
.saturating_add(Weight::from_ref_time(10_943_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(10_943_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 36_000
|
||||
.saturating_add(Weight::from_ref_time(1_604_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_604_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
@@ -159,15 +159,15 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(907_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(907_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 11_000
|
||||
.saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(64_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(8_768_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(8_768_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 29_000
|
||||
.saturating_add(Weight::from_ref_time(912_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(912_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_elections_phragmen`.
|
||||
@@ -51,11 +51,11 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[1, 16]`.
|
||||
fn vote_equal(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_107_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(24_107_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(184_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(184_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:0)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -64,11 +64,11 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_more(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_869_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(36_869_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(165_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(165_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:0)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -77,38 +77,38 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_less(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_445_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(36_445_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn remove_voter() -> Weight {
|
||||
Weight::from_ref_time(33_035_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(33_035_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:0)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn submit_candidacy(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_946_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_946_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(101_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_945_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_945_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
@@ -116,19 +116,19 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn renounce_candidacy_members() -> Weight {
|
||||
Weight::from_ref_time(41_502_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(41_502_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
fn renounce_candidacy_runners_up() -> Weight {
|
||||
Weight::from_ref_time(30_791_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(30_791_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn remove_member_without_replacement() -> Weight {
|
||||
Weight::from_ref_time(2_000_000_000_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
@@ -137,9 +137,9 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn remove_member_with_replacement() -> Weight {
|
||||
Weight::from_ref_time(57_184_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(57_184_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:5001 w:5000)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -150,12 +150,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
/// The range of component `v` is `[5000, 10000]`.
|
||||
/// The range of component `d` is `[1, 5000]`.
|
||||
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 85_000
|
||||
.saturating_add(Weight::from_ref_time(61_507_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(61_507_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
@@ -170,14 +170,14 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
/// The range of component `v` is `[1, 10000]`.
|
||||
/// The range of component `e` is `[10000, 160000]`.
|
||||
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_864_000
|
||||
.saturating_add(Weight::from_ref_time(167_385_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(167_385_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 124_000
|
||||
.saturating_add(Weight::from_ref_time(9_721_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(265 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(9_721_000 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(265 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_gilt`.
|
||||
@@ -48,46 +48,46 @@ impl<T: frame_system::Config> pallet_gilt::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 999]`.
|
||||
fn place_bid(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_767_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(36_767_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(115_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
fn place_bid_max() -> Weight {
|
||||
Weight::from_ref_time(119_333_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(119_333_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
/// The range of component `l` is `[1, 1000]`.
|
||||
fn retract_bid(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_108_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(37_108_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(94_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(94_000 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
fn set_target() -> Weight {
|
||||
Weight::from_ref_time(5_188_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(5_188_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Gilt Active (r:1 w:1)
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
fn thaw() -> Weight {
|
||||
Weight::from_ref_time(43_654_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(43_654_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:0)
|
||||
fn pursue_target_noop() -> Weight {
|
||||
Weight::from_ref_time(1_584_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(1_584_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
@@ -95,12 +95,12 @@ impl<T: frame_system::Config> pallet_gilt::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Gilt Active (r:0 w:1)
|
||||
/// The range of component `b` is `[1, 1000]`.
|
||||
fn pursue_target_per_item(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_464_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_464_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(4_387_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(4_387_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
@@ -108,12 +108,12 @@ impl<T: frame_system::Config> pallet_gilt::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Gilt Active (r:0 w:1)
|
||||
/// The range of component `q` is `[1, 300]`.
|
||||
fn pursue_target_per_queue(q: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_881_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_881_000 as u64)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add(Weight::from_ref_time(8_285_000 as RefTimeWeight).saturating_mul(q as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(q as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(q as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(8_285_000 as u64).saturating_mul(q as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(q as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(q as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_identity`.
|
||||
@@ -47,48 +47,48 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn add_registrar(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_146_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(16_146_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn set_identity(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_556_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_556_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(208_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(208_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(371_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(371_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn set_subs_new(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_214_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_214_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(3_032_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(3_032_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn set_subs_old(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_402_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(26_402_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(916_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(916_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
@@ -97,81 +97,81 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_822_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(32_822_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(74_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(74_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(909_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(909_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(166_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(166_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn request_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_696_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(30_696_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(377_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(377_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn cancel_request(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_144_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_144_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(144_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(144_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(363_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(363_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_135_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(7_135_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(135_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(135_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_account_id(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_861_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(6_861_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(140_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(140_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fields(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_143_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(7_143_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn provide_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_902_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_902_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(378_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(378_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
@@ -181,53 +181,53 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn kill_identity(_r: u32, s: u32, _x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_712_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(48_712_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(903_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(903_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
fn add_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_860_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(33_860_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(97_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn rename_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_063_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_063_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn remove_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_418_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(34_418_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
fn quit_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_186_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(24_186_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_im_online`.
|
||||
@@ -52,12 +52,12 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `k` is `[1, 1000]`.
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(76_307_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(76_307_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(25_000 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_indices`.
|
||||
@@ -46,34 +46,34 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(23_807_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(23_807_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(27_946_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(27_946_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn free() -> Weight {
|
||||
Weight::from_ref_time(23_882_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(23_882_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(24_029_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(24_029_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
Weight::from_ref_time(27_122_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(27_122_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_membership`.
|
||||
@@ -50,11 +50,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 99]`.
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_986_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(17_986_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(61_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
@@ -63,11 +63,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_684_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_684_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(49_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
@@ -76,11 +76,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_694_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_694_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(61_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
@@ -89,11 +89,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_769_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_769_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(186_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(186_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
@@ -102,30 +102,30 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_908_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_908_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(58_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:0)
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_054_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(7_054_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_942_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_942_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_multisig`.
|
||||
@@ -46,22 +46,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_530_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(15_530_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_158_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(32_158_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(100_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
@@ -69,38 +69,38 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_654_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(35_654_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(103_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_105_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_105_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(100_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_427_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(33_427_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
@@ -108,53 +108,53 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(43_547_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(43_547_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(129_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_185_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(31_185_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(114_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_549_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_549_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(107_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(107_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(65_686_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(65_686_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(130_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(130_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(47_339_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(47_339_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(112_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_nomination_pools`.
|
||||
@@ -58,9 +58,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn join() -> Weight {
|
||||
Weight::from_ref_time(125_069_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(17 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
|
||||
Weight::from_ref_time(125_069_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(17 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
@@ -72,9 +72,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_transfer() -> Weight {
|
||||
Weight::from_ref_time(120_122_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(14 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
|
||||
Weight::from_ref_time(120_122_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(14 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
@@ -86,18 +86,18 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: VoterList ListNodes (r:2 w:2)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_reward() -> Weight {
|
||||
Weight::from_ref_time(126_951_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
|
||||
Weight::from_ref_time(126_951_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn claim_payout() -> Weight {
|
||||
Weight::from_ref_time(48_376_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(48_376_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
@@ -114,9 +114,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
|
||||
fn unbond() -> Weight {
|
||||
Weight::from_ref_time(126_870_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(18 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(13 as RefTimeWeight))
|
||||
Weight::from_ref_time(126_870_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(18 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(13 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
@@ -124,11 +124,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_979_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(40_979_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(31_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
@@ -140,11 +140,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(79_501_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(79_501_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
@@ -167,11 +167,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(139_080_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(139_080_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(7_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(19 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(7_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(19 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: NominationPools MinCreateBond (r:1 w:0)
|
||||
@@ -196,9 +196,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(131_822_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(22 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as RefTimeWeight))
|
||||
Weight::from_ref_time(131_822_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(22 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
@@ -214,30 +214,30 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 24]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(50_212_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(50_212_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(2_152_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_152_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
fn set_state() -> Weight {
|
||||
Weight::from_ref_time(25_448_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(25_448_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: NominationPools Metadata (r:1 w:1)
|
||||
// Storage: NominationPools CounterForMetadata (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn set_metadata(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_203_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(14_203_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: NominationPools MinJoinBond (r:0 w:1)
|
||||
// Storage: NominationPools MaxPoolMembers (r:0 w:1)
|
||||
@@ -245,14 +245,14 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools MinCreateBond (r:0 w:1)
|
||||
// Storage: NominationPools MaxPools (r:0 w:1)
|
||||
fn set_configs() -> Weight {
|
||||
Weight::from_ref_time(6_899_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(6_899_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
fn update_roles() -> Weight {
|
||||
Weight::from_ref_time(21_715_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_715_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
@@ -263,8 +263,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
Weight::from_ref_time(49_057_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(49_057_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_preimage`.
|
||||
@@ -48,88 +48,88 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:0)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_requested_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:0)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_no_deposit_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_preimage() -> Weight {
|
||||
Weight::from_ref_time(35_236_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(35_236_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(23_396_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(23_396_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_preimage() -> Weight {
|
||||
Weight::from_ref_time(33_944_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(33_944_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(22_151_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(22_151_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(16_617_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(16_617_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_requested_preimage() -> Weight {
|
||||
Weight::from_ref_time(6_552_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(6_552_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unrequest_preimage() -> Weight {
|
||||
Weight::from_ref_time(23_787_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(23_787_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unrequest_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(16_327_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(16_327_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_multi_referenced_preimage() -> Weight {
|
||||
Weight::from_ref_time(6_289_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(6_289_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_proxy`.
|
||||
@@ -47,10 +47,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_720_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(17_720_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(70_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
@@ -58,39 +58,39 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_323_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(33_323_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(187_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(187_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(49_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_697_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_697_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(12_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(12_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_575_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_575_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(177_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(177_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(6_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(6_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
@@ -98,58 +98,58 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn announce(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_349_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(30_349_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(168_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn add_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_144_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_144_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_770_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(24_770_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxies(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_974_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_974_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn anonymous(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_658_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_658_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(30_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(30_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 30]`.
|
||||
fn kill_anonymous(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_082_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_082_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(56_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_scheduler`.
|
||||
@@ -50,13 +50,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(1_256_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(1_256_000 as u64)
|
||||
// Standard Error: 42_000
|
||||
.saturating_add(Weight::from_ref_time(26_925_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((4 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(26_925_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
@@ -64,144 +64,144 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_named_resolved(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(921_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(921_000 as u64)
|
||||
// Standard Error: 35_000
|
||||
.saturating_add(Weight::from_ref_time(21_922_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(21_922_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 62_000
|
||||
.saturating_add(Weight::from_ref_time(24_926_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(24_926_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_resolved(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_674_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(10_674_000 as u64)
|
||||
// Standard Error: 31_000
|
||||
.saturating_add(Weight::from_ref_time(20_631_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(20_631_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Preimage PreimageFor (r:1 w:0)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_named_aborted(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(2_607_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_607_000 as u64)
|
||||
// Standard Error: 20_000
|
||||
.saturating_add(Weight::from_ref_time(10_009_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(10_009_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Preimage PreimageFor (r:1 w:0)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_aborted(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_381_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_381_000 as u64)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add(Weight::from_ref_time(7_945_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(7_945_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_periodic_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_676_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(6_676_000 as u64)
|
||||
// Standard Error: 25_000
|
||||
.saturating_add(Weight::from_ref_time(16_966_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(16_966_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_periodic(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(8_899_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(8_899_000 as u64)
|
||||
// Standard Error: 24_000
|
||||
.saturating_add(Weight::from_ref_time(14_630_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(14_630_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(8_583_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(8_583_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(12_228_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(12_228_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(8_544_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(8_544_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(11_364_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(11_364_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn schedule(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_060_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_060_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn cancel(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_694_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(17_694_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(2_368_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_368_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn schedule_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_258_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_258_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(60_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(60_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn cancel_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_882_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(18_882_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(2_379_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_379_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_session`.
|
||||
@@ -48,16 +48,16 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:6 w:6)
|
||||
fn set_keys() -> Weight {
|
||||
Weight::from_ref_time(44_090_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(44_090_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:6)
|
||||
fn purge_keys() -> Weight {
|
||||
Weight::from_ref_time(27_160_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(27_160_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_staking`.
|
||||
@@ -51,9 +51,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn bond() -> Weight {
|
||||
Weight::from_ref_time(39_601_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(39_601_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
@@ -61,9 +61,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra() -> Weight {
|
||||
Weight::from_ref_time(69_967_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(69_967_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
@@ -75,9 +75,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn unbond() -> Weight {
|
||||
Weight::from_ref_time(78_585_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
|
||||
Weight::from_ref_time(78_585_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
@@ -85,11 +85,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_006_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(32_006_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
@@ -106,9 +106,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(60_841_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(11 as RefTimeWeight))
|
||||
Weight::from_ref_time(60_841_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(11 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking MinValidatorBond (r:1 w:0)
|
||||
@@ -122,20 +122,20 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForValidators (r:1 w:1)
|
||||
fn validate() -> Weight {
|
||||
Weight::from_ref_time(49_177_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(49_177_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
/// The range of component `k` is `[1, 128]`.
|
||||
fn kick(k: u32, ) -> Weight {
|
||||
Weight::from_ref_time(11_581_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(11_581_000 as u64)
|
||||
// Standard Error: 11_000
|
||||
.saturating_add(Weight::from_ref_time(8_835_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(8_835_000 as u64).saturating_mul(k as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64)))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
@@ -150,12 +150,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 24]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(52_135_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(52_135_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(3_209_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_209_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
@@ -165,51 +165,51 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
Weight::from_ref_time(46_813_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(46_813_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn set_payee() -> Weight {
|
||||
Weight::from_ref_time(9_568_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_568_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
fn set_controller() -> Weight {
|
||||
Weight::from_ref_time(16_922_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(16_922_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Staking ValidatorCount (r:0 w:1)
|
||||
fn set_validator_count() -> Weight {
|
||||
Weight::from_ref_time(3_455_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_455_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_no_eras() -> Weight {
|
||||
Weight::from_ref_time(3_461_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_461_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era() -> Weight {
|
||||
Weight::from_ref_time(3_505_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_505_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era_always() -> Weight {
|
||||
Weight::from_ref_time(3_509_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_509_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Invulnerables (r:0 w:1)
|
||||
/// The range of component `v` is `[0, 1000]`.
|
||||
fn set_invulnerables(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_866_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_866_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
@@ -226,21 +226,21 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking SpanSlash (r:0 w:2)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn force_unstake(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(58_815_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(58_815_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(904_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(904_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Staking UnappliedSlashes (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 1000]`.
|
||||
fn cancel_deferred_slash(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_402_940_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_402_940_000 as u64)
|
||||
// Standard Error: 237_000
|
||||
.saturating_add(Weight::from_ref_time(19_758_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(19_758_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
@@ -254,13 +254,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(73_127_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(73_127_000 as u64)
|
||||
// Standard Error: 22_000
|
||||
.saturating_add(Weight::from_ref_time(26_095_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(26_095_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
@@ -275,13 +275,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(80_071_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(80_071_000 as u64)
|
||||
// Standard Error: 25_000
|
||||
.saturating_add(Weight::from_ref_time(34_679_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(34_679_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -291,11 +291,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
/// The range of component `l` is `[1, 32]`.
|
||||
fn rebond(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(69_288_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(69_288_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:1)
|
||||
@@ -308,12 +308,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking ErasStartSessionIndex (r:0 w:1)
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn set_history_depth(e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 83_000
|
||||
.saturating_add(Weight::from_ref_time(21_591_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((7 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(21_591_000 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64)))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
@@ -330,12 +330,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking SpanSlash (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn reap_stash(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(64_446_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(64_446_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(899_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(899_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:0)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
@@ -359,16 +359,16 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `v` is `[1, 10]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
fn new_era(v: u32, n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_296_000
|
||||
.saturating_add(Weight::from_ref_time(286_045_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(286_045_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 125_000
|
||||
.saturating_add(Weight::from_ref_time(37_667_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(192 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(37_667_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(192 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
|
||||
}
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:0)
|
||||
// Storage: Staking SlashingSpans (r:21 w:0)
|
||||
@@ -383,29 +383,29 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[500, 1000]`.
|
||||
/// The range of component `s` is `[1, 20]`.
|
||||
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 108_000
|
||||
.saturating_add(Weight::from_ref_time(24_629_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(24_629_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 108_000
|
||||
.saturating_add(Weight::from_ref_time(22_598_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(22_598_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 2_778_000
|
||||
.saturating_add(Weight::from_ref_time(59_951_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(186 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(59_951_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(186 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Validators (r:501 w:0)
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
/// The range of component `v` is `[500, 1000]`.
|
||||
fn get_npos_targets(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 40_000
|
||||
.saturating_add(Weight::from_ref_time(7_752_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(7_752_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:0 w:1)
|
||||
// Storage: Staking MinValidatorBond (r:0 w:1)
|
||||
@@ -414,8 +414,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_set() -> Weight {
|
||||
Weight::from_ref_time(6_388_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(6_388_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:0 w:1)
|
||||
// Storage: Staking MinValidatorBond (r:0 w:1)
|
||||
@@ -424,8 +424,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_remove() -> Weight {
|
||||
Weight::from_ref_time(6_064_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(6_064_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
@@ -438,15 +438,15 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill_other() -> Weight {
|
||||
Weight::from_ref_time(55_742_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(55_742_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:1)
|
||||
fn force_apply_min_commission() -> Weight {
|
||||
Weight::from_ref_time(10_749_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(10_749_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_timestamp`.
|
||||
@@ -47,11 +47,11 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
// Storage: Babe CurrentSlot (r:1 w:0)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(7_545_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(7_545_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(2_089_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_089_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_tips`.
|
||||
@@ -48,18 +48,18 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 16384]`.
|
||||
fn report_awesome(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_045_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_045_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
fn retract_tip() -> Weight {
|
||||
Weight::from_ref_time(26_017_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(26_017_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: Tips Reasons (r:1 w:1)
|
||||
@@ -67,23 +67,23 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `r` is `[0, 16384]`.
|
||||
/// The range of component `t` is `[1, 19]`.
|
||||
fn tip_new(r: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_125_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_125_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `t` is `[1, 19]`.
|
||||
fn tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_895_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(10_895_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(158_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -91,20 +91,20 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 19]`.
|
||||
fn close_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_301_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(42_301_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(154_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 19]`.
|
||||
fn slash_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_548_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(16_548_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(21_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,44 +38,44 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_treasury`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
fn spend() -> Weight {
|
||||
Weight::from_ref_time(153_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(153_000 as u64)
|
||||
}
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:0 w:1)
|
||||
fn propose_spend() -> Weight {
|
||||
Weight::from_ref_time(25_149_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(25_149_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn reject_proposal() -> Weight {
|
||||
Weight::from_ref_time(35_748_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(35_748_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:0)
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 99]`.
|
||||
fn approve_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_082_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(10_082_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
fn remove_approval() -> Weight {
|
||||
Weight::from_ref_time(5_612_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(5_612_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
@@ -83,12 +83,12 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Treasury Proposals (r:2 w:2)
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn on_initialize_proposals(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_270_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(36_270_000 as u64)
|
||||
// Standard Error: 32_000
|
||||
.saturating_add(Weight::from_ref_time(30_142_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(30_142_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_utility`.
|
||||
@@ -46,26 +46,26 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_531_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_531_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(4_931_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(4_931_000 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(5_661_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(5_661_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_076_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(14_076_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(5_323_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(5_323_000 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(13_176_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(13_176_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_747_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_747_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(4_917_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(4_917_000 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_vesting`.
|
||||
@@ -49,26 +49,26 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_030_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_030_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(162_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_535_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_535_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -76,13 +76,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(29_237_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_237_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -90,13 +90,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(29_750_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_750_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
@@ -104,13 +104,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(44_092_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(44_092_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(71_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
@@ -118,13 +118,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(44_003_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(44_003_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(119_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -132,13 +132,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(29_853_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_853_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(153_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(153_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -146,12 +146,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(29_466_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_466_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(81_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(158_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::auctions`.
|
||||
@@ -47,9 +47,9 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:1)
|
||||
fn new_auction() -> Weight {
|
||||
Weight::from_ref_time(16_252_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(16_252_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
@@ -59,9 +59,9 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions ReservedAmounts (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn bid() -> Weight {
|
||||
Weight::from_ref_time(71_286_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(71_286_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Babe NextRandomness (r:1 w:0)
|
||||
@@ -76,17 +76,17 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn on_initialize() -> Weight {
|
||||
Weight::from_ref_time(15_586_491_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3688 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3683 as RefTimeWeight))
|
||||
Weight::from_ref_time(15_586_491_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3688 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3683 as u64))
|
||||
}
|
||||
// Storage: Auctions ReservedAmounts (r:37 w:36)
|
||||
// Storage: System Account (r:36 w:36)
|
||||
// Storage: Auctions Winning (r:0 w:3600)
|
||||
// Storage: Auctions AuctionInfo (r:0 w:1)
|
||||
fn cancel_auction() -> Weight {
|
||||
Weight::from_ref_time(4_628_531_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(73 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3673 as RefTimeWeight))
|
||||
Weight::from_ref_time(4_628_531_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(73 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3673 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::claims`.
|
||||
@@ -52,18 +52,18 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(139_399_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(139_399_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Claims Total (r:1 w:1)
|
||||
// Storage: Claims Vesting (r:0 w:1)
|
||||
// Storage: Claims Claims (r:0 w:1)
|
||||
// Storage: Claims Signing (r:0 w:1)
|
||||
fn mint_claim() -> Weight {
|
||||
Weight::from_ref_time(9_284_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_284_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Claims Claims (r:1 w:1)
|
||||
// Storage: Claims Signing (r:1 w:1)
|
||||
@@ -73,9 +73,9 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn claim_attest() -> Weight {
|
||||
Weight::from_ref_time(143_329_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(143_329_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Claims Preclaims (r:1 w:1)
|
||||
// Storage: Claims Signing (r:1 w:1)
|
||||
@@ -86,17 +86,17 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn attest() -> Weight {
|
||||
Weight::from_ref_time(63_456_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(63_456_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Claims Claims (r:1 w:2)
|
||||
// Storage: Claims Vesting (r:1 w:2)
|
||||
// Storage: Claims Signing (r:1 w:2)
|
||||
// Storage: Claims Preclaims (r:1 w:1)
|
||||
fn move_claim() -> Weight {
|
||||
Weight::from_ref_time(19_434_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(19_434_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::crowdloan`.
|
||||
@@ -49,9 +49,9 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Crowdloan NextFundIndex (r:1 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(43_109_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(43_109_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
@@ -61,55 +61,55 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
fn contribute() -> Weight {
|
||||
Weight::from_ref_time(113_745_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(113_745_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
|
||||
fn withdraw() -> Weight {
|
||||
Weight::from_ref_time(51_061_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(51_061_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `k` is `[0, 1000]`.
|
||||
fn refund(k: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add(Weight::from_ref_time(19_652_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(19_652_000 as u64).saturating_mul(k as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(k as u64)))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn dissolve() -> Weight {
|
||||
Weight::from_ref_time(32_094_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(32_094_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
fn edit() -> Weight {
|
||||
Weight::from_ref_time(21_360_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_360_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
fn add_memo() -> Weight {
|
||||
Weight::from_ref_time(27_303_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(27_303_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
fn poke() -> Weight {
|
||||
Weight::from_ref_time(22_441_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(22_441_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Auctions AuctionInfo (r:1 w:0)
|
||||
// Storage: Crowdloan EndingsCount (r:1 w:1)
|
||||
@@ -123,12 +123,12 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[2, 100]`.
|
||||
fn on_initialize(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 43_000
|
||||
.saturating_add(Weight::from_ref_time(51_696_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(51_696_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::paras_registrar`.
|
||||
@@ -48,9 +48,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
fn reserve() -> Weight {
|
||||
Weight::from_ref_time(28_294_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(28_294_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -62,9 +62,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn register() -> Weight {
|
||||
Weight::from_ref_time(8_981_293_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(8_981_293_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -76,9 +76,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn force_register() -> Weight {
|
||||
Weight::from_ref_time(8_918_597_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(8_918_597_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -87,9 +87,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar PendingSwap (r:0 w:1)
|
||||
fn deregister() -> Weight {
|
||||
Weight::from_ref_time(42_792_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(42_792_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:0)
|
||||
// Storage: Paras ParaLifecycles (r:2 w:2)
|
||||
@@ -99,8 +99,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Crowdloan Funds (r:2 w:2)
|
||||
// Storage: Slots Leases (r:2 w:2)
|
||||
fn swap() -> Weight {
|
||||
Weight::from_ref_time(36_942_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
|
||||
Weight::from_ref_time(36_942_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::slots`.
|
||||
@@ -47,9 +47,9 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_lease() -> Weight {
|
||||
Weight::from_ref_time(28_926_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(28_926_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: Slots Leases (r:101 w:100)
|
||||
@@ -60,24 +60,24 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
/// The range of component `c` is `[1, 100]`.
|
||||
/// The range of component `t` is `[1, 100]`.
|
||||
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 30_000
|
||||
.saturating_add(Weight::from_ref_time(6_882_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(6_882_000 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 30_000
|
||||
.saturating_add(Weight::from_ref_time(17_866_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(17_866_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(t as u64)))
|
||||
}
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:8 w:8)
|
||||
fn clear_all_leases() -> Weight {
|
||||
Weight::from_ref_time(92_846_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as RefTimeWeight))
|
||||
Weight::from_ref_time(92_846_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
}
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -85,8 +85,8 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn trigger_onboard() -> Weight {
|
||||
Weight::from_ref_time(21_081_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_081_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::configuration`.
|
||||
@@ -48,44 +48,44 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_block_number() -> Weight {
|
||||
Weight::from_ref_time(9_052_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_052_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_u32() -> Weight {
|
||||
Weight::from_ref_time(9_242_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_242_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_option_u32() -> Weight {
|
||||
Weight::from_ref_time(9_372_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_372_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_weight() -> Weight {
|
||||
Weight::from_ref_time(9_436_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_436_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn set_hrmp_open_request_ttl() -> Weight {
|
||||
Weight::from_ref_time(2_000_000_000_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_balance() -> Weight {
|
||||
Weight::from_ref_time(9_373_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_373_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::disputes`.
|
||||
@@ -46,7 +46,7 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ParasDisputes Frozen (r:0 w:1)
|
||||
fn force_unfreeze() -> Weight {
|
||||
Weight::from_ref_time(3_180_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_180_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::hrmp`.
|
||||
@@ -53,9 +53,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_init_open_channel() -> Weight {
|
||||
Weight::from_ref_time(38_011_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(38_011_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
@@ -64,9 +64,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_accept_open_channel() -> Weight {
|
||||
Weight::from_ref_time(33_575_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(33_575_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Hrmp HrmpChannels (r:1 w:0)
|
||||
// Storage: Hrmp HrmpCloseChannelRequests (r:1 w:1)
|
||||
@@ -74,9 +74,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_close_channel() -> Weight {
|
||||
Weight::from_ref_time(31_589_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(31_589_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:127)
|
||||
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:1)
|
||||
@@ -87,17 +87,17 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
/// The range of component `i` is `[0, 127]`.
|
||||
/// The range of component `e` is `[0, 127]`.
|
||||
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 22_000
|
||||
.saturating_add(Weight::from_ref_time(9_971_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(9_971_000 as u64).saturating_mul(i as u64))
|
||||
// Standard Error: 22_000
|
||||
.saturating_add(Weight::from_ref_time(9_951_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(9_951_000 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(i as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(e as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(i as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(e as u64)))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:0)
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
|
||||
@@ -109,13 +109,13 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpChannels (r:0 w:2)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn force_process_hrmp_open(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 35_000
|
||||
.saturating_add(Weight::from_ref_time(23_340_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((7 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((6 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(23_340_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:0)
|
||||
// Storage: Hrmp HrmpChannels (r:2 w:2)
|
||||
@@ -125,35 +125,35 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpChannelContents (r:0 w:2)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn force_process_hrmp_close(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 23_000
|
||||
.saturating_add(Weight::from_ref_time(13_159_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((5 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(13_159_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_400_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(26_400_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn clean_open_channel_requests(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(3_786_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(3_786_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::initializer`.
|
||||
@@ -47,10 +47,10 @@ impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for We
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
/// The range of component `d` is `[0, 65536]`.
|
||||
fn force_approve(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_367_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(6_367_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::paras`.
|
||||
@@ -52,19 +52,19 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CodeByHash (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn force_set_current_code(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 1048576]`.
|
||||
fn force_set_current_head(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Paras FutureCodeHash (r:1 w:1)
|
||||
// Storage: Paras CurrentCodeHash (r:1 w:0)
|
||||
@@ -78,54 +78,54 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 1048576]`.
|
||||
fn force_note_new_head(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
fn force_queue_action() -> Weight {
|
||||
Weight::from_ref_time(19_558_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(19_558_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
|
||||
// Storage: Paras CodeByHash (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn add_trusted_validation_code(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:0)
|
||||
// Storage: Paras CodeByHash (r:0 w:1)
|
||||
fn poke_unused_validation_code() -> Weight {
|
||||
Weight::from_ref_time(4_740_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(4_740_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
|
||||
fn include_pvf_check_statement() -> Weight {
|
||||
Weight::from_ref_time(90_598_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(90_598_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
@@ -135,9 +135,9 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight {
|
||||
Weight::from_ref_time(687_743_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(104 as RefTimeWeight))
|
||||
Weight::from_ref_time(687_743_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(104 as u64))
|
||||
}
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
@@ -148,9 +148,9 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:100)
|
||||
// Storage: Paras FutureCodeHash (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight {
|
||||
Weight::from_ref_time(643_066_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(204 as RefTimeWeight))
|
||||
Weight::from_ref_time(643_066_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(204 as u64))
|
||||
}
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
@@ -158,9 +158,9 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras PvfActiveVoteList (r:1 w:1)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight {
|
||||
Weight::from_ref_time(545_691_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(545_691_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
@@ -172,8 +172,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:100)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight {
|
||||
Weight::from_ref_time(722_173_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(304 as RefTimeWeight))
|
||||
Weight::from_ref_time(722_173_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(304 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::paras_inherent`.
|
||||
@@ -76,11 +76,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `v` is `[10, 200]`.
|
||||
fn enter_variable_disputes(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(382_740_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(382_740_000 as u64)
|
||||
// Standard Error: 25_000
|
||||
.saturating_add(Weight::from_ref_time(48_643_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(28 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(18 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(48_643_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(28 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(18 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
@@ -112,9 +112,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_bitfields() -> Weight {
|
||||
Weight::from_ref_time(375_411_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(25 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as RefTimeWeight))
|
||||
Weight::from_ref_time(375_411_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(25 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
@@ -148,11 +148,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `v` is `[101, 200]`.
|
||||
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(1_067_738_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(1_067_738_000 as u64)
|
||||
// Standard Error: 48_000
|
||||
.saturating_add(Weight::from_ref_time(47_926_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(28 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(47_926_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(28 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
@@ -187,8 +187,8 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_backed_candidate_code_upgrade() -> Weight {
|
||||
Weight::from_ref_time(45_676_661_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(30 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
|
||||
Weight::from_ref_time(45_676_661_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(30 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::ump`.
|
||||
@@ -46,23 +46,23 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[0, 51200]`.
|
||||
fn process_upward_message(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(5_919_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(5_919_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64))
|
||||
}
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: Ump RelayDispatchQueues (r:0 w:1)
|
||||
// Storage: Ump RelayDispatchQueueSize (r:0 w:1)
|
||||
fn clean_ump_after_outgoing() -> Weight {
|
||||
Weight::from_ref_time(6_895_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(6_895_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Ump Overweight (r:1 w:1)
|
||||
fn service_overweight() -> Weight {
|
||||
Weight::from_ref_time(22_805_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(22_805_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weights for `pallet_xcm_benchmarks::fungible`.
|
||||
@@ -47,15 +47,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
pub(crate) fn withdraw_asset() -> Weight {
|
||||
Weight::from_ref_time(20_385_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(20_385_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
pub(crate) fn transfer_asset() -> Weight {
|
||||
Weight::from_ref_time(32_756_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(32_756_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: XcmPallet SupportedVersion (r:1 w:0)
|
||||
@@ -65,25 +65,25 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
pub(crate) fn transfer_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(50_645_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(50_645_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
pub(crate) fn reserve_asset_deposited() -> Weight {
|
||||
Weight::from_ref_time(2_000_000_000_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
pub(crate) fn receive_teleported_asset() -> Weight {
|
||||
Weight::from_ref_time(19_595_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(19_595_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
pub(crate) fn deposit_asset() -> Weight {
|
||||
Weight::from_ref_time(21_763_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_763_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: XcmPallet SupportedVersion (r:1 w:0)
|
||||
@@ -93,9 +93,9 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
pub(crate) fn deposit_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(40_930_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(40_930_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: XcmPallet SupportedVersion (r:1 w:0)
|
||||
@@ -105,8 +105,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
pub(crate) fn initiate_teleport() -> Weight {
|
||||
Weight::from_ref_time(40_788_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(40_788_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weights for `pallet_xcm_benchmarks::generic`.
|
||||
@@ -52,38 +52,38 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
pub(crate) fn query_holding() -> Weight {
|
||||
Weight::from_ref_time(21_822_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_822_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
pub(crate) fn buy_execution() -> Weight {
|
||||
Weight::from_ref_time(3_109_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_109_000 as u64)
|
||||
}
|
||||
// Storage: XcmPallet Queries (r:1 w:0)
|
||||
pub(crate) fn query_response() -> Weight {
|
||||
Weight::from_ref_time(12_087_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(12_087_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
pub(crate) fn transact() -> Weight {
|
||||
Weight::from_ref_time(12_398_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_398_000 as u64)
|
||||
}
|
||||
pub(crate) fn refund_surplus() -> Weight {
|
||||
Weight::from_ref_time(3_247_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_247_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_error_handler() -> Weight {
|
||||
Weight::from_ref_time(3_086_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_086_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_appendix() -> Weight {
|
||||
Weight::from_ref_time(3_112_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_112_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_error() -> Weight {
|
||||
Weight::from_ref_time(3_118_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_118_000 as u64)
|
||||
}
|
||||
pub(crate) fn descend_origin() -> Weight {
|
||||
Weight::from_ref_time(4_054_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(4_054_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_origin() -> Weight {
|
||||
Weight::from_ref_time(3_111_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_111_000 as u64)
|
||||
}
|
||||
// Storage: XcmPallet SupportedVersion (r:1 w:0)
|
||||
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
|
||||
@@ -92,18 +92,18 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
pub(crate) fn report_error() -> Weight {
|
||||
Weight::from_ref_time(18_425_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(18_425_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: XcmPallet AssetTraps (r:1 w:1)
|
||||
pub(crate) fn claim_asset() -> Weight {
|
||||
Weight::from_ref_time(7_144_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(7_144_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
pub(crate) fn trap() -> Weight {
|
||||
Weight::from_ref_time(3_060_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_060_000 as u64)
|
||||
}
|
||||
// Storage: XcmPallet VersionNotifyTargets (r:1 w:1)
|
||||
// Storage: XcmPallet SupportedVersion (r:1 w:0)
|
||||
@@ -113,14 +113,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
pub(crate) fn subscribe_version() -> Weight {
|
||||
Weight::from_ref_time(21_642_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_642_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: XcmPallet VersionNotifyTargets (r:0 w:1)
|
||||
pub(crate) fn unsubscribe_version() -> Weight {
|
||||
Weight::from_ref_time(4_873_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(4_873_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: XcmPallet SupportedVersion (r:1 w:0)
|
||||
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
|
||||
@@ -129,8 +129,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
||||
Weight::from_ref_time(22_809_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(22_809_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_benchmarking::baseline`.
|
||||
@@ -46,46 +46,46 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn addition(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(122_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(122_000 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(118_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(118_000 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(112_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(112_000 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(115_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(115_000 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn hashing(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_362_503_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_362_503_000 as u64)
|
||||
// Standard Error: 194_000
|
||||
.saturating_add(Weight::from_ref_time(389_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(389_000 as u64).saturating_mul(i as u64))
|
||||
}
|
||||
/// The range of component `i` is `[1, 100]`.
|
||||
fn sr25519_verification(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 39_000
|
||||
.saturating_add(Weight::from_ref_time(47_745_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(47_745_000 as u64).saturating_mul(i as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_read(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(2_129_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(2_129_000 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_write(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(330_000 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_election_provider_support`.
|
||||
@@ -48,20 +48,20 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 94_000
|
||||
.saturating_add(Weight::from_ref_time(22_018_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(22_018_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 8_192_000
|
||||
.saturating_add(Weight::from_ref_time(3_552_773_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_552_773_000 as u64).saturating_mul(d as u64))
|
||||
}
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 74_000
|
||||
.saturating_add(Weight::from_ref_time(14_903_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(14_903_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 6_457_000
|
||||
.saturating_add(Weight::from_ref_time(2_556_711_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_556_711_000 as u64).saturating_mul(d as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_system`.
|
||||
@@ -46,45 +46,45 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
Weight::from_ref_time(4_732_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(4_732_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(546_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(546_000 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(444_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(444_000 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `p` is `[1, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(961_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(961_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_bags_list`.
|
||||
@@ -49,18 +49,18 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
Weight::from_ref_time(51_184_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(51_184_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn rebag_terminal() -> Weight {
|
||||
Weight::from_ref_time(48_605_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(48_605_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
@@ -68,8 +68,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn put_in_front_of() -> Weight {
|
||||
Weight::from_ref_time(52_660_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(52_660_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_balances`.
|
||||
@@ -46,44 +46,44 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(38_099_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(38_099_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
Weight::from_ref_time(28_954_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(28_954_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_creating() -> Weight {
|
||||
Weight::from_ref_time(19_163_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(19_163_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_killing() -> Weight {
|
||||
Weight::from_ref_time(22_204_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(22_204_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(38_450_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(38_450_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_all() -> Weight {
|
||||
Weight::from_ref_time(33_958_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(33_958_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_unreserve() -> Weight {
|
||||
Weight::from_ref_time(17_120_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(17_120_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_bounties`.
|
||||
@@ -50,90 +50,90 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Bounties Bounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn propose_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_205_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(26_205_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
fn approve_bounty() -> Weight {
|
||||
Weight::from_ref_time(9_686_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_686_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(8_118_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(8_118_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(35_374_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(35_374_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(22_927_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(22_927_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
fn award_bounty() -> Weight {
|
||||
Weight::from_ref_time(19_186_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(19_186_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn claim_bounty() -> Weight {
|
||||
Weight::from_ref_time(63_444_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(63_444_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_proposed() -> Weight {
|
||||
Weight::from_ref_time(38_612_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(38_612_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(46_153_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(46_153_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn extend_bounty_expiry() -> Weight {
|
||||
Weight::from_ref_time(16_573_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(16_573_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `b` is `[1, 100]`.
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 28_000
|
||||
.saturating_add(Weight::from_ref_time(29_706_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(29_706_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_child_bounties`.
|
||||
@@ -52,51 +52,51 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn add_child_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(47_819_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(47_819_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(14_018_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(14_018_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(25_943_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(25_943_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(38_240_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(38_240_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
fn award_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(20_823_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(20_823_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn claim_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(63_323_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(63_323_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
@@ -105,9 +105,9 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_added() -> Weight {
|
||||
Weight::from_ref_time(45_174_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(45_174_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
@@ -116,8 +116,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(54_312_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(54_312_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
@@ -49,36 +49,36 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance1Collective Voting (r:100 w:100)
|
||||
// Storage: Instance1Collective Prime (r:0 w:1)
|
||||
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(14_248_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(14_248_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(320_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(320_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(19_166_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(19_166_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_101_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_101_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(83_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
// Storage: Instance1Collective ProposalOf (r:1 w:0)
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_378_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_378_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
// Storage: Instance1Collective ProposalOf (r:1 w:1)
|
||||
@@ -86,52 +86,52 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance1Collective ProposalCount (r:1 w:1)
|
||||
// Storage: Instance1Collective Voting (r:0 w:1)
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_063_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(40_063_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(88_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(373_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(373_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
// Storage: Instance1Collective Voting (r:1 w:1)
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_307_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(31_307_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(196_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(196_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Voting (r:1 w:1)
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
// Storage: Instance1Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance1Collective ProposalOf (r:0 w:1)
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(39_515_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(39_515_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(165_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(165_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(343_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(343_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Voting (r:1 w:1)
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
// Storage: Instance1Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance1Collective Proposals (r:1 w:1)
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(54_757_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(54_757_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(340_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(340_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Voting (r:1 w:1)
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
@@ -139,13 +139,13 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance1Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance1Collective ProposalOf (r:0 w:1)
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(43_851_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(43_851_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(167_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(344_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(344_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Voting (r:1 w:1)
|
||||
// Storage: Instance1Collective Members (r:1 w:0)
|
||||
@@ -153,24 +153,24 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance1Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance1Collective Proposals (r:1 w:1)
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(57_946_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(57_946_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(168_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(344_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(344_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance1Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance1Collective Voting (r:0 w:1)
|
||||
// Storage: Instance1Collective ProposalOf (r:0 w:1)
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_228_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(24_228_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(348_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(348_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
@@ -49,36 +49,36 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance2Collective Voting (r:100 w:100)
|
||||
// Storage: Instance2Collective Prime (r:0 w:1)
|
||||
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(14_085_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(14_085_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(40_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(40_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(19_086_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(19_086_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_082_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_082_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(79_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:0)
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_580_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_580_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(157_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:1)
|
||||
@@ -86,52 +86,52 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance2Collective ProposalCount (r:1 w:1)
|
||||
// Storage: Instance2Collective Voting (r:0 w:1)
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_015_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(40_015_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(371_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(371_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_124_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(31_124_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(195_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(195_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance2Collective ProposalOf (r:0 w:1)
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(39_289_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(39_289_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(167_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(342_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(342_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(54_722_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(54_722_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
@@ -139,13 +139,13 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance2Collective ProposalOf (r:0 w:1)
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(43_840_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(43_840_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(168_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(340_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(340_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
@@ -153,24 +153,24 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(58_145_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(58_145_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(168_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(341_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(341_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance2Collective Voting (r:0 w:1)
|
||||
// Storage: Instance2Collective ProposalOf (r:0 w:1)
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_137_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(24_137_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(348_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(348_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_democracy`.
|
||||
@@ -49,47 +49,47 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
// Storage: Democracy DepositOf (r:0 w:1)
|
||||
fn propose() -> Weight {
|
||||
Weight::from_ref_time(37_411_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(37_411_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn second(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_380_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(27_380_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(67_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn vote_new(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_299_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(35_299_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn vote_existing(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_585_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(35_585_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
Weight::from_ref_time(17_502_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(17_502_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:1 w:1)
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
@@ -99,87 +99,87 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn blacklist(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(51_416_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(51_416_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(181_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(181_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
/// The range of component `v` is `[1, 100]`.
|
||||
fn external_propose(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_901_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(9_901_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
Weight::from_ref_time(3_582_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_582_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
Weight::from_ref_time(3_595_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_595_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn fast_track() -> Weight {
|
||||
Weight::from_ref_time(17_658_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(17_658_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
/// The range of component `v` is `[0, 100]`.
|
||||
fn veto_external(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_457_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(18_457_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(45_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:1 w:1)
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn cancel_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_442_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(42_442_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(150_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(150_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
Weight::from_ref_time(12_097_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(12_097_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn cancel_queued(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_952_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_952_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(1_756_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_756_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:0)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(1_874_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(1_874_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(2_927_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_927_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:0)
|
||||
@@ -189,111 +189,111 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_956_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(4_956_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(3_013_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_013_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:3 w:3)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_923_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(35_923_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(3_904_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(3_904_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:2 w:2)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_735_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_735_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(3_853_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(3_853_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:0 w:1)
|
||||
fn clear_public_proposals() -> Weight {
|
||||
Weight::from_ref_time(3_842_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_842_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
/// The range of component `b` is `[0, 16384]`.
|
||||
fn note_preimage(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_748_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_748_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
/// The range of component `b` is `[0, 16384]`.
|
||||
fn note_imminent_preimage(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_855_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(17_855_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:0)
|
||||
/// The range of component `b` is `[0, 16384]`.
|
||||
fn reap_preimage(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_856_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(24_856_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_749_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_749_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(33_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_921_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_921_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(102_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(13_586_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(13_586_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(98_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(98_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 99]`.
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(13_599_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(13_599_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(96_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(96_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_election_provider_multi_phase`.
|
||||
@@ -53,35 +53,35 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: Staking ForceEra (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
fn on_initialize_nothing() -> Weight {
|
||||
Weight::from_ref_time(13_304_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
Weight::from_ref_time(13_304_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_signed() -> Weight {
|
||||
Weight::from_ref_time(12_920_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(12_920_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_unsigned() -> Weight {
|
||||
Weight::from_ref_time(12_482_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(12_482_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
|
||||
fn finalize_signed_phase_accept_solution() -> Weight {
|
||||
Weight::from_ref_time(25_726_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(25_726_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn finalize_signed_phase_reject_solution() -> Weight {
|
||||
Weight::from_ref_time(19_640_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(19_640_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
@@ -89,12 +89,12 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
fn create_snapshot_internal(v: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(406_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(406_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
@@ -109,13 +109,13 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn elect_queued(a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(113_324_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(113_324_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(342_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(342_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 11_000
|
||||
.saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(54_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
@@ -124,9 +124,9 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
|
||||
fn submit() -> Weight {
|
||||
Weight::from_ref_time(45_851_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(45_851_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
@@ -140,17 +140,17 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(850_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(850_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 11_000
|
||||
.saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(11_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(7_957_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(7_957_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 28_000
|
||||
.saturating_add(Weight::from_ref_time(1_659_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_659_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
@@ -161,15 +161,15 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(856_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(856_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(63_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 16_000
|
||||
.saturating_add(Weight::from_ref_time(5_762_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(5_762_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 24_000
|
||||
.saturating_add(Weight::from_ref_time(1_360_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_360_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_elections_phragmen`.
|
||||
@@ -51,11 +51,11 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[1, 16]`.
|
||||
fn vote_equal(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_201_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(24_201_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(157_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:0)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -64,11 +64,11 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_more(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_619_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(36_619_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(161_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:0)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -77,38 +77,38 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_less(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_953_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(36_953_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(121_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(121_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn remove_voter() -> Weight {
|
||||
Weight::from_ref_time(32_792_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(32_792_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:0)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn submit_candidacy(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_285_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(26_285_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(98_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(98_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_041_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(23_041_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(64_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
@@ -116,19 +116,19 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn renounce_candidacy_members() -> Weight {
|
||||
Weight::from_ref_time(41_166_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(41_166_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
fn renounce_candidacy_runners_up() -> Weight {
|
||||
Weight::from_ref_time(30_928_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(30_928_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn remove_member_without_replacement() -> Weight {
|
||||
Weight::from_ref_time(2_000_000_000_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
@@ -137,9 +137,9 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn remove_member_with_replacement() -> Weight {
|
||||
Weight::from_ref_time(57_000_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(57_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:5001 w:5000)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -150,12 +150,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
/// The range of component `v` is `[5000, 10000]`.
|
||||
/// The range of component `d` is `[1, 5000]`.
|
||||
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 74_000
|
||||
.saturating_add(Weight::from_ref_time(61_573_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(61_573_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
@@ -170,14 +170,14 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
/// The range of component `v` is `[1, 10000]`.
|
||||
/// The range of component `e` is `[10000, 160000]`.
|
||||
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_489_000
|
||||
.saturating_add(Weight::from_ref_time(138_137_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(138_137_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 99_000
|
||||
.saturating_add(Weight::from_ref_time(7_943_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(269 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(7_943_000 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(269 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_identity`.
|
||||
@@ -47,48 +47,48 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn add_registrar(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_723_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(15_723_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn set_identity(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_673_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_673_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(188_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(188_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(335_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn set_subs_new(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_786_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_786_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(2_924_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(2_924_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn set_subs_old(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_940_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_940_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(917_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(917_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
@@ -97,81 +97,81 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_589_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(30_589_000 as u64)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(106_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(929_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(929_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(168_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn request_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_524_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(30_524_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn cancel_request(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_075_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_075_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(114_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(330_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_835_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(6_835_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_account_id(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_829_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(6_829_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(119_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fields(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_029_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(7_029_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(118_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn provide_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_589_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_589_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(112_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
@@ -181,55 +181,55 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(46_356_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(46_356_000 as u64)
|
||||
// Standard Error: 11_000
|
||||
.saturating_add(Weight::from_ref_time(93_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(93_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(932_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(932_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
fn add_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_155_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(33_155_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn rename_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_099_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_099_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(28_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn remove_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_432_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(34_432_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
fn quit_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_989_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(23_989_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_im_online`.
|
||||
@@ -52,12 +52,12 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `k` is `[1, 1000]`.
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(75_125_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(75_125_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(309_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(309_000 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_indices`.
|
||||
@@ -46,34 +46,34 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(23_458_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(23_458_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(29_114_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(29_114_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn free() -> Weight {
|
||||
Weight::from_ref_time(24_000_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(24_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(23_959_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(23_959_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
Weight::from_ref_time(26_773_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(26_773_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_membership`.
|
||||
@@ -50,11 +50,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 99]`.
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_204_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(18_204_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(55_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
@@ -63,11 +63,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_617_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_617_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(45_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
@@ -76,11 +76,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_686_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_686_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(59_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
@@ -89,11 +89,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_032_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_032_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(179_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
@@ -102,30 +102,30 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_386_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_386_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(56_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:0)
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_077_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(7_077_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(11_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_931_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_931_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_multisig`.
|
||||
@@ -46,22 +46,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(13_989_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(13_989_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_373_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(30_373_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(104_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(104_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
@@ -69,38 +69,38 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_912_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(32_912_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(108_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(108_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_525_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_525_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(106_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_081_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(31_081_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(126_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
@@ -108,53 +108,53 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(44_011_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(44_011_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(101_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_889_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_889_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_135_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_135_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(61_253_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(61_253_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(139_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(139_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(44_745_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(44_745_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(116_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(116_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_nomination_pools`.
|
||||
@@ -58,9 +58,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn join() -> Weight {
|
||||
Weight::from_ref_time(127_049_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(17 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
|
||||
Weight::from_ref_time(127_049_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(17 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
@@ -72,9 +72,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_transfer() -> Weight {
|
||||
Weight::from_ref_time(118_664_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(14 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
|
||||
Weight::from_ref_time(118_664_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(14 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
@@ -86,18 +86,18 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: VoterList ListNodes (r:2 w:2)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_reward() -> Weight {
|
||||
Weight::from_ref_time(128_259_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
|
||||
Weight::from_ref_time(128_259_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn claim_payout() -> Weight {
|
||||
Weight::from_ref_time(48_002_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(48_002_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
@@ -114,9 +114,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
|
||||
fn unbond() -> Weight {
|
||||
Weight::from_ref_time(126_313_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(18 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(13 as RefTimeWeight))
|
||||
Weight::from_ref_time(126_313_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(18 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(13 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
@@ -124,11 +124,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_173_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(41_173_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(31_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
@@ -140,11 +140,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(80_122_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(80_122_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(39_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
@@ -167,11 +167,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(137_635_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(137_635_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(19 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(19 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: NominationPools MinCreateBond (r:1 w:0)
|
||||
@@ -196,9 +196,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(130_180_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(22 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as RefTimeWeight))
|
||||
Weight::from_ref_time(130_180_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(22 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
@@ -214,28 +214,28 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 16]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(49_620_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(49_620_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(2_222_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_222_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
fn set_state() -> Weight {
|
||||
Weight::from_ref_time(25_600_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(25_600_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: NominationPools Metadata (r:1 w:1)
|
||||
// Storage: NominationPools CounterForMetadata (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn set_metadata(_n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_190_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(14_190_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: NominationPools MinJoinBond (r:0 w:1)
|
||||
// Storage: NominationPools MaxPoolMembers (r:0 w:1)
|
||||
@@ -243,14 +243,14 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools MinCreateBond (r:0 w:1)
|
||||
// Storage: NominationPools MaxPools (r:0 w:1)
|
||||
fn set_configs() -> Weight {
|
||||
Weight::from_ref_time(6_590_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(6_590_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
fn update_roles() -> Weight {
|
||||
Weight::from_ref_time(21_132_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_132_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
@@ -261,8 +261,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
Weight::from_ref_time(47_706_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(47_706_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_preimage`.
|
||||
@@ -48,88 +48,88 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:0)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_requested_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:0)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_no_deposit_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_preimage() -> Weight {
|
||||
Weight::from_ref_time(35_230_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(35_230_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(23_166_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(23_166_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_preimage() -> Weight {
|
||||
Weight::from_ref_time(32_732_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(32_732_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(21_601_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_601_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(16_024_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(16_024_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_requested_preimage() -> Weight {
|
||||
Weight::from_ref_time(6_304_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(6_304_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unrequest_preimage() -> Weight {
|
||||
Weight::from_ref_time(22_524_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(22_524_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unrequest_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(15_432_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(15_432_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_multi_referenced_preimage() -> Weight {
|
||||
Weight::from_ref_time(6_208_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(6_208_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_proxy`.
|
||||
@@ -47,10 +47,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_881_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(17_881_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
@@ -58,39 +58,39 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_622_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(33_622_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(43_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_694_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_694_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(8_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(8_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_041_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(23_041_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(152_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(152_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
@@ -98,58 +98,58 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn announce(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_007_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(30_007_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn add_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_173_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_173_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(90_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_002_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_002_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxies(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_348_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_348_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(54_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn anonymous(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_480_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_480_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 30]`.
|
||||
fn kill_anonymous(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_099_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_099_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(71_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_scheduler`.
|
||||
@@ -50,13 +50,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_445_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_445_000 as u64)
|
||||
// Standard Error: 39_000
|
||||
.saturating_add(Weight::from_ref_time(25_402_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((4 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(25_402_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
@@ -64,144 +64,144 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_named_resolved(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_668_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_668_000 as u64)
|
||||
// Standard Error: 35_000
|
||||
.saturating_add(Weight::from_ref_time(20_334_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(20_334_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(125_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(125_000 as u64)
|
||||
// Standard Error: 37_000
|
||||
.saturating_add(Weight::from_ref_time(23_169_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(23_169_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_resolved(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_788_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(7_788_000 as u64)
|
||||
// Standard Error: 53_000
|
||||
.saturating_add(Weight::from_ref_time(19_336_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(19_336_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Preimage PreimageFor (r:1 w:0)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_named_aborted(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_356_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(4_356_000 as u64)
|
||||
// Standard Error: 16_000
|
||||
.saturating_add(Weight::from_ref_time(8_792_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(8_792_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Preimage PreimageFor (r:1 w:0)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_aborted(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(5_559_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(5_559_000 as u64)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add(Weight::from_ref_time(6_664_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(6_664_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_periodic_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_201_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(10_201_000 as u64)
|
||||
// Standard Error: 24_000
|
||||
.saturating_add(Weight::from_ref_time(15_168_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(15_168_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_periodic(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_698_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(10_698_000 as u64)
|
||||
// Standard Error: 20_000
|
||||
.saturating_add(Weight::from_ref_time(12_938_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(12_938_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(11_043_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(11_043_000 as u64)
|
||||
// Standard Error: 18_000
|
||||
.saturating_add(Weight::from_ref_time(10_555_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(10_555_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn on_initialize(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(11_488_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(11_488_000 as u64)
|
||||
// Standard Error: 18_000
|
||||
.saturating_add(Weight::from_ref_time(9_623_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(9_623_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn schedule(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_103_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_103_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(48_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn cancel(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_526_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(18_526_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(1_845_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_845_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn schedule_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_422_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_422_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(59_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn cancel_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_181_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_181_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(1_852_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_852_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_session`.
|
||||
@@ -48,16 +48,16 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:6 w:6)
|
||||
fn set_keys() -> Weight {
|
||||
Weight::from_ref_time(42_571_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(42_571_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:6)
|
||||
fn purge_keys() -> Weight {
|
||||
Weight::from_ref_time(26_667_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(26_667_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_staking`.
|
||||
@@ -51,9 +51,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn bond() -> Weight {
|
||||
Weight::from_ref_time(38_939_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(38_939_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
@@ -61,9 +61,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra() -> Weight {
|
||||
Weight::from_ref_time(69_559_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(69_559_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
@@ -75,9 +75,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn unbond() -> Weight {
|
||||
Weight::from_ref_time(75_195_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
|
||||
Weight::from_ref_time(75_195_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
@@ -85,11 +85,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_282_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(31_282_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(32_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(32_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
@@ -106,9 +106,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(60_846_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(11 as RefTimeWeight))
|
||||
Weight::from_ref_time(60_846_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(11 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking MinValidatorBond (r:1 w:0)
|
||||
@@ -122,20 +122,20 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForValidators (r:1 w:1)
|
||||
fn validate() -> Weight {
|
||||
Weight::from_ref_time(49_099_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(49_099_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
/// The range of component `k` is `[1, 128]`.
|
||||
fn kick(k: u32, ) -> Weight {
|
||||
Weight::from_ref_time(11_488_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(11_488_000 as u64)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add(Weight::from_ref_time(8_257_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(8_257_000 as u64).saturating_mul(k as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64)))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
@@ -150,12 +150,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 16]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(52_331_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(52_331_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(3_297_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_297_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
@@ -165,51 +165,51 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
Weight::from_ref_time(46_346_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(46_346_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn set_payee() -> Weight {
|
||||
Weight::from_ref_time(9_573_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_573_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
fn set_controller() -> Weight {
|
||||
Weight::from_ref_time(16_956_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(16_956_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Staking ValidatorCount (r:0 w:1)
|
||||
fn set_validator_count() -> Weight {
|
||||
Weight::from_ref_time(3_283_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_283_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_no_eras() -> Weight {
|
||||
Weight::from_ref_time(3_218_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_218_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era() -> Weight {
|
||||
Weight::from_ref_time(3_188_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_188_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era_always() -> Weight {
|
||||
Weight::from_ref_time(3_254_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_254_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Invulnerables (r:0 w:1)
|
||||
/// The range of component `v` is `[0, 1000]`.
|
||||
fn set_invulnerables(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_706_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_706_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
@@ -226,21 +226,21 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking SpanSlash (r:0 w:2)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn force_unstake(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(58_154_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(58_154_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(894_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(894_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: Staking UnappliedSlashes (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 1000]`.
|
||||
fn cancel_deferred_slash(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(2_565_318_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_565_318_000 as u64)
|
||||
// Standard Error: 176_000
|
||||
.saturating_add(Weight::from_ref_time(14_870_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(14_870_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
@@ -254,13 +254,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(79_314_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(79_314_000 as u64)
|
||||
// Standard Error: 20_000
|
||||
.saturating_add(Weight::from_ref_time(25_615_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(25_615_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
@@ -275,13 +275,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(100_678_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(100_678_000 as u64)
|
||||
// Standard Error: 26_000
|
||||
.saturating_add(Weight::from_ref_time(34_451_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(34_451_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -291,11 +291,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
/// The range of component `l` is `[1, 32]`.
|
||||
fn rebond(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(68_008_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(68_008_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:1)
|
||||
@@ -308,12 +308,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking ErasStartSessionIndex (r:0 w:1)
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn set_history_depth(e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 84_000
|
||||
.saturating_add(Weight::from_ref_time(21_963_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((7 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(21_963_000 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64)))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
@@ -330,12 +330,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking SpanSlash (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn reap_stash(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(66_394_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(66_394_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(874_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(874_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
}
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:0)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
@@ -359,16 +359,16 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `v` is `[1, 10]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
fn new_era(v: u32, n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_253_000
|
||||
.saturating_add(Weight::from_ref_time(288_357_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(288_357_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 120_000
|
||||
.saturating_add(Weight::from_ref_time(38_464_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(187 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(38_464_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(187 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
|
||||
}
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:0)
|
||||
// Storage: Staking SlashingSpans (r:21 w:0)
|
||||
@@ -383,29 +383,29 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[500, 1000]`.
|
||||
/// The range of component `s` is `[1, 20]`.
|
||||
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 117_000
|
||||
.saturating_add(Weight::from_ref_time(25_453_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(25_453_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 117_000
|
||||
.saturating_add(Weight::from_ref_time(22_630_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(22_630_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 2_987_000
|
||||
.saturating_add(Weight::from_ref_time(45_604_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(181 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(45_604_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(181 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Validators (r:501 w:0)
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
/// The range of component `v` is `[500, 1000]`.
|
||||
fn get_npos_targets(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 37_000
|
||||
.saturating_add(Weight::from_ref_time(7_545_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(7_545_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:0 w:1)
|
||||
// Storage: Staking MinValidatorBond (r:0 w:1)
|
||||
@@ -414,8 +414,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_set() -> Weight {
|
||||
Weight::from_ref_time(6_204_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(6_204_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:0 w:1)
|
||||
// Storage: Staking MinValidatorBond (r:0 w:1)
|
||||
@@ -424,8 +424,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_remove() -> Weight {
|
||||
Weight::from_ref_time(5_674_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(5_674_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
@@ -438,15 +438,15 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill_other() -> Weight {
|
||||
Weight::from_ref_time(57_011_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(57_011_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:1)
|
||||
fn force_apply_min_commission() -> Weight {
|
||||
Weight::from_ref_time(10_470_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(10_470_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_timestamp`.
|
||||
@@ -47,11 +47,11 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
// Storage: Babe CurrentSlot (r:1 w:0)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(7_506_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(7_506_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(2_200_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_200_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_tips`.
|
||||
@@ -48,18 +48,18 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 16384]`.
|
||||
fn report_awesome(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_718_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(27_718_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
fn retract_tip() -> Weight {
|
||||
Weight::from_ref_time(26_157_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(26_157_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: Tips Reasons (r:1 w:1)
|
||||
@@ -67,23 +67,23 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `r` is `[0, 16384]`.
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn tip_new(r: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_664_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(18_664_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(63_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_863_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(10_863_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(162_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -91,20 +91,20 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn close_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_570_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(41_570_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(195_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(195_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn slash_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_365_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(16_365_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(11_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,44 +38,44 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_treasury`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
fn spend() -> Weight {
|
||||
Weight::from_ref_time(150_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(150_000 as u64)
|
||||
}
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:0 w:1)
|
||||
fn propose_spend() -> Weight {
|
||||
Weight::from_ref_time(24_642_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(24_642_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn reject_proposal() -> Weight {
|
||||
Weight::from_ref_time(34_552_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(34_552_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:0)
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 99]`.
|
||||
fn approve_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_927_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(9_927_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(38_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
fn remove_approval() -> Weight {
|
||||
Weight::from_ref_time(5_599_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(5_599_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
@@ -83,12 +83,12 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn on_initialize_proposals(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_797_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(17_797_000 as u64)
|
||||
// Standard Error: 28_000
|
||||
.saturating_add(Weight::from_ref_time(29_621_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(29_621_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_utility`.
|
||||
@@ -46,26 +46,26 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_546_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(14_546_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(4_678_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(4_678_000 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(5_507_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(5_507_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_316_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_316_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(4_969_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(4_969_000 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(12_904_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_904_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_799_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(15_799_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(4_646_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(4_646_000 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_vesting`.
|
||||
@@ -49,26 +49,26 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_194_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_194_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(161_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_109_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_109_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(67_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -76,13 +76,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(28_316_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_316_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(154_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -90,13 +90,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(28_998_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_998_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(106_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
@@ -104,13 +104,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_983_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(42_983_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(73_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(126_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
@@ -118,13 +118,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(42_800_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(42_800_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(57_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(148_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(148_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -132,13 +132,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(29_188_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_188_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(73_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(157_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -146,12 +146,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(29_144_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_144_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(71_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(149_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(149_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::auctions`.
|
||||
@@ -47,9 +47,9 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:1)
|
||||
fn new_auction() -> Weight {
|
||||
Weight::from_ref_time(15_720_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(15_720_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
@@ -59,9 +59,9 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions ReservedAmounts (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn bid() -> Weight {
|
||||
Weight::from_ref_time(70_200_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(70_200_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Babe NextRandomness (r:1 w:0)
|
||||
@@ -76,17 +76,17 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn on_initialize() -> Weight {
|
||||
Weight::from_ref_time(16_024_103_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3688 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3683 as RefTimeWeight))
|
||||
Weight::from_ref_time(16_024_103_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3688 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3683 as u64))
|
||||
}
|
||||
// Storage: Auctions ReservedAmounts (r:37 w:36)
|
||||
// Storage: System Account (r:36 w:36)
|
||||
// Storage: Auctions Winning (r:0 w:3600)
|
||||
// Storage: Auctions AuctionInfo (r:0 w:1)
|
||||
fn cancel_auction() -> Weight {
|
||||
Weight::from_ref_time(4_682_562_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(73 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3673 as RefTimeWeight))
|
||||
Weight::from_ref_time(4_682_562_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(73 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3673 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::claims`.
|
||||
@@ -52,18 +52,18 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(138_843_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(138_843_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Claims Total (r:1 w:1)
|
||||
// Storage: Claims Vesting (r:0 w:1)
|
||||
// Storage: Claims Claims (r:0 w:1)
|
||||
// Storage: Claims Signing (r:0 w:1)
|
||||
fn mint_claim() -> Weight {
|
||||
Weight::from_ref_time(9_350_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_350_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Claims Claims (r:1 w:1)
|
||||
// Storage: Claims Signing (r:1 w:1)
|
||||
@@ -73,9 +73,9 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn claim_attest() -> Weight {
|
||||
Weight::from_ref_time(141_991_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
Weight::from_ref_time(141_991_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Claims Preclaims (r:1 w:1)
|
||||
// Storage: Claims Signing (r:1 w:1)
|
||||
@@ -86,17 +86,17 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn attest() -> Weight {
|
||||
Weight::from_ref_time(63_600_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(63_600_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Claims Claims (r:1 w:2)
|
||||
// Storage: Claims Vesting (r:1 w:2)
|
||||
// Storage: Claims Signing (r:1 w:2)
|
||||
// Storage: Claims Preclaims (r:1 w:1)
|
||||
fn move_claim() -> Weight {
|
||||
Weight::from_ref_time(19_341_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(19_341_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::crowdloan`.
|
||||
@@ -49,9 +49,9 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Crowdloan NextFundIndex (r:1 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(42_118_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(42_118_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
@@ -61,55 +61,55 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
fn contribute() -> Weight {
|
||||
Weight::from_ref_time(112_357_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(112_357_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
|
||||
fn withdraw() -> Weight {
|
||||
Weight::from_ref_time(51_125_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(51_125_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `k` is `[0, 1000]`.
|
||||
fn refund(k: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add(Weight::from_ref_time(19_562_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(19_562_000 as u64).saturating_mul(k as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(k as u64)))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn dissolve() -> Weight {
|
||||
Weight::from_ref_time(31_834_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(31_834_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
fn edit() -> Weight {
|
||||
Weight::from_ref_time(20_820_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(20_820_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
fn add_memo() -> Weight {
|
||||
Weight::from_ref_time(28_173_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(28_173_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
fn poke() -> Weight {
|
||||
Weight::from_ref_time(24_193_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(24_193_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Auctions AuctionInfo (r:1 w:0)
|
||||
// Storage: Crowdloan EndingsCount (r:1 w:1)
|
||||
@@ -123,12 +123,12 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[2, 100]`.
|
||||
fn on_initialize(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 41_000
|
||||
.saturating_add(Weight::from_ref_time(49_451_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(49_451_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::paras_registrar`.
|
||||
@@ -48,9 +48,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
fn reserve() -> Weight {
|
||||
Weight::from_ref_time(27_099_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(27_099_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -63,9 +63,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn register() -> Weight {
|
||||
Weight::from_ref_time(8_586_789_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(8_586_789_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -78,9 +78,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn force_register() -> Weight {
|
||||
Weight::from_ref_time(8_584_794_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(8_584_794_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -89,9 +89,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar PendingSwap (r:0 w:1)
|
||||
fn deregister() -> Weight {
|
||||
Weight::from_ref_time(42_239_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(42_239_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:0)
|
||||
// Storage: Paras ParaLifecycles (r:2 w:2)
|
||||
@@ -101,8 +101,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Crowdloan Funds (r:2 w:2)
|
||||
// Storage: Slots Leases (r:2 w:2)
|
||||
fn swap() -> Weight {
|
||||
Weight::from_ref_time(37_029_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
|
||||
Weight::from_ref_time(37_029_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::slots`.
|
||||
@@ -47,9 +47,9 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_lease() -> Weight {
|
||||
Weight::from_ref_time(28_307_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(28_307_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: Slots Leases (r:101 w:100)
|
||||
@@ -60,24 +60,24 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
/// The range of component `c` is `[1, 100]`.
|
||||
/// The range of component `t` is `[1, 100]`.
|
||||
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 28_000
|
||||
.saturating_add(Weight::from_ref_time(6_721_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(6_721_000 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 28_000
|
||||
.saturating_add(Weight::from_ref_time(17_731_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(17_731_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(t as u64)))
|
||||
}
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:8 w:8)
|
||||
fn clear_all_leases() -> Weight {
|
||||
Weight::from_ref_time(92_317_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as RefTimeWeight))
|
||||
Weight::from_ref_time(92_317_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
}
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -85,8 +85,8 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn trigger_onboard() -> Weight {
|
||||
Weight::from_ref_time(21_444_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_444_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::configuration`.
|
||||
@@ -49,48 +49,48 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_block_number() -> Weight {
|
||||
Weight::from_ref_time(9_262_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_262_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_u32() -> Weight {
|
||||
Weight::from_ref_time(9_271_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_271_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_option_u32() -> Weight {
|
||||
Weight::from_ref_time(9_169_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_169_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_weight() -> Weight {
|
||||
Weight::from_ref_time(9_210_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_210_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn set_hrmp_open_request_ttl() -> Weight {
|
||||
Weight::from_ref_time(2_000_000_000_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_balance() -> Weight {
|
||||
Weight::from_ref_time(9_213_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_213_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::disputes`.
|
||||
@@ -46,7 +46,7 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ParasDisputes Frozen (r:0 w:1)
|
||||
fn force_unfreeze() -> Weight {
|
||||
Weight::from_ref_time(3_112_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_112_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::hrmp`.
|
||||
@@ -54,9 +54,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_init_open_channel() -> Weight {
|
||||
Weight::from_ref_time(54_952_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
||||
Weight::from_ref_time(54_952_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
@@ -66,9 +66,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_accept_open_channel() -> Weight {
|
||||
Weight::from_ref_time(47_965_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(47_965_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Hrmp HrmpChannels (r:1 w:0)
|
||||
// Storage: Hrmp HrmpCloseChannelRequests (r:1 w:1)
|
||||
@@ -77,9 +77,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_close_channel() -> Weight {
|
||||
Weight::from_ref_time(44_369_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(44_369_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:127)
|
||||
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:1)
|
||||
@@ -88,17 +88,17 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpChannelContents (r:0 w:127)
|
||||
// Storage: Hrmp HrmpOpenChannelRequestCount (r:0 w:1)
|
||||
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add(Weight::from_ref_time(15_959_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(15_959_000 as u64).saturating_mul(i as u64))
|
||||
// Standard Error: 17_000
|
||||
.saturating_add(Weight::from_ref_time(16_048_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(16_048_000 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(i as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(e as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(i as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(e as u64)))
|
||||
}
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:0)
|
||||
@@ -110,13 +110,13 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:2 w:2)
|
||||
// Storage: Hrmp HrmpChannels (r:0 w:2)
|
||||
fn force_process_hrmp_open(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 26_000
|
||||
.saturating_add(Weight::from_ref_time(35_598_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((7 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((6 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(35_598_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:0)
|
||||
// Storage: Hrmp HrmpChannels (r:2 w:2)
|
||||
@@ -125,33 +125,33 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpCloseChannelRequests (r:0 w:2)
|
||||
// Storage: Hrmp HrmpChannelContents (r:0 w:2)
|
||||
fn force_process_hrmp_close(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add(Weight::from_ref_time(20_510_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((5 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(20_510_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
|
||||
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_749_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(32_749_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(59_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
|
||||
fn clean_open_channel_requests(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(5_781_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(5_781_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::initializer`.
|
||||
@@ -47,10 +47,10 @@ impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for We
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
/// The range of component `d` is `[0, 65536]`.
|
||||
fn force_approve(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_191_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(6_191_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::paras`.
|
||||
@@ -52,19 +52,19 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CodeByHash (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn force_set_current_code(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 1048576]`.
|
||||
fn force_set_current_head(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Paras FutureCodeHash (r:1 w:1)
|
||||
@@ -79,55 +79,55 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 1048576]`.
|
||||
fn force_note_new_head(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
fn force_queue_action() -> Weight {
|
||||
Weight::from_ref_time(18_998_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(18_998_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
|
||||
// Storage: Paras CodeByHash (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn add_trusted_validation_code(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:0)
|
||||
// Storage: Paras CodeByHash (r:0 w:1)
|
||||
fn poke_unused_validation_code() -> Weight {
|
||||
Weight::from_ref_time(4_773_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(4_773_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
|
||||
fn include_pvf_check_statement() -> Weight {
|
||||
Weight::from_ref_time(92_826_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(92_826_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
@@ -138,9 +138,9 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight {
|
||||
Weight::from_ref_time(682_896_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(104 as RefTimeWeight))
|
||||
Weight::from_ref_time(682_896_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(104 as u64))
|
||||
}
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
@@ -152,9 +152,9 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:100)
|
||||
// Storage: Paras FutureCodeHash (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight {
|
||||
Weight::from_ref_time(630_660_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(204 as RefTimeWeight))
|
||||
Weight::from_ref_time(630_660_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(204 as u64))
|
||||
}
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
@@ -163,9 +163,9 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras PvfActiveVoteList (r:1 w:1)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight {
|
||||
Weight::from_ref_time(532_765_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(532_765_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
@@ -178,8 +178,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:100)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight {
|
||||
Weight::from_ref_time(705_429_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(304 as RefTimeWeight))
|
||||
Weight::from_ref_time(705_429_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(304 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::paras_inherent`.
|
||||
@@ -77,11 +77,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `v` is `[10, 200]`.
|
||||
fn enter_variable_disputes(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(364_277_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(364_277_000 as u64)
|
||||
// Standard Error: 23_000
|
||||
.saturating_add(Weight::from_ref_time(48_774_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(29 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(18 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(48_774_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(29 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(18 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
@@ -114,9 +114,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_bitfields() -> Weight {
|
||||
Weight::from_ref_time(361_620_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(26 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as RefTimeWeight))
|
||||
Weight::from_ref_time(361_620_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(26 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
@@ -151,11 +151,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `v` is `[101, 200]`.
|
||||
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(984_915_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(984_915_000 as u64)
|
||||
// Standard Error: 47_000
|
||||
.saturating_add(Weight::from_ref_time(48_309_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(29 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(48_309_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(29 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
@@ -191,8 +191,8 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_backed_candidate_code_upgrade() -> Weight {
|
||||
Weight::from_ref_time(43_858_899_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(31 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
|
||||
Weight::from_ref_time(43_858_899_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(31 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_system`.
|
||||
@@ -46,45 +46,45 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
Weight::from_ref_time(4_572_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(4_572_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(548_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(548_000 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(444_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(444_000 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `p` is `[1, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(955_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(955_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_balances`.
|
||||
@@ -46,44 +46,44 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(38_175_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(38_175_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
Weight::from_ref_time(29_538_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(29_538_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_creating() -> Weight {
|
||||
Weight::from_ref_time(19_473_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(19_473_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_killing() -> Weight {
|
||||
Weight::from_ref_time(22_442_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(22_442_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(38_465_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(38_465_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_all() -> Weight {
|
||||
Weight::from_ref_time(34_577_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(34_577_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_unreserve() -> Weight {
|
||||
Weight::from_ref_time(17_476_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(17_476_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
@@ -52,40 +52,40 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 11_000
|
||||
.saturating_add(Weight::from_ref_time(9_184_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(9_184_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 11_000
|
||||
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 11_000
|
||||
.saturating_add(Weight::from_ref_time(11_927_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(11_927_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
// Storage: Collective Members (r:1 w:0)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_514_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(16_514_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(15_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(15_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Collective Members (r:1 w:0)
|
||||
// Storage: Collective ProposalOf (r:1 w:0)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_149_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_149_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(20_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(20_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Collective Members (r:1 w:0)
|
||||
// Storage: Collective ProposalOf (r:1 w:1)
|
||||
@@ -96,25 +96,25 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(25_040_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(25_040_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(20_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(20_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(125_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(125_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Collective Members (r:1 w:0)
|
||||
// Storage: Collective Voting (r:1 w:1)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_127_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(23_127_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(53_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(53_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Collective Voting (r:1 w:1)
|
||||
// Storage: Collective Members (r:1 w:0)
|
||||
@@ -123,13 +123,13 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(27_759_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(27_759_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(25_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(95_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Collective Voting (r:1 w:1)
|
||||
// Storage: Collective Members (r:1 w:0)
|
||||
@@ -139,15 +139,15 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(37_384_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(37_384_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(29_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Collective Voting (r:1 w:1)
|
||||
// Storage: Collective Members (r:1 w:0)
|
||||
@@ -157,13 +157,13 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_142_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_142_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(32_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(32_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Collective Voting (r:1 w:1)
|
||||
// Storage: Collective Members (r:1 w:0)
|
||||
@@ -174,25 +174,25 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(40_384_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(40_384_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(103_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Collective Proposals (r:1 w:1)
|
||||
// Storage: Collective Voting (r:0 w:1)
|
||||
// Storage: Collective ProposalOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_661_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(17_661_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(106_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_im_online`.
|
||||
@@ -53,12 +53,12 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `k` is `[1, 1000]`.
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(74_601_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(74_601_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(337_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(337_000 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_indices`.
|
||||
@@ -46,34 +46,34 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(23_133_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(23_133_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(27_865_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(27_865_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn free() -> Weight {
|
||||
Weight::from_ref_time(23_625_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(23_625_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(24_179_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(24_179_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
Weight::from_ref_time(26_857_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(26_857_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_membership`.
|
||||
@@ -50,11 +50,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Collective Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 99]`.
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_814_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(16_814_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(60_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(60_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Membership Members (r:1 w:1)
|
||||
// Storage: Collective Proposals (r:1 w:0)
|
||||
@@ -63,11 +63,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Collective Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_124_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_124_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Membership Members (r:1 w:1)
|
||||
// Storage: Collective Proposals (r:1 w:0)
|
||||
@@ -76,11 +76,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Collective Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_143_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_143_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(63_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Membership Members (r:1 w:1)
|
||||
// Storage: Collective Proposals (r:1 w:0)
|
||||
@@ -89,11 +89,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Collective Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_621_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(18_621_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(186_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(186_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Membership Members (r:1 w:1)
|
||||
// Storage: Collective Proposals (r:1 w:0)
|
||||
@@ -102,30 +102,30 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Collective Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_913_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_913_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(58_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Membership Members (r:1 w:0)
|
||||
// Storage: Membership Prime (r:0 w:1)
|
||||
// Storage: Collective Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_445_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(6_445_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Membership Prime (r:0 w:1)
|
||||
// Storage: Collective Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_524_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(3_524_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_multisig`.
|
||||
@@ -46,22 +46,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_606_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(14_606_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_880_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_880_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(100_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
@@ -69,38 +69,38 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_636_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(31_636_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(108_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(108_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_551_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(19_551_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(104_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(104_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_196_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(31_196_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
@@ -108,53 +108,53 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(39_982_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(39_982_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_767_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_767_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_649_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(18_649_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(63_055_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(63_055_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(44_870_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(44_870_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(115_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_proxy`.
|
||||
@@ -47,10 +47,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_762_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(17_762_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
@@ -58,37 +58,37 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_577_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(33_577_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(188_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(188_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(42_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_announcement(a: u32, _p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_715_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_715_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(179_000 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_349_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(22_349_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(179_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(5_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(5_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
@@ -96,58 +96,58 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn announce(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_863_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(29_863_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(182_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(182_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(55_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn add_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_976_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(24_976_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(101_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_934_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(24_934_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(118_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxies(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_930_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(20_930_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn anonymous(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_030_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(28_030_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(33_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 30]`.
|
||||
fn kill_anonymous(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_753_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(21_753_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_session`.
|
||||
@@ -47,16 +47,16 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:6 w:6)
|
||||
fn set_keys() -> Weight {
|
||||
Weight::from_ref_time(36_115_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(36_115_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:6)
|
||||
fn purge_keys() -> Weight {
|
||||
Weight::from_ref_time(21_459_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_459_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_timestamp`.
|
||||
@@ -47,11 +47,11 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
// Storage: Babe CurrentSlot (r:1 w:0)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(7_692_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(7_692_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(2_091_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_091_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_utility`.
|
||||
@@ -46,26 +46,26 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_533_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_533_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(5_050_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(5_050_000 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(5_794_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(5_794_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_581_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_581_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(5_336_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(5_336_000 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(12_912_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(12_912_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_075_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(7_075_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(5_067_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(5_067_000 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::auctions`.
|
||||
@@ -47,9 +47,9 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:1)
|
||||
fn new_auction() -> Weight {
|
||||
Weight::from_ref_time(15_406_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(15_406_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
@@ -59,9 +59,9 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions ReservedAmounts (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn bid() -> Weight {
|
||||
Weight::from_ref_time(70_846_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(70_846_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Babe NextRandomness (r:1 w:0)
|
||||
@@ -76,17 +76,17 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn on_initialize() -> Weight {
|
||||
Weight::from_ref_time(2_965_000_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(688 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(683 as RefTimeWeight))
|
||||
Weight::from_ref_time(2_965_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(688 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(683 as u64))
|
||||
}
|
||||
// Storage: Auctions ReservedAmounts (r:37 w:36)
|
||||
// Storage: System Account (r:36 w:36)
|
||||
// Storage: Auctions Winning (r:0 w:600)
|
||||
// Storage: Auctions AuctionInfo (r:0 w:1)
|
||||
fn cancel_auction() -> Weight {
|
||||
Weight::from_ref_time(1_202_383_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(73 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(673 as RefTimeWeight))
|
||||
Weight::from_ref_time(1_202_383_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(73 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(673 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::crowdloan`.
|
||||
@@ -49,9 +49,9 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Crowdloan NextFundIndex (r:1 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(41_754_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(41_754_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
@@ -61,55 +61,55 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
fn contribute() -> Weight {
|
||||
Weight::from_ref_time(110_907_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(110_907_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
|
||||
fn withdraw() -> Weight {
|
||||
Weight::from_ref_time(49_546_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(49_546_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `k` is `[0, 500]`.
|
||||
fn refund(k: u32, ) -> Weight {
|
||||
Weight::from_ref_time(2_505_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_505_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(19_613_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(19_613_000 as u64).saturating_mul(k as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(k as u64)))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn dissolve() -> Weight {
|
||||
Weight::from_ref_time(31_248_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(31_248_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
fn edit() -> Weight {
|
||||
Weight::from_ref_time(20_623_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(20_623_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
fn add_memo() -> Weight {
|
||||
Weight::from_ref_time(26_451_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(26_451_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
fn poke() -> Weight {
|
||||
Weight::from_ref_time(21_215_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_215_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Auctions AuctionInfo (r:1 w:0)
|
||||
// Storage: Crowdloan EndingsCount (r:1 w:1)
|
||||
@@ -123,12 +123,12 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[2, 100]`.
|
||||
fn on_initialize(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 25_000
|
||||
.saturating_add(Weight::from_ref_time(51_756_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(51_756_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::paras_registrar`.
|
||||
@@ -48,9 +48,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
fn reserve() -> Weight {
|
||||
Weight::from_ref_time(27_519_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(27_519_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -63,9 +63,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn register() -> Weight {
|
||||
Weight::from_ref_time(9_070_714_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_070_714_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -78,9 +78,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn force_register() -> Weight {
|
||||
Weight::from_ref_time(8_963_395_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
|
||||
Weight::from_ref_time(8_963_395_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -89,9 +89,9 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar PendingSwap (r:0 w:1)
|
||||
fn deregister() -> Weight {
|
||||
Weight::from_ref_time(42_284_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
||||
Weight::from_ref_time(42_284_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:0)
|
||||
// Storage: Paras ParaLifecycles (r:2 w:2)
|
||||
@@ -101,8 +101,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Crowdloan Funds (r:2 w:2)
|
||||
// Storage: Slots Leases (r:2 w:2)
|
||||
fn swap() -> Weight {
|
||||
Weight::from_ref_time(36_098_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
|
||||
Weight::from_ref_time(36_098_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::slots`.
|
||||
@@ -47,9 +47,9 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_lease() -> Weight {
|
||||
Weight::from_ref_time(28_337_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
Weight::from_ref_time(28_337_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: Slots Leases (r:101 w:100)
|
||||
@@ -60,24 +60,24 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
/// The range of component `c` is `[1, 100]`.
|
||||
/// The range of component `t` is `[1, 100]`.
|
||||
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 22_000
|
||||
.saturating_add(Weight::from_ref_time(6_753_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(6_753_000 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 22_000
|
||||
.saturating_add(Weight::from_ref_time(17_808_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight)))
|
||||
.saturating_add(Weight::from_ref_time(17_808_000 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(t as u64)))
|
||||
}
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:8 w:8)
|
||||
fn clear_all_leases() -> Weight {
|
||||
Weight::from_ref_time(91_710_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as RefTimeWeight))
|
||||
Weight::from_ref_time(91_710_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
}
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
@@ -85,8 +85,8 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn trigger_onboard() -> Weight {
|
||||
Weight::from_ref_time(21_040_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
Weight::from_ref_time(21_040_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::configuration`.
|
||||
@@ -49,48 +49,48 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_block_number() -> Weight {
|
||||
Weight::from_ref_time(9_728_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_728_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_u32() -> Weight {
|
||||
Weight::from_ref_time(9_825_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_825_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_option_u32() -> Weight {
|
||||
Weight::from_ref_time(9_905_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_905_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_weight() -> Weight {
|
||||
Weight::from_ref_time(9_968_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_968_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn set_hrmp_open_request_ttl() -> Weight {
|
||||
Weight::from_ref_time(2_000_000_000_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_balance() -> Weight {
|
||||
Weight::from_ref_time(9_949_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(9_949_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::disputes`.
|
||||
@@ -46,7 +46,7 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ParasDisputes Frozen (r:0 w:1)
|
||||
fn force_unfreeze() -> Weight {
|
||||
Weight::from_ref_time(3_239_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
||||
Weight::from_ref_time(3_239_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user