mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 16:21:02 +00:00
Bump version , weights and substrate in prep for v0.8.30 (#2690)
* bump version and substrate * bump old forgotten versions * update weights * bump substrate * Revert "bump substrate" This reverts commit 8b5004b6fe9ce9ccdf143d3fe878802931ea4f2f. Co-authored-by: André Silva <andrerfosilva@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
//! Autogenerated weights for pallet_democracy
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! DATE: 2021-03-24, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,163 +44,163 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn propose() -> Weight {
|
||||
(62_202_000 as Weight)
|
||||
(59_416_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn second(s: u32, ) -> Weight {
|
||||
(41_623_000 as Weight)
|
||||
(40_392_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((218_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((210_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn vote_new(r: u32, ) -> Weight {
|
||||
(49_012_000 as Weight)
|
||||
(46_152_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((253_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((296_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn vote_existing(r: u32, ) -> Weight {
|
||||
(48_645_000 as Weight)
|
||||
(46_184_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((258_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((285_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn emergency_cancel() -> Weight {
|
||||
(29_206_000 as Weight)
|
||||
(28_269_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn blacklist(p: u32, ) -> Weight {
|
||||
(86_946_000 as Weight)
|
||||
(84_204_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((717_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((706_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
fn external_propose(v: u32, ) -> Weight {
|
||||
(14_551_000 as Weight)
|
||||
(13_531_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((110_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((108_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn external_propose_majority() -> Weight {
|
||||
(2_990_000 as Weight)
|
||||
(2_741_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn external_propose_default() -> Weight {
|
||||
(3_002_000 as Weight)
|
||||
(2_807_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn fast_track() -> Weight {
|
||||
(28_615_000 as Weight)
|
||||
(27_656_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn veto_external(v: u32, ) -> Weight {
|
||||
(29_559_000 as Weight)
|
||||
(28_879_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((208_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((206_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn cancel_proposal(p: u32, ) -> Weight {
|
||||
(60_242_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((689_000 as Weight).saturating_mul(p as Weight))
|
||||
(58_123_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((675_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn cancel_referendum() -> Weight {
|
||||
(17_442_000 as Weight)
|
||||
(16_547_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn cancel_queued(r: u32, ) -> Weight {
|
||||
(33_867_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((3_155_000 as Weight).saturating_mul(r as Weight))
|
||||
(30_186_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_520_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
(11_959_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((5_443_000 as Weight).saturating_mul(r as Weight))
|
||||
(7_912_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((5_424_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
}
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
(63_264_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((7_720_000 as Weight).saturating_mul(r as Weight))
|
||||
(56_540_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((7_844_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
||||
}
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
(30_529_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((7_685_000 as Weight).saturating_mul(r as Weight))
|
||||
(23_917_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((7_844_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
||||
}
|
||||
fn clear_public_proposals() -> Weight {
|
||||
(2_791_000 as Weight)
|
||||
(2_279_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn note_preimage(b: u32, ) -> Weight {
|
||||
(45_588_000 as Weight)
|
||||
(43_788_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((4_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn note_imminent_preimage(b: u32, ) -> Weight {
|
||||
(29_161_000 as Weight)
|
||||
(28_618_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn reap_preimage(b: u32, ) -> Weight {
|
||||
(40_951_000 as Weight)
|
||||
(39_400_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
(42_656_000 as Weight)
|
||||
(40_176_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((40_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((52_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
(38_985_000 as Weight)
|
||||
(36_543_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((248_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((271_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
(21_437_000 as Weight)
|
||||
(20_012_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((241_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((259_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
(21_621_000 as Weight)
|
||||
(20_157_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((240_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((259_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user