mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Companion for Weight v1.5 Follow Up (#5949)
* updates
* remove new
* fix up some stuff
* fix cargo files
* fix
* fix template
* update lockfile for {"substrate"}
* Update block_weights.rs
* remove unused
* remove unused
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -58,7 +58,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn second(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_807_000 as RefTimeWeight)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -69,7 +69,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn vote_new(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_336_000 as RefTimeWeight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(120_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -80,7 +80,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn vote_existing(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_107_000 as RefTimeWeight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -101,7 +101,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn blacklist(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(52_116_000 as RefTimeWeight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(194_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -111,7 +111,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn external_propose(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_194_000 as RefTimeWeight)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -139,7 +139,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn veto_external(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_536_000 as RefTimeWeight)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -150,7 +150,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn cancel_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_174_000 as RefTimeWeight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -165,7 +165,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn cancel_queued(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_252_000 as RefTimeWeight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(2_242_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -176,7 +176,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(1_457_000 as RefTimeWeight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(2_956_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
@@ -191,7 +191,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_240_000 as RefTimeWeight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(2_963_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
@@ -203,7 +203,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_480_000 as RefTimeWeight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(3_908_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
@@ -215,7 +215,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_446_000 as RefTimeWeight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(3_917_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
@@ -231,7 +231,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn note_preimage(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_720_000 as RefTimeWeight)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -240,7 +240,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn note_imminent_preimage(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_884_000 as RefTimeWeight)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -250,7 +250,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn reap_preimage(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_695_000 as RefTimeWeight)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -261,7 +261,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_207_000 as RefTimeWeight)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -272,7 +272,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_561_000 as RefTimeWeight)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -282,7 +282,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(13_204_000 as RefTimeWeight)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
@@ -292,7 +292,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_994_000 as RefTimeWeight)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
|
||||
.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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user