mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
Companion for substrate/pull/8113 (Unleash multi phase) (#2432)
* Almost make it work. * Make the runtimes build * Some fixes * Make the whole thing compile * Apply suggestions from code review * Fix review comments * remove unused. * nit * Fix * "Update Substrate" * bump tx-version Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -199,21 +199,6 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
.saturating_add(T::DbWeight::get().writes(13 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(v as Weight)))
|
||||
}
|
||||
fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 49_000
|
||||
.saturating_add((1_193_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 19_000
|
||||
.saturating_add((613_000 as Weight).saturating_mul(n as Weight))
|
||||
// Standard Error: 49_000
|
||||
.saturating_add((77_076_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 103_000
|
||||
.saturating_add((7_277_000 as Weight).saturating_mul(w as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(6 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 108_000
|
||||
|
||||
Reference in New Issue
Block a user