Unverified Commit ac28a784 authored by zjb0807's avatar zjb0807 Committed by GitHub
Browse files

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's avatarShawn Tabrizi <shawntabrizi@gmail.com>
parent 52998509
Pipeline #159986 passed with stages
in 44 minutes and 47 seconds
This diff is collapsed.
......@@ -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((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 {
(54_128_000 as Weight)
// 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((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 {
(53_667_000 as Weight)
// Standard Error: 4_000
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment