Companion for substrate PR#9766 (#3900)

* fix weights

* reduce time

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Kian Paimani
2021-09-22 16:21:42 +01:00
committed by GitHub
parent 9d7972ab79
commit 8c68412958
5 changed files with 167 additions and 166 deletions
@@ -83,7 +83,7 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
fn create_snapshot_internal() -> Weight {
fn create_snapshot_internal(_: u32, _: u32) -> Weight {
(8_835_233_000 as Weight).saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)