1
// Copyright (C) Moondance Labs Ltd.
2
// This file is part of Tanssi.
3

            
4
// Tanssi 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
// Tanssi 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 Tanssi.  If not, see <http://www.gnu.org/licenses/>
16

            
17

            
18
//! Autogenerated weights for runtime_parachains::paras_inherent
19
//!
20
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0
21
//! DATE: 2024-09-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `benchmark-1`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
24
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("starlight-dev"), DB CACHE: 1024
25

            
26
// Executed Command:
27
// target/release/tanssi-relay
28
// benchmark
29
// pallet
30
// --execution=wasm
31
// --wasm-execution=compiled
32
// --pallet
33
// runtime_parachains::paras_inherent
34
// --extrinsic
35
// *
36
// --chain=starlight-dev
37
// --steps
38
// 50
39
// --repeat
40
// 20
41
// --template=benchmarking/frame-weight-runtime-template.hbs
42
// --json-file
43
// raw.json
44
// --output
45
// tmp/starlight_weights/runtime_parachains::paras_inherent.rs
46

            
47
#![cfg_attr(rustfmt, rustfmt_skip)]
48
#![allow(unused_parens)]
49
#![allow(unused_imports)]
50

            
51
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
52
use sp_std::marker::PhantomData;
53

            
54
/// Weights for runtime_parachains::paras_inherent using the Substrate node and recommended hardware.
55
pub struct SubstrateWeight<T>(PhantomData<T>);
56
impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for SubstrateWeight<T> {
57
	/// Storage: `ParaInherent::Included` (r:1 w:1)
58
	/// Proof: `ParaInherent::Included` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
59
	/// Storage: `System::ParentHash` (r:1 w:0)
60
	/// Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
61
	/// Storage: `ParasShared::AllowedRelayParents` (r:1 w:1)
62
	/// Proof: `ParasShared::AllowedRelayParents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
63
	/// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
64
	/// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
65
	/// Storage: `ParaScheduler::AvailabilityCores` (r:1 w:1)
66
	/// Proof: `ParaScheduler::AvailabilityCores` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
67
	/// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
68
	/// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
69
	/// Storage: `Babe::AuthorVrfRandomness` (r:1 w:0)
70
	/// Proof: `Babe::AuthorVrfRandomness` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
71
	/// Storage: `ParaSessionInfo::Sessions` (r:1 w:0)
72
	/// Proof: `ParaSessionInfo::Sessions` (`max_values`: None, `max_size`: None, mode: `Measured`)
73
	/// Storage: `ParasDisputes::Disputes` (r:1 w:1)
74
	/// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`)
75
	/// Storage: `ParasDisputes::BackersOnDisputes` (r:1 w:1)
76
	/// Proof: `ParasDisputes::BackersOnDisputes` (`max_values`: None, `max_size`: None, mode: `Measured`)
77
	/// Storage: `ParasDisputes::Included` (r:1 w:1)
78
	/// Proof: `ParasDisputes::Included` (`max_values`: None, `max_size`: None, mode: `Measured`)
79
	/// Storage: `ParaInherent::OnChainVotes` (r:1 w:1)
80
	/// Proof: `ParaInherent::OnChainVotes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
81
	/// Storage: `ParasDisputes::Frozen` (r:1 w:0)
82
	/// Proof: `ParasDisputes::Frozen` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
83
	/// Storage: `ParaInclusion::V1` (r:2 w:1)
84
	/// Proof: `ParaInclusion::V1` (`max_values`: None, `max_size`: None, mode: `Measured`)
85
	/// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1)
86
	/// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`)
87
	/// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:1)
88
	/// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`)
89
	/// Storage: `Hrmp::HrmpChannelDigests` (r:1 w:1)
90
	/// Proof: `Hrmp::HrmpChannelDigests` (`max_values`: None, `max_size`: None, mode: `Measured`)
91
	/// Storage: `Paras::FutureCodeUpgrades` (r:1 w:0)
92
	/// Proof: `Paras::FutureCodeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
93
	/// Storage: `Registrar::Paras` (r:1 w:0)
94
	/// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`)
95
	/// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0)
96
	/// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
97
	/// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0)
98
	/// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
99
	/// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1)
100
	/// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
101
	/// Storage: `TanssiCollatorAssignment::CollatorContainerChain` (r:1 w:0)
102
	/// Proof: `TanssiCollatorAssignment::CollatorContainerChain` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
103
	/// Storage: `OnDemandAssignmentProvider::QueueStatus` (r:1 w:0)
104
	/// Proof: `OnDemandAssignmentProvider::QueueStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
105
	/// Storage: `OnDemandAssignmentProvider::AffinityEntries` (r:1 w:0)
106
	/// Proof: `OnDemandAssignmentProvider::AffinityEntries` (`max_values`: None, `max_size`: None, mode: `Measured`)
107
	/// Storage: `OnDemandAssignmentProvider::FreeEntries` (r:1 w:0)
108
	/// Proof: `OnDemandAssignmentProvider::FreeEntries` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
109
	/// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0)
110
	/// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
111
	/// Storage: `Session::DisabledValidators` (r:1 w:0)
112
	/// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
113
	/// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1)
114
	/// Proof: `Hrmp::HrmpWatermarks` (`max_values`: None, `max_size`: None, mode: `Measured`)
115
	/// Storage: `Paras::Heads` (r:0 w:1)
116
	/// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`)
117
	/// Storage: `Paras::UpgradeGoAheadSignal` (r:0 w:1)
118
	/// Proof: `Paras::UpgradeGoAheadSignal` (`max_values`: None, `max_size`: None, mode: `Measured`)
119
	/// Storage: `Paras::MostRecentContext` (r:0 w:1)
120
	/// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`)
121
	/// The range of component `v` is `[10, 200]`.
122
	fn enter_variable_disputes(v: u32, ) -> Weight {
123
		// Proof Size summary in bytes:
124
		//  Measured:  `67813`
125
		//  Estimated: `73753 + v * (23 ±0)`
126
		// Minimum execution time: 984_560_000 picoseconds.
127
		Weight::from_parts(602_393_192, 73753)
128
			// Standard Error: 21_493
129
			.saturating_add(Weight::from_parts(41_840_102, 0).saturating_mul(v.into()))
130
			.saturating_add(T::DbWeight::get().reads(28_u64))
131
			.saturating_add(T::DbWeight::get().writes(14_u64))
132
			.saturating_add(Weight::from_parts(0, 23).saturating_mul(v.into()))
133
	}
134
	/// Storage: `ParaInherent::Included` (r:1 w:1)
135
	/// Proof: `ParaInherent::Included` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
136
	/// Storage: `System::ParentHash` (r:1 w:0)
137
	/// Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
138
	/// Storage: `ParasShared::AllowedRelayParents` (r:1 w:1)
139
	/// Proof: `ParasShared::AllowedRelayParents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
140
	/// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
141
	/// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
142
	/// Storage: `ParaScheduler::AvailabilityCores` (r:1 w:1)
143
	/// Proof: `ParaScheduler::AvailabilityCores` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
144
	/// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
145
	/// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
146
	/// Storage: `Babe::AuthorVrfRandomness` (r:1 w:0)
147
	/// Proof: `Babe::AuthorVrfRandomness` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
148
	/// Storage: `ParaInherent::OnChainVotes` (r:1 w:1)
149
	/// Proof: `ParaInherent::OnChainVotes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
150
	/// Storage: `ParasDisputes::Frozen` (r:1 w:0)
151
	/// Proof: `ParasDisputes::Frozen` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
152
	/// Storage: `ParaInclusion::V1` (r:2 w:1)
153
	/// Proof: `ParaInclusion::V1` (`max_values`: None, `max_size`: None, mode: `Measured`)
154
	/// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0)
155
	/// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
156
	/// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0)
157
	/// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
158
	/// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1)
159
	/// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
160
	/// Storage: `TanssiCollatorAssignment::CollatorContainerChain` (r:1 w:0)
161
	/// Proof: `TanssiCollatorAssignment::CollatorContainerChain` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
162
	/// Storage: `OnDemandAssignmentProvider::QueueStatus` (r:1 w:0)
163
	/// Proof: `OnDemandAssignmentProvider::QueueStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
164
	/// Storage: `OnDemandAssignmentProvider::AffinityEntries` (r:1 w:0)
165
	/// Proof: `OnDemandAssignmentProvider::AffinityEntries` (`max_values`: None, `max_size`: None, mode: `Measured`)
166
	/// Storage: `OnDemandAssignmentProvider::FreeEntries` (r:1 w:0)
167
	/// Proof: `OnDemandAssignmentProvider::FreeEntries` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
168
	/// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0)
169
	/// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
170
	/// Storage: `Session::DisabledValidators` (r:1 w:0)
171
	/// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
172
8
	fn enter_bitfields() -> Weight {
173
8
		// Proof Size summary in bytes:
174
8
		//  Measured:  `42369`
175
8
		//  Estimated: `48309`
176
8
		// Minimum execution time: 389_412_000 picoseconds.
177
8
		Weight::from_parts(405_977_000, 48309)
178
8
			.saturating_add(T::DbWeight::get().reads(20_u64))
179
8
			.saturating_add(T::DbWeight::get().writes(6_u64))
180
8
	}
181
	/// Storage: `ParaInherent::Included` (r:1 w:1)
182
	/// Proof: `ParaInherent::Included` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
183
	/// Storage: `System::ParentHash` (r:1 w:0)
184
	/// Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
185
	/// Storage: `ParasShared::AllowedRelayParents` (r:1 w:1)
186
	/// Proof: `ParasShared::AllowedRelayParents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
187
	/// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
188
	/// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
189
	/// Storage: `ParaScheduler::AvailabilityCores` (r:1 w:1)
190
	/// Proof: `ParaScheduler::AvailabilityCores` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
191
	/// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
192
	/// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
193
	/// Storage: `Babe::AuthorVrfRandomness` (r:1 w:0)
194
	/// Proof: `Babe::AuthorVrfRandomness` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
195
	/// Storage: `ParaInherent::OnChainVotes` (r:1 w:1)
196
	/// Proof: `ParaInherent::OnChainVotes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
197
	/// Storage: `ParasDisputes::Frozen` (r:1 w:0)
198
	/// Proof: `ParasDisputes::Frozen` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
199
	/// Storage: `ParaInclusion::V1` (r:2 w:1)
200
	/// Proof: `ParaInclusion::V1` (`max_values`: None, `max_size`: None, mode: `Measured`)
201
	/// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1)
202
	/// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`)
203
	/// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:1)
204
	/// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`)
205
	/// Storage: `Hrmp::HrmpChannelDigests` (r:1 w:1)
206
	/// Proof: `Hrmp::HrmpChannelDigests` (`max_values`: None, `max_size`: None, mode: `Measured`)
207
	/// Storage: `Paras::FutureCodeUpgrades` (r:1 w:0)
208
	/// Proof: `Paras::FutureCodeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
209
	/// Storage: `Registrar::Paras` (r:1 w:0)
210
	/// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`)
211
	/// Storage: `ParasDisputes::Disputes` (r:1 w:0)
212
	/// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`)
213
	/// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0)
214
	/// Proof: `ParaScheduler::SessionStartBlock` (`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: `ParaScheduler::ClaimQueue` (r:1 w:1)
218
	/// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
219
	/// Storage: `TanssiCollatorAssignment::CollatorContainerChain` (r:1 w:0)
220
	/// Proof: `TanssiCollatorAssignment::CollatorContainerChain` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
221
	/// Storage: `OnDemandAssignmentProvider::QueueStatus` (r:1 w:0)
222
	/// Proof: `OnDemandAssignmentProvider::QueueStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
223
	/// Storage: `OnDemandAssignmentProvider::AffinityEntries` (r:1 w:0)
224
	/// Proof: `OnDemandAssignmentProvider::AffinityEntries` (`max_values`: None, `max_size`: None, mode: `Measured`)
225
	/// Storage: `OnDemandAssignmentProvider::FreeEntries` (r:1 w:0)
226
	/// Proof: `OnDemandAssignmentProvider::FreeEntries` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
227
	/// Storage: `Paras::CurrentCodeHash` (r:1 w:0)
228
	/// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
229
	/// Storage: `Paras::ParaLifecycles` (r:1 w:0)
230
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
231
	/// Storage: `MessageQueue::BookStateFor` (r:1 w:0)
232
	/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(55), added: 2530, mode: `MaxEncodedLen`)
233
	/// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0)
234
	/// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
235
	/// Storage: `Session::DisabledValidators` (r:1 w:0)
236
	/// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
237
	/// Storage: `ParasDisputes::Included` (r:0 w:1)
238
	/// Proof: `ParasDisputes::Included` (`max_values`: None, `max_size`: None, mode: `Measured`)
239
	/// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1)
240
	/// Proof: `Hrmp::HrmpWatermarks` (`max_values`: None, `max_size`: None, mode: `Measured`)
241
	/// Storage: `Paras::Heads` (r:0 w:1)
242
	/// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`)
243
	/// Storage: `Paras::UpgradeGoAheadSignal` (r:0 w:1)
244
	/// Proof: `Paras::UpgradeGoAheadSignal` (`max_values`: None, `max_size`: None, mode: `Measured`)
245
	/// Storage: `Paras::MostRecentContext` (r:0 w:1)
246
	/// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`)
247
	/// The range of component `v` is `[101, 200]`.
248
9
	fn enter_backed_candidates_variable(v: u32, ) -> Weight {
249
9
		// Proof Size summary in bytes:
250
9
		//  Measured:  `42858`
251
9
		//  Estimated: `48798`
252
9
		// Minimum execution time: 1_451_071_000 picoseconds.
253
9
		Weight::from_parts(1_489_393_656, 48798)
254
9
			// Standard Error: 19_086
255
9
			.saturating_add(Weight::from_parts(42_484, 0).saturating_mul(v.into()))
256
9
			.saturating_add(T::DbWeight::get().reads(29_u64))
257
9
			.saturating_add(T::DbWeight::get().writes(14_u64))
258
9
	}
259
	/// Storage: `ParaInherent::Included` (r:1 w:1)
260
	/// Proof: `ParaInherent::Included` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
261
	/// Storage: `System::ParentHash` (r:1 w:0)
262
	/// Proof: `System::ParentHash` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
263
	/// Storage: `ParasShared::AllowedRelayParents` (r:1 w:1)
264
	/// Proof: `ParasShared::AllowedRelayParents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
265
	/// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
266
	/// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
267
	/// Storage: `ParaScheduler::AvailabilityCores` (r:1 w:1)
268
	/// Proof: `ParaScheduler::AvailabilityCores` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
269
	/// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
270
	/// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
271
	/// Storage: `Babe::AuthorVrfRandomness` (r:1 w:0)
272
	/// Proof: `Babe::AuthorVrfRandomness` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
273
	/// Storage: `ParaInherent::OnChainVotes` (r:1 w:1)
274
	/// Proof: `ParaInherent::OnChainVotes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
275
	/// Storage: `ParasDisputes::Frozen` (r:1 w:0)
276
	/// Proof: `ParasDisputes::Frozen` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
277
	/// Storage: `ParaInclusion::V1` (r:2 w:1)
278
	/// Proof: `ParaInclusion::V1` (`max_values`: None, `max_size`: None, mode: `Measured`)
279
	/// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1)
280
	/// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`)
281
	/// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:1)
282
	/// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`)
283
	/// Storage: `Hrmp::HrmpChannelDigests` (r:1 w:1)
284
	/// Proof: `Hrmp::HrmpChannelDigests` (`max_values`: None, `max_size`: None, mode: `Measured`)
285
	/// Storage: `Paras::FutureCodeUpgrades` (r:1 w:0)
286
	/// Proof: `Paras::FutureCodeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
287
	/// Storage: `Registrar::Paras` (r:1 w:0)
288
	/// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`)
289
	/// Storage: `ParasDisputes::Disputes` (r:1 w:0)
290
	/// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`)
291
	/// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0)
292
	/// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
293
	/// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0)
294
	/// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
295
	/// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1)
296
	/// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
297
	/// Storage: `TanssiCollatorAssignment::CollatorContainerChain` (r:1 w:0)
298
	/// Proof: `TanssiCollatorAssignment::CollatorContainerChain` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
299
	/// Storage: `OnDemandAssignmentProvider::QueueStatus` (r:1 w:0)
300
	/// Proof: `OnDemandAssignmentProvider::QueueStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
301
	/// Storage: `OnDemandAssignmentProvider::AffinityEntries` (r:1 w:0)
302
	/// Proof: `OnDemandAssignmentProvider::AffinityEntries` (`max_values`: None, `max_size`: None, mode: `Measured`)
303
	/// Storage: `OnDemandAssignmentProvider::FreeEntries` (r:1 w:0)
304
	/// Proof: `OnDemandAssignmentProvider::FreeEntries` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
305
	/// Storage: `Paras::CurrentCodeHash` (r:1 w:0)
306
	/// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
307
	/// Storage: `Paras::FutureCodeHash` (r:1 w:0)
308
	/// Proof: `Paras::FutureCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
309
	/// Storage: `Paras::UpgradeRestrictionSignal` (r:1 w:0)
310
	/// Proof: `Paras::UpgradeRestrictionSignal` (`max_values`: None, `max_size`: None, mode: `Measured`)
311
	/// Storage: `Paras::ParaLifecycles` (r:1 w:0)
312
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
313
	/// Storage: `MessageQueue::BookStateFor` (r:1 w:0)
314
	/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(55), added: 2530, mode: `MaxEncodedLen`)
315
	/// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0)
316
	/// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
317
	/// Storage: `Session::DisabledValidators` (r:1 w:0)
318
	/// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
319
	/// Storage: `ParasDisputes::Included` (r:0 w:1)
320
	/// Proof: `ParasDisputes::Included` (`max_values`: None, `max_size`: None, mode: `Measured`)
321
	/// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1)
322
	/// Proof: `Hrmp::HrmpWatermarks` (`max_values`: None, `max_size`: None, mode: `Measured`)
323
	/// Storage: `Paras::Heads` (r:0 w:1)
324
	/// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`)
325
	/// Storage: `Paras::UpgradeGoAheadSignal` (r:0 w:1)
326
	/// Proof: `Paras::UpgradeGoAheadSignal` (`max_values`: None, `max_size`: None, mode: `Measured`)
327
	/// Storage: `Paras::MostRecentContext` (r:0 w:1)
328
	/// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`)
329
	fn enter_backed_candidate_code_upgrade() -> Weight {
330
		// Proof Size summary in bytes:
331
		//  Measured:  `42871`
332
		//  Estimated: `48811`
333
		// Minimum execution time: 37_166_821_000 picoseconds.
334
		Weight::from_parts(37_859_964_000, 48811)
335
			.saturating_add(T::DbWeight::get().reads(31_u64))
336
			.saturating_add(T::DbWeight::get().writes(14_u64))
337
	}
338
}