rococo_runtime/weights/polkadot_runtime_parachains_paras_inherent.rs
1// Copyright (C) Parity Technologies (UK) Ltd.
2// This file is part of Polkadot.
3
4// Polkadot is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Polkadot is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
16
17//! Autogenerated weights for `polkadot_runtime_parachains::paras_inherent`
18//!
19//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
20//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21//! WORST CASE MAP SIZE: `1000000`
22//! HOSTNAME: `d3a9aad6f7a3`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
23//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
24
25// Executed Command:
26// frame-omni-bencher
27// v1
28// benchmark
29// pallet
30// --extrinsic=*
31// --runtime=target/production/wbuild/rococo-runtime/rococo_runtime.wasm
32// --pallet=polkadot_runtime_parachains::paras_inherent
33// --header=/__w/polkadot-sdk/polkadot-sdk/polkadot/file_header.txt
34// --output=./polkadot/runtime/rococo/src/weights
35// --wasm-execution=compiled
36// --steps=50
37// --repeat=20
38// --heap-pages=4096
39// --no-storage-info
40// --no-min-squares
41// --no-median-slopes
42
43#![cfg_attr(rustfmt, rustfmt_skip)]
44#![allow(unused_parens)]
45#![allow(unused_imports)]
46#![allow(missing_docs)]
47
48use frame_support::{traits::Get, weights::Weight};
49use core::marker::PhantomData;
50
51/// Weight functions for `polkadot_runtime_parachains::paras_inherent`.
52pub struct WeightInfo<T>(PhantomData<T>);
53impl<T: frame_system::Config> polkadot_runtime_parachains::paras_inherent::WeightInfo for WeightInfo<T> {
54 /// Storage: `ParaInherent::Included` (r:1 w:1)
55 /// Proof: `ParaInherent::Included` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
56 /// Storage: `System::ParentHash` (r:1 w:0)
57 /// Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
58 /// Storage: `ParasShared::AllowedRelayParents` (r:1 w:1)
59 /// Proof: `ParasShared::AllowedRelayParents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
60 /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:0)
61 /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
62 /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
63 /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
64 /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0)
65 /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
66 /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
67 /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
68 /// Storage: `Babe::AuthorVrfRandomness` (r:1 w:0)
69 /// Proof: `Babe::AuthorVrfRandomness` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
70 /// Storage: `ParaInherent::OnChainVotes` (r:1 w:1)
71 /// Proof: `ParaInherent::OnChainVotes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
72 /// Storage: `ParasDisputes::Frozen` (r:1 w:0)
73 /// Proof: `ParasDisputes::Frozen` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
74 /// Storage: `ParaInclusion::V1` (r:1 w:0)
75 /// Proof: `ParaInclusion::V1` (`max_values`: None, `max_size`: None, mode: `Measured`)
76 /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0)
77 /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
78 /// Storage: `Initializer::BufferedSessionChanges` (r:1 w:0)
79 /// Proof: `Initializer::BufferedSessionChanges` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
80 /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0)
81 /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
82 /// Storage: `Session::DisabledValidators` (r:1 w:0)
83 /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
84 fn enter_empty() -> Weight {
85 // Proof Size summary in bytes:
86 // Measured: `42760`
87 // Estimated: `46225`
88 // Minimum execution time: 202_578_000 picoseconds.
89 Weight::from_parts(210_703_000, 0)
90 .saturating_add(Weight::from_parts(0, 46225))
91 .saturating_add(T::DbWeight::get().reads(15))
92 .saturating_add(T::DbWeight::get().writes(3))
93 }
94 /// Storage: `ParaInherent::Included` (r:1 w:1)
95 /// Proof: `ParaInherent::Included` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
96 /// Storage: `System::ParentHash` (r:1 w:0)
97 /// Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
98 /// Storage: `ParasShared::AllowedRelayParents` (r:1 w:1)
99 /// Proof: `ParasShared::AllowedRelayParents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
100 /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1)
101 /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
102 /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
103 /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
104 /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0)
105 /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
106 /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
107 /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
108 /// Storage: `Babe::AuthorVrfRandomness` (r:1 w:0)
109 /// Proof: `Babe::AuthorVrfRandomness` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
110 /// Storage: `ParaSessionInfo::Sessions` (r:1 w:0)
111 /// Proof: `ParaSessionInfo::Sessions` (`max_values`: None, `max_size`: None, mode: `Measured`)
112 /// Storage: `ParasDisputes::Disputes` (r:1 w:1)
113 /// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`)
114 /// Storage: `ParasDisputes::BackersOnDisputes` (r:1 w:1)
115 /// Proof: `ParasDisputes::BackersOnDisputes` (`max_values`: None, `max_size`: None, mode: `Measured`)
116 /// Storage: `ParasDisputes::Included` (r:1 w:1)
117 /// Proof: `ParasDisputes::Included` (`max_values`: None, `max_size`: None, mode: `Measured`)
118 /// Storage: `ParaInherent::OnChainVotes` (r:1 w:1)
119 /// Proof: `ParaInherent::OnChainVotes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
120 /// Storage: `ParasDisputes::Frozen` (r:1 w:0)
121 /// Proof: `ParasDisputes::Frozen` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
122 /// Storage: `ParaInclusion::V1` (r:2 w:1)
123 /// Proof: `ParaInclusion::V1` (`max_values`: None, `max_size`: None, mode: `Measured`)
124 /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1)
125 /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`)
126 /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:1)
127 /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`)
128 /// Storage: `Hrmp::HrmpChannelDigests` (r:1 w:1)
129 /// Proof: `Hrmp::HrmpChannelDigests` (`max_values`: None, `max_size`: None, mode: `Measured`)
130 /// Storage: `Paras::FutureCodeUpgrades` (r:1 w:0)
131 /// Proof: `Paras::FutureCodeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
132 /// Storage: `Registrar::Paras` (r:1 w:0)
133 /// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`)
134 /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0)
135 /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
136 /// Storage: `Initializer::BufferedSessionChanges` (r:1 w:0)
137 /// Proof: `Initializer::BufferedSessionChanges` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
138 /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0)
139 /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
140 /// Storage: `Session::DisabledValidators` (r:1 w:0)
141 /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
142 /// Storage: `CoretimeAssignmentProvider::CoreDescriptors` (r:1 w:1)
143 /// Proof: `CoretimeAssignmentProvider::CoreDescriptors` (`max_values`: None, `max_size`: None, mode: `Measured`)
144 /// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1)
145 /// Proof: `Hrmp::HrmpWatermarks` (`max_values`: None, `max_size`: None, mode: `Measured`)
146 /// Storage: `Paras::Heads` (r:0 w:1)
147 /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`)
148 /// Storage: `Paras::UpgradeGoAheadSignal` (r:0 w:1)
149 /// Proof: `Paras::UpgradeGoAheadSignal` (`max_values`: None, `max_size`: None, mode: `Measured`)
150 /// Storage: `Paras::MostRecentContext` (r:0 w:1)
151 /// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`)
152 /// The range of component `v` is `[400, 1024]`.
153 fn enter_variable_disputes(v: u32, ) -> Weight {
154 // Proof Size summary in bytes:
155 // Measured: `203038`
156 // Estimated: `208978`
157 // Minimum execution time: 17_512_744_000 picoseconds.
158 Weight::from_parts(889_822_933, 0)
159 .saturating_add(Weight::from_parts(0, 208978))
160 // Standard Error: 8_696
161 .saturating_add(Weight::from_parts(41_795_562, 0).saturating_mul(v.into()))
162 .saturating_add(T::DbWeight::get().reads(26))
163 .saturating_add(T::DbWeight::get().writes(16))
164 }
165 /// Storage: `ParaInherent::Included` (r:1 w:1)
166 /// Proof: `ParaInherent::Included` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
167 /// Storage: `System::ParentHash` (r:1 w:0)
168 /// Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
169 /// Storage: `ParasShared::AllowedRelayParents` (r:1 w:1)
170 /// Proof: `ParasShared::AllowedRelayParents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
171 /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:0)
172 /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
173 /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
174 /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
175 /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0)
176 /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
177 /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
178 /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
179 /// Storage: `Babe::AuthorVrfRandomness` (r:1 w:0)
180 /// Proof: `Babe::AuthorVrfRandomness` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
181 /// Storage: `ParaInherent::OnChainVotes` (r:1 w:1)
182 /// Proof: `ParaInherent::OnChainVotes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
183 /// Storage: `ParasDisputes::Frozen` (r:1 w:0)
184 /// Proof: `ParasDisputes::Frozen` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
185 /// Storage: `ParaInclusion::V1` (r:2 w:1)
186 /// Proof: `ParaInclusion::V1` (`max_values`: None, `max_size`: None, mode: `Measured`)
187 /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0)
188 /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
189 /// Storage: `Initializer::BufferedSessionChanges` (r:1 w:0)
190 /// Proof: `Initializer::BufferedSessionChanges` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
191 /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0)
192 /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
193 /// Storage: `Session::DisabledValidators` (r:1 w:0)
194 /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
195 fn enter_bitfields() -> Weight {
196 // Proof Size summary in bytes:
197 // Measured: `76066`
198 // Estimated: `82006`
199 // Minimum execution time: 474_507_000 picoseconds.
200 Weight::from_parts(488_307_000, 0)
201 .saturating_add(Weight::from_parts(0, 82006))
202 .saturating_add(T::DbWeight::get().reads(16))
203 .saturating_add(T::DbWeight::get().writes(4))
204 }
205 /// Storage: `ParaInherent::Included` (r:1 w:1)
206 /// Proof: `ParaInherent::Included` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
207 /// Storage: `System::ParentHash` (r:1 w:0)
208 /// Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
209 /// Storage: `ParasShared::AllowedRelayParents` (r:1 w:1)
210 /// Proof: `ParasShared::AllowedRelayParents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
211 /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1)
212 /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
213 /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
214 /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
215 /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0)
216 /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
217 /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
218 /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
219 /// Storage: `Babe::AuthorVrfRandomness` (r:1 w:0)
220 /// Proof: `Babe::AuthorVrfRandomness` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
221 /// Storage: `ParaInherent::OnChainVotes` (r:1 w:1)
222 /// Proof: `ParaInherent::OnChainVotes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
223 /// Storage: `ParasDisputes::Frozen` (r:1 w:0)
224 /// Proof: `ParasDisputes::Frozen` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
225 /// Storage: `ParaInclusion::V1` (r:2 w:1)
226 /// Proof: `ParaInclusion::V1` (`max_values`: None, `max_size`: None, mode: `Measured`)
227 /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1)
228 /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`)
229 /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:1)
230 /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`)
231 /// Storage: `Hrmp::HrmpChannelDigests` (r:1 w:1)
232 /// Proof: `Hrmp::HrmpChannelDigests` (`max_values`: None, `max_size`: None, mode: `Measured`)
233 /// Storage: `Paras::FutureCodeUpgrades` (r:1 w:0)
234 /// Proof: `Paras::FutureCodeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
235 /// Storage: `Registrar::Paras` (r:1 w:0)
236 /// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`)
237 /// Storage: `ParasDisputes::Disputes` (r:1 w:0)
238 /// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`)
239 /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0)
240 /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
241 /// Storage: `Initializer::BufferedSessionChanges` (r:1 w:0)
242 /// Proof: `Initializer::BufferedSessionChanges` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
243 /// Storage: `Paras::CurrentCodeHash` (r:1 w:0)
244 /// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
245 /// Storage: `Paras::ParaLifecycles` (r:1 w:0)
246 /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
247 /// Storage: `MessageQueue::BookStateFor` (r:1 w:0)
248 /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(55), added: 2530, mode: `MaxEncodedLen`)
249 /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0)
250 /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
251 /// Storage: `Session::DisabledValidators` (r:1 w:0)
252 /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
253 /// Storage: `CoretimeAssignmentProvider::CoreDescriptors` (r:1 w:1)
254 /// Proof: `CoretimeAssignmentProvider::CoreDescriptors` (`max_values`: None, `max_size`: None, mode: `Measured`)
255 /// Storage: `ParasDisputes::Included` (r:0 w:1)
256 /// Proof: `ParasDisputes::Included` (`max_values`: None, `max_size`: None, mode: `Measured`)
257 /// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1)
258 /// Proof: `Hrmp::HrmpWatermarks` (`max_values`: None, `max_size`: None, mode: `Measured`)
259 /// Storage: `Paras::Heads` (r:0 w:1)
260 /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`)
261 /// Storage: `Paras::UpgradeGoAheadSignal` (r:0 w:1)
262 /// Proof: `Paras::UpgradeGoAheadSignal` (`max_values`: None, `max_size`: None, mode: `Measured`)
263 /// Storage: `Paras::MostRecentContext` (r:0 w:1)
264 /// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`)
265 /// The range of component `v` is `[2, 3]`.
266 fn enter_backed_candidates_variable(v: u32, ) -> Weight {
267 // Proof Size summary in bytes:
268 // Measured: `76725`
269 // Estimated: `82665`
270 // Minimum execution time: 1_830_845_000 picoseconds.
271 Weight::from_parts(1_875_526_146, 0)
272 .saturating_add(Weight::from_parts(0, 82665))
273 // Standard Error: 2_235_521
274 .saturating_add(Weight::from_parts(6_190_851, 0).saturating_mul(v.into()))
275 .saturating_add(T::DbWeight::get().reads(26))
276 .saturating_add(T::DbWeight::get().writes(14))
277 }
278 /// Storage: `ParaInherent::Included` (r:1 w:1)
279 /// Proof: `ParaInherent::Included` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
280 /// Storage: `System::ParentHash` (r:1 w:0)
281 /// Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
282 /// Storage: `ParasShared::AllowedRelayParents` (r:1 w:1)
283 /// Proof: `ParasShared::AllowedRelayParents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
284 /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1)
285 /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
286 /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
287 /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
288 /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0)
289 /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
290 /// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
291 /// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
292 /// Storage: `Babe::AuthorVrfRandomness` (r:1 w:0)
293 /// Proof: `Babe::AuthorVrfRandomness` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
294 /// Storage: `ParaInherent::OnChainVotes` (r:1 w:1)
295 /// Proof: `ParaInherent::OnChainVotes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
296 /// Storage: `ParasDisputes::Frozen` (r:1 w:0)
297 /// Proof: `ParasDisputes::Frozen` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
298 /// Storage: `ParaInclusion::V1` (r:2 w:1)
299 /// Proof: `ParaInclusion::V1` (`max_values`: None, `max_size`: None, mode: `Measured`)
300 /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1)
301 /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`)
302 /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:1)
303 /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`)
304 /// Storage: `Hrmp::HrmpChannelDigests` (r:1 w:1)
305 /// Proof: `Hrmp::HrmpChannelDigests` (`max_values`: None, `max_size`: None, mode: `Measured`)
306 /// Storage: `Paras::FutureCodeUpgrades` (r:1 w:0)
307 /// Proof: `Paras::FutureCodeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
308 /// Storage: `Registrar::Paras` (r:1 w:0)
309 /// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`)
310 /// Storage: `ParasDisputes::Disputes` (r:1 w:0)
311 /// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`)
312 /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0)
313 /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
314 /// Storage: `Initializer::BufferedSessionChanges` (r:1 w:0)
315 /// Proof: `Initializer::BufferedSessionChanges` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
316 /// Storage: `Paras::CurrentCodeHash` (r:1 w:0)
317 /// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
318 /// Storage: `Paras::FutureCodeHash` (r:1 w:0)
319 /// Proof: `Paras::FutureCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
320 /// Storage: `Paras::UpgradeRestrictionSignal` (r:1 w:0)
321 /// Proof: `Paras::UpgradeRestrictionSignal` (`max_values`: None, `max_size`: None, mode: `Measured`)
322 /// Storage: `Paras::ParaLifecycles` (r:1 w:0)
323 /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
324 /// Storage: `MessageQueue::BookStateFor` (r:1 w:0)
325 /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(55), added: 2530, mode: `MaxEncodedLen`)
326 /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0)
327 /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
328 /// Storage: `Session::DisabledValidators` (r:1 w:0)
329 /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
330 /// Storage: `CoretimeAssignmentProvider::CoreDescriptors` (r:1 w:1)
331 /// Proof: `CoretimeAssignmentProvider::CoreDescriptors` (`max_values`: None, `max_size`: None, mode: `Measured`)
332 /// Storage: `ParasDisputes::Included` (r:0 w:1)
333 /// Proof: `ParasDisputes::Included` (`max_values`: None, `max_size`: None, mode: `Measured`)
334 /// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1)
335 /// Proof: `Hrmp::HrmpWatermarks` (`max_values`: None, `max_size`: None, mode: `Measured`)
336 /// Storage: `Paras::Heads` (r:0 w:1)
337 /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`)
338 /// Storage: `Paras::UpgradeGoAheadSignal` (r:0 w:1)
339 /// Proof: `Paras::UpgradeGoAheadSignal` (`max_values`: None, `max_size`: None, mode: `Measured`)
340 /// Storage: `Paras::MostRecentContext` (r:0 w:1)
341 /// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`)
342 fn enter_backed_candidate_code_upgrade() -> Weight {
343 // Proof Size summary in bytes:
344 // Measured: `76738`
345 // Estimated: `82678`
346 // Minimum execution time: 73_088_660_000 picoseconds.
347 Weight::from_parts(73_715_351_000, 0)
348 .saturating_add(Weight::from_parts(0, 82678))
349 .saturating_add(T::DbWeight::get().reads(28))
350 .saturating_add(T::DbWeight::get().writes(14))
351 }
352}