mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 10:05:48 +00:00
Companion for substrate PR#9890 (#3961)
* add on_initialize_base_with_launch_period * trigger GitHub actions * cargo update -p sp-io Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Generated
+184
-161
File diff suppressed because it is too large
Load Diff
@@ -129,6 +129,13 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
|||||||
.saturating_add(T::DbWeight::get().reads(5 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)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||||
}
|
}
|
||||||
|
fn on_initialize_base_with_launch_period(r: u32) -> Weight {
|
||||||
|
(7_295_000 as Weight)
|
||||||
|
// Standard Error: 4_000
|
||||||
|
.saturating_add((5_093_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 {
|
fn delegate(r: u32) -> Weight {
|
||||||
(54_128_000 as Weight)
|
(54_128_000 as Weight)
|
||||||
// Standard Error: 5_000
|
// Standard Error: 5_000
|
||||||
|
|||||||
@@ -129,6 +129,13 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
|||||||
.saturating_add(T::DbWeight::get().reads(5 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)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||||
}
|
}
|
||||||
|
fn on_initialize_base_with_launch_period(r: u32) -> Weight {
|
||||||
|
(7_728_000 as Weight)
|
||||||
|
// Standard Error: 4_000
|
||||||
|
.saturating_add((5_099_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 {
|
fn delegate(r: u32) -> Weight {
|
||||||
(53_667_000 as Weight)
|
(53_667_000 as Weight)
|
||||||
// Standard Error: 4_000
|
// Standard Error: 4_000
|
||||||
|
|||||||
Reference in New Issue
Block a user