pallet_election_provider_multi_block/weights/pallet_election_provider_multi_block_dot_size.rs
1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18
19//! Autogenerated weights for `pallet_election_provider_multi_block`
20//!
21//! This is a special template for `election-provider-multi-block` pallet. This is required because
22// ! we don't want to generate the `trait WeightInfo`.
23//!
24//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
25//! DATE: 2025-10-08, STEPS: `10`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
26//! WORST CASE MAP SIZE: `1000000`
27//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor`
28//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
29
30// Executed Command:
31// ../../../../../target/release/frame-omni-bencher
32// v1
33// benchmark
34// pallet
35// --pallet
36// pallet_election_provider_multi_block
37// --extrinsic
38// *
39// --runtime
40// ../../../../../target/release/wbuild/pallet-staking-async-parachain-runtime/pallet_staking_async_parachain_runtime.compact.wasm
41// --steps
42// 10
43// --repeat
44// 10
45// --genesis-builder-preset
46// fake-dot
47// --template
48// ../../../../../substrate/frame/election-provider-multi-block/src/template.hbs
49// --heap-pages
50// 65000
51// --output
52// ./pallet_election_provider_multi_block_fake-dot.rs
53
54#![cfg_attr(rustfmt, rustfmt_skip)]
55#![allow(unused_parens)]
56#![allow(unused_imports)]
57#![allow(missing_docs)]
58#![allow(dead_code)]
59
60use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
61use core::marker::PhantomData;
62
63/// Weights for `pallet_election_provider_multi_block`.
64pub struct WeightInfo<T>(PhantomData<T>);
65impl<T: frame_system::Config> crate::weights::traits::pallet_election_provider_multi_block::WeightInfo for WeightInfo<T> {
66 /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1)
67 /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
68 /// Storage: `MultiBlockElectionVerifier::StatusStorage` (r:1 w:0)
69 /// Proof: `MultiBlockElectionVerifier::StatusStorage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
70 fn per_block_nothing() -> Weight {
71 // Proof Size summary in bytes:
72 // Measured: `118`
73 // Estimated: `1603`
74 // Minimum execution time: 11_890_000 picoseconds.
75 Weight::from_parts(12_290_000, 1603)
76 .saturating_add(T::DbWeight::get().reads(2_u64))
77 .saturating_add(T::DbWeight::get().writes(1_u64))
78 }
79 /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1)
80 /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
81 /// Storage: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
82 /// Proof: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
83 /// Storage: `MultiBlockElectionVerifier::StatusStorage` (r:1 w:0)
84 /// Proof: `MultiBlockElectionVerifier::StatusStorage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
85 /// Storage: `Staking::ValidatorCount` (r:1 w:0)
86 /// Proof: `Staking::ValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
87 /// Storage: `MultiBlockElection::Round` (r:1 w:0)
88 /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
89 /// Storage: UNKNOWN KEY `0x5640fd84ada5e16d1b6739279282536c` (r:1 w:0)
90 /// Proof: UNKNOWN KEY `0x5640fd84ada5e16d1b6739279282536c` (r:1 w:0)
91 /// Storage: `Staking::CounterForValidators` (r:1 w:0)
92 /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
93 /// Storage: `Staking::Validators` (r:2001 w:0)
94 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `Measured`)
95 /// Storage: `MultiBlockElection::DesiredTargets` (r:0 w:1)
96 /// Proof: `MultiBlockElection::DesiredTargets` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `Measured`)
97 /// Storage: `MultiBlockElection::PagedTargetSnapshotHash` (r:0 w:1)
98 /// Proof: `MultiBlockElection::PagedTargetSnapshotHash` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `Measured`)
99 /// Storage: `MultiBlockElection::PagedTargetSnapshot` (r:0 w:1)
100 /// Proof: `MultiBlockElection::PagedTargetSnapshot` (`max_values`: None, `max_size`: Some(64026), added: 66501, mode: `Measured`)
101 fn per_block_snapshot_msp() -> Weight {
102 // Proof Size summary in bytes:
103 // Measured: `95360`
104 // Estimated: `5048825`
105 // Minimum execution time: 17_142_277_000 picoseconds.
106 Weight::from_parts(17_250_897_000, 5048825)
107 .saturating_add(T::DbWeight::get().reads(2008_u64))
108 .saturating_add(T::DbWeight::get().writes(4_u64))
109 }
110 /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1)
111 /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
112 /// Storage: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
113 /// Proof: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
114 /// Storage: `MultiBlockElectionVerifier::StatusStorage` (r:1 w:0)
115 /// Proof: `MultiBlockElectionVerifier::StatusStorage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
116 /// Storage: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
117 /// Proof: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
118 /// Storage: `Staking::VoterSnapshotStatus` (r:1 w:1)
119 /// Proof: `Staking::VoterSnapshotStatus` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `Measured`)
120 /// Storage: `VoterList::CounterForListNodes` (r:1 w:0)
121 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
122 /// Storage: `VoterList::ListBags` (r:1 w:0)
123 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `Measured`)
124 /// Storage: `VoterList::ListNodes` (r:705 w:0)
125 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `Measured`)
126 /// Storage: `Staking::Bonded` (r:703 w:0)
127 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `Measured`)
128 /// Storage: `Staking::Ledger` (r:703 w:0)
129 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `Measured`)
130 /// Storage: `Staking::Nominators` (r:703 w:0)
131 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `Measured`)
132 /// Storage: `Staking::Validators` (r:261 w:0)
133 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `Measured`)
134 /// Storage: `MultiBlockElection::Round` (r:1 w:0)
135 /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
136 /// Storage: `Staking::MinimumActiveStake` (r:0 w:1)
137 /// Proof: `Staking::MinimumActiveStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`)
138 /// Storage: `VoterList::Lock` (r:0 w:1)
139 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `Measured`)
140 /// Storage: `MultiBlockElection::PagedVoterSnapshot` (r:0 w:1)
141 /// Proof: `MultiBlockElection::PagedVoterSnapshot` (`max_values`: None, `max_size`: Some(388785), added: 391260, mode: `Measured`)
142 /// Storage: `MultiBlockElection::PagedVoterSnapshotHash` (r:0 w:1)
143 /// Proof: `MultiBlockElection::PagedVoterSnapshotHash` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `Measured`)
144 fn per_block_snapshot_rest() -> Weight {
145 // Proof Size summary in bytes:
146 // Measured: `1448963`
147 // Estimated: `3194828`
148 // Minimum execution time: 45_863_295_000 picoseconds.
149 Weight::from_parts(46_462_736_000, 3194828)
150 .saturating_add(T::DbWeight::get().reads(3083_u64))
151 .saturating_add(T::DbWeight::get().writes(6_u64))
152 }
153 /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1)
154 /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
155 /// Storage: UNKNOWN KEY `0x48384a816e4f71a936cb76dc9e303f2a` (r:1 w:0)
156 /// Proof: UNKNOWN KEY `0x48384a816e4f71a936cb76dc9e303f2a` (r:1 w:0)
157 /// Storage: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
158 /// Proof: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
159 /// Storage: `MultiBlockElection::Round` (r:1 w:0)
160 /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
161 /// Storage: `MultiBlockElectionSigned::SortedScores` (r:1 w:0)
162 /// Proof: `MultiBlockElectionSigned::SortedScores` (`max_values`: None, `max_size`: Some(653), added: 3128, mode: `Measured`)
163 /// Storage: `MultiBlockElectionVerifier::StatusStorage` (r:1 w:0)
164 /// Proof: `MultiBlockElectionVerifier::StatusStorage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
165 fn per_block_start_signed_validation() -> Weight {
166 // Proof Size summary in bytes:
167 // Measured: `586`
168 // Estimated: `4051`
169 // Minimum execution time: 74_560_000 picoseconds.
170 Weight::from_parts(89_270_000, 4051)
171 .saturating_add(T::DbWeight::get().reads(6_u64))
172 .saturating_add(T::DbWeight::get().writes(1_u64))
173 }
174 /// Storage: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
175 /// Proof: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
176 /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1)
177 /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
178 /// Storage: `MultiBlockElection::Round` (r:1 w:0)
179 /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
180 /// Storage: `MultiBlockElectionVerifier::QueuedValidVariant` (r:1 w:0)
181 /// Proof: `MultiBlockElectionVerifier::QueuedValidVariant` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
182 /// Storage: `MultiBlockElectionVerifier::QueuedSolutionX` (r:1 w:0)
183 /// Proof: `MultiBlockElectionVerifier::QueuedSolutionX` (`max_values`: None, `max_size`: Some(33794026), added: 33796501, mode: `Measured`)
184 /// Storage: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
185 /// Proof: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
186 /// Storage: `Staking::CurrentEra` (r:1 w:0)
187 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
188 /// Storage: `Staking::ElectableStashes` (r:1 w:1)
189 /// Proof: `Staking::ElectableStashes` (`max_values`: Some(1), `max_size`: Some(32002), added: 32497, mode: `Measured`)
190 /// Storage: `Staking::ErasStakersOverview` (r:491 w:491)
191 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `Measured`)
192 /// Storage: `Staking::ErasTotalStake` (r:1 w:1)
193 /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`)
194 /// Storage: `Staking::Validators` (r:491 w:0)
195 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `Measured`)
196 /// Storage: `Staking::ErasValidatorPrefs` (r:0 w:491)
197 /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `Measured`)
198 /// Storage: `Staking::ErasStakersPaged` (r:0 w:490)
199 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `Measured`)
200 fn export_non_terminal() -> Weight {
201 // Proof Size summary in bytes:
202 // Measured: `167757`
203 // Estimated: `1383972`
204 // Minimum execution time: 14_054_590_000 picoseconds.
205 Weight::from_parts(14_923_170_000, 1383972)
206 .saturating_add(T::DbWeight::get().reads(991_u64))
207 .saturating_add(T::DbWeight::get().writes(1475_u64))
208 }
209 /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1)
210 /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
211 /// Storage: `MultiBlockElection::Round` (r:1 w:1)
212 /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
213 /// Storage: `MultiBlockElectionVerifier::QueuedValidVariant` (r:1 w:1)
214 /// Proof: `MultiBlockElectionVerifier::QueuedValidVariant` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
215 /// Storage: `MultiBlockElectionVerifier::QueuedSolutionX` (r:32 w:32)
216 /// Proof: `MultiBlockElectionVerifier::QueuedSolutionX` (`max_values`: None, `max_size`: Some(33794026), added: 33796501, mode: `Measured`)
217 /// Storage: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
218 /// Proof: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
219 /// Storage: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
220 /// Proof: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
221 /// Storage: `MultiBlockElection::PagedVoterSnapshot` (r:32 w:32)
222 /// Proof: `MultiBlockElection::PagedVoterSnapshot` (`max_values`: None, `max_size`: Some(388785), added: 391260, mode: `Measured`)
223 /// Storage: `MultiBlockElection::PagedVoterSnapshotHash` (r:32 w:32)
224 /// Proof: `MultiBlockElection::PagedVoterSnapshotHash` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `Measured`)
225 /// Storage: `MultiBlockElection::PagedTargetSnapshot` (r:1 w:1)
226 /// Proof: `MultiBlockElection::PagedTargetSnapshot` (`max_values`: None, `max_size`: Some(64026), added: 66501, mode: `Measured`)
227 /// Storage: `MultiBlockElection::PagedTargetSnapshotHash` (r:1 w:1)
228 /// Proof: `MultiBlockElection::PagedTargetSnapshotHash` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `Measured`)
229 /// Storage: `Staking::CurrentEra` (r:1 w:0)
230 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
231 /// Storage: `Staking::ElectableStashes` (r:1 w:1)
232 /// Proof: `Staking::ElectableStashes` (`max_values`: Some(1), `max_size`: Some(32002), added: 32497, mode: `Measured`)
233 /// Storage: `Staking::ErasStakersOverview` (r:310 w:310)
234 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `Measured`)
235 /// Storage: `Staking::ErasStakersPaged` (r:310 w:310)
236 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `Measured`)
237 /// Storage: `Staking::ErasTotalStake` (r:1 w:1)
238 /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`)
239 /// Storage: `Staking::Validators` (r:310 w:0)
240 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `Measured`)
241 /// Storage: `MultiBlockElectionVerifier::StatusStorage` (r:0 w:1)
242 /// Proof: `MultiBlockElectionVerifier::StatusStorage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
243 /// Storage: `MultiBlockElectionVerifier::QueuedSolutionScore` (r:0 w:1)
244 /// Proof: `MultiBlockElectionVerifier::QueuedSolutionScore` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `Measured`)
245 /// Storage: `Staking::ErasValidatorPrefs` (r:0 w:310)
246 /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `Measured`)
247 /// Storage: `MultiBlockElection::DesiredTargets` (r:0 w:1)
248 /// Proof: `MultiBlockElection::DesiredTargets` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `Measured`)
249 fn export_terminal() -> Weight {
250 // Proof Size summary in bytes:
251 // Measured: `1734835`
252 // Estimated: `2503075`
253 // Minimum execution time: 17_499_059_000 picoseconds.
254 Weight::from_parts(19_255_420_000, 2503075)
255 .saturating_add(T::DbWeight::get().reads(1036_u64))
256 .saturating_add(T::DbWeight::get().writes(1036_u64))
257 }
258 /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:0)
259 /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
260 /// Storage: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
261 /// Proof: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
262 /// Storage: `MultiBlockElection::Round` (r:1 w:0)
263 /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
264 /// Storage: `MultiBlockElection::PagedVoterSnapshot` (r:1 w:0)
265 /// Proof: `MultiBlockElection::PagedVoterSnapshot` (`max_values`: None, `max_size`: Some(388785), added: 391260, mode: `Measured`)
266 /// Storage: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
267 /// Proof: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
268 /// Storage: `MultiBlockElection::PagedTargetSnapshot` (r:1 w:0)
269 /// Proof: `MultiBlockElection::PagedTargetSnapshot` (`max_values`: None, `max_size`: Some(64026), added: 66501, mode: `Measured`)
270 /// Storage: UNKNOWN KEY `0x5640fd84ada5e16d1b6739279282536c` (r:1 w:0)
271 /// Proof: UNKNOWN KEY `0x5640fd84ada5e16d1b6739279282536c` (r:1 w:0)
272 /// Storage: `MultiBlockElection::DesiredTargets` (r:1 w:0)
273 /// Proof: `MultiBlockElection::DesiredTargets` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `Measured`)
274 /// Storage: `MultiBlockElectionVerifier::QueuedSolutionScore` (r:1 w:1)
275 /// Proof: `MultiBlockElectionVerifier::QueuedSolutionScore` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `Measured`)
276 /// Storage: `MultiBlockElectionVerifier::QueuedValidVariant` (r:1 w:0)
277 /// Proof: `MultiBlockElectionVerifier::QueuedValidVariant` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
278 /// Storage: `MultiBlockElectionVerifier::QueuedSolutionY` (r:0 w:1)
279 /// Proof: `MultiBlockElectionVerifier::QueuedSolutionY` (`max_values`: None, `max_size`: Some(33794026), added: 33796501, mode: `Measured`)
280 fn manage_fallback() -> Weight {
281 // Proof Size summary in bytes:
282 // Measured: `328713`
283 // Estimated: `332178`
284 // Minimum execution time: 538_906_259_000 picoseconds.
285 Weight::from_parts(539_733_270_000, 332178)
286 .saturating_add(T::DbWeight::get().reads(10_u64))
287 .saturating_add(T::DbWeight::get().writes(2_u64))
288 }
289 /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:0)
290 /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`)
291 /// Storage: `MultiBlockElection::Round` (r:1 w:0)
292 /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`)
293 /// Storage: `MultiBlockElectionVerifier::QueuedSolutionScore` (r:1 w:1)
294 /// Proof: `MultiBlockElectionVerifier::QueuedSolutionScore` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `Measured`)
295 /// Storage: `MultiBlockElectionVerifier::QueuedValidVariant` (r:1 w:0)
296 /// Proof: `MultiBlockElectionVerifier::QueuedValidVariant` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
297 /// Storage: `MultiBlockElectionVerifier::QueuedSolutionY` (r:0 w:1)
298 /// Proof: `MultiBlockElectionVerifier::QueuedSolutionY` (`max_values`: None, `max_size`: Some(33794026), added: 33796501, mode: `Measured`)
299 fn admin_set() -> Weight {
300 // Proof Size summary in bytes:
301 // Measured: `308`
302 // Estimated: `3773`
303 // Minimum execution time: 399_531_000 picoseconds.
304 Weight::from_parts(497_971_000, 3773)
305 .saturating_add(T::DbWeight::get().reads(4_u64))
306 .saturating_add(T::DbWeight::get().writes(2_u64))
307 }
308}