pallet_domains/weights.rs
1
2//! Autogenerated weights for `pallet_domains`
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.2.0
5//! DATE: 2025-09-30, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
6//! WORST CASE MAP SIZE: `1000000`
7//! HOSTNAME: `macmini`, CPU: `<UNKNOWN>`
8//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
9
10// Executed Command:
11// ./target/release/subspace-node
12// benchmark
13// pallet
14// --runtime=./target/release/wbuild/subspace-runtime/subspace_runtime.compact.compressed.wasm
15// --genesis-builder=none
16// --steps=2
17// --repeat=1
18// --pallet=pallet_domains
19// --extrinsic=*
20// --wasm-execution=compiled
21// --heap-pages=4096
22// --output=./crates/pallet-domains/src/weights.rs
23
24#![cfg_attr(rustfmt, rustfmt_skip)]
25#![allow(unused_parens)]
26#![allow(unused_imports)]
27#![allow(missing_docs)]
28
29use frame_support::{traits::Get, weights::Weight};
30use core::marker::PhantomData;
31
32/// Weight functions for `pallet_domains`.
33pub struct SubstrateWeight<T>(PhantomData<T>);
34impl<T: frame_system::Config> crate::WeightInfo for SubstrateWeight<T> {
35 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
36 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
37 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
38 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
39 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:1)
40 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
41 /// Storage: `Domains::ExecutionInbox` (r:4 w:1)
42 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
43 /// Storage: `Domains::PendingSlashes` (r:1 w:0)
44 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
45 /// Storage: `Domains::InvalidBundleAuthors` (r:1 w:1)
46 /// Proof: `Domains::InvalidBundleAuthors` (`max_values`: None, `max_size`: None, mode: `Measured`)
47 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
48 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
49 /// Storage: `Domains::BlockTree` (r:2 w:2)
50 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
51 /// Storage: `RuntimeConfigs::DomainBlockPruningDepth` (r:1 w:0)
52 /// Proof: `RuntimeConfigs::DomainBlockPruningDepth` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
53 /// Storage: `Domains::BlockTreeNodes` (r:1 w:2)
54 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
55 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
56 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
57 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
58 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
59 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
60 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
61 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
62 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
63 /// Storage: `Domains::SuccessfulBundles` (r:1 w:1)
64 /// Proof: `Domains::SuccessfulBundles` (`max_values`: None, `max_size`: None, mode: `Measured`)
65 /// Storage: `Domains::HeadDomainNumber` (r:1 w:1)
66 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
67 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:1)
68 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
69 /// Storage: `Domains::InboxedBundleAuthor` (r:0 w:1)
70 /// Proof: `Domains::InboxedBundleAuthor` (`max_values`: None, `max_size`: None, mode: `Measured`)
71 /// Storage: `Domains::ConsensusBlockHash` (r:0 w:1)
72 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
73 fn submit_bundle() -> Weight {
74 // Proof Size summary in bytes:
75 // Measured: `1896`
76 // Estimated: `12786`
77 // Minimum execution time: 134_000_000 picoseconds.
78 Weight::from_parts(134_000_000, 0)
79 .saturating_add(Weight::from_parts(0, 12786))
80 .saturating_add(T::DbWeight::get().reads(21))
81 .saturating_add(T::DbWeight::get().writes(16))
82 }
83 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
84 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
85 /// Storage: `Domains::BlockTreeNodes` (r:1 w:0)
86 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
87 fn submit_fraud_proof() -> Weight {
88 // Proof Size summary in bytes:
89 // Measured: `1092`
90 // Estimated: `4557`
91 // Minimum execution time: 29_000_000 picoseconds.
92 Weight::from_parts(29_000_000, 0)
93 .saturating_add(Weight::from_parts(0, 4557))
94 .saturating_add(T::DbWeight::get().reads(2))
95 .saturating_add(T::DbWeight::get().writes(1))
96 }
97 /// Storage: `Domains::BlockTree` (r:1 w:1)
98 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
99 /// Storage: `Domains::BlockTreeNodes` (r:1 w:1)
100 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
101 /// Storage: `Domains::LatestSubmittedER` (r:100 w:0)
102 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
103 /// Storage: `Domains::Operators` (r:100 w:100)
104 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
105 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
106 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
107 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
108 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
109 /// The range of component `n` is `[1, 100]`.
110 fn handle_bad_receipt(_n: u32, ) -> Weight {
111 // Proof Size summary in bytes:
112 // Measured: `983 + n * (192 ±0)`
113 // Estimated: `268718`
114 // Minimum execution time: 45_000_000 picoseconds.
115 Weight::from_parts(1_600_000_000, 0)
116 .saturating_add(Weight::from_parts(0, 268718))
117 .saturating_add(T::DbWeight::get().reads(204))
118 .saturating_add(T::DbWeight::get().writes(104))
119 }
120 /// Storage: `Domains::Operators` (r:200 w:100)
121 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
122 /// Storage: `System::Account` (r:100 w:100)
123 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
124 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
125 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
126 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
127 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
128 /// The range of component `n` is `[1, 100]`.
129 /// The range of component `s` is `[0, 100]`.
130 fn confirm_domain_block(n: u32, s: u32, ) -> Weight {
131 // Proof Size summary in bytes:
132 // Measured: `0 + n * (384 ±0) + s * (225 ±0)`
133 // Estimated: `270413 + n * (2603 ±0) + s * (1077 ±0)`
134 // Minimum execution time: 1_450_000_000 picoseconds.
135 Weight::from_parts(1_450_000_000, 0)
136 .saturating_add(Weight::from_parts(0, 270413))
137 // Standard Error: 8_260_225
138 .saturating_add(Weight::from_parts(14_950_586, 0).saturating_mul(n.into()))
139 // Standard Error: 8_260_362
140 .saturating_add(Weight::from_parts(9_386_440, 0).saturating_mul(s.into()))
141 .saturating_add(T::DbWeight::get().reads(1))
142 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into())))
143 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
144 .saturating_add(T::DbWeight::get().writes(1))
145 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
146 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
147 .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into()))
148 .saturating_add(Weight::from_parts(0, 1077).saturating_mul(s.into()))
149 }
150 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
151 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
152 /// Storage: `Domains::DomainChainRewards` (r:1 w:0)
153 /// Proof: `Domains::DomainChainRewards` (`max_values`: None, `max_size`: None, mode: `Measured`)
154 /// Storage: `Domains::Operators` (r:100 w:100)
155 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
156 /// Storage: `Domains::LatestSubmittedER` (r:100 w:0)
157 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
158 /// The range of component `n` is `[1, 100]`.
159 fn operator_reward_tax_and_restake(_n: u32, ) -> Weight {
160 // Proof Size summary in bytes:
161 // Measured: `447 + n * (208 ±0)`
162 // Estimated: `269781`
163 // Minimum execution time: 21_000_000 picoseconds.
164 Weight::from_parts(486_000_000, 0)
165 .saturating_add(Weight::from_parts(0, 269781))
166 .saturating_add(T::DbWeight::get().reads(202))
167 .saturating_add(T::DbWeight::get().writes(101))
168 }
169 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
170 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
171 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
172 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
173 /// Storage: `Domains::Operators` (r:1 w:1)
174 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
175 /// Storage: `Domains::Deposits` (r:11 w:10)
176 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
177 /// Storage: `Domains::DepositOnHold` (r:10 w:10)
178 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
179 /// Storage: `Domains::OperatorEpochSharePrice` (r:2 w:2)
180 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
181 /// Storage: `Domains::Withdrawals` (r:11 w:0)
182 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
183 /// Storage: `Balances::Holds` (r:10 w:10)
184 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
185 /// Storage: `System::Account` (r:12 w:12)
186 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
187 /// Storage: `Domains::OperatorHighestSlot` (r:0 w:1)
188 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
189 /// Storage: `Domains::OperatorIdOwner` (r:0 w:1)
190 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
191 /// The range of component `n` is `[0, 9]`.
192 fn slash_operator(_n: u32, ) -> Weight {
193 // Proof Size summary in bytes:
194 // Measured: `1281 + n * (347 ±0)`
195 // Estimated: `32623`
196 // Minimum execution time: 167_000_000 picoseconds.
197 Weight::from_parts(777_000_000, 0)
198 .saturating_add(Weight::from_parts(0, 32623))
199 .saturating_add(T::DbWeight::get().reads(59))
200 .saturating_add(T::DbWeight::get().writes(48))
201 }
202 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
203 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
204 /// Storage: `Domains::LatestSubmittedER` (r:512 w:0)
205 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
206 /// Storage: `Domains::Operators` (r:512 w:512)
207 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
208 /// Storage: `Domains::InvalidBundleAuthors` (r:1 w:0)
209 /// Proof: `Domains::InvalidBundleAuthors` (`max_values`: None, `max_size`: None, mode: `Measured`)
210 /// Storage: `Domains::DeregisteredOperators` (r:1 w:0)
211 /// Proof: `Domains::DeregisteredOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
212 /// Storage: `Domains::DeactivatedOperators` (r:1 w:0)
213 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
214 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
215 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
216 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:512)
217 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
218 /// The range of component `p` is `[0, 512]`.
219 fn finalize_domain_epoch_staking(_p: u32, ) -> Weight {
220 // Proof Size summary in bytes:
221 // Measured: `108058`
222 // Estimated: `1376248`
223 // Minimum execution time: 3_041_000_000 picoseconds.
224 Weight::from_parts(4_445_000_000, 0)
225 .saturating_add(Weight::from_parts(0, 1376248))
226 .saturating_add(T::DbWeight::get().reads(1028))
227 .saturating_add(T::DbWeight::get().writes(1026))
228 }
229 /// Storage: `Domains::NextRuntimeId` (r:1 w:1)
230 /// Proof: `Domains::NextRuntimeId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
231 /// Storage: `Domains::RuntimeRegistry` (r:0 w:1)
232 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
233 fn register_domain_runtime() -> Weight {
234 // Proof Size summary in bytes:
235 // Measured: `0`
236 // Estimated: `1485`
237 // Minimum execution time: 19_963_000_000 picoseconds.
238 Weight::from_parts(19_963_000_000, 0)
239 .saturating_add(Weight::from_parts(0, 1485))
240 .saturating_add(T::DbWeight::get().reads(1))
241 .saturating_add(T::DbWeight::get().writes(2))
242 }
243 /// Storage: `Domains::RuntimeRegistry` (r:1 w:0)
244 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
245 /// Storage: `Domains::ScheduledRuntimeUpgrades` (r:1 w:1)
246 /// Proof: `Domains::ScheduledRuntimeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
247 fn upgrade_domain_runtime() -> Weight {
248 // Proof Size summary in bytes:
249 // Measured: `2481066`
250 // Estimated: `2484531`
251 // Minimum execution time: 20_723_000_000 picoseconds.
252 Weight::from_parts(20_723_000_000, 0)
253 .saturating_add(Weight::from_parts(0, 2484531))
254 .saturating_add(T::DbWeight::get().reads(2))
255 .saturating_add(T::DbWeight::get().writes(1))
256 }
257 /// Storage: `Domains::PermissionedActionAllowedBy` (r:1 w:0)
258 /// Proof: `Domains::PermissionedActionAllowedBy` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
259 /// Storage: `Domains::RuntimeRegistry` (r:1 w:1)
260 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
261 /// Storage: `System::Account` (r:1 w:1)
262 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
263 /// Storage: `Domains::NextDomainId` (r:1 w:1)
264 /// Proof: `Domains::NextDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
265 /// Storage: `Domains::EvmChainIds` (r:1 w:1)
266 /// Proof: `Domains::EvmChainIds` (`max_values`: None, `max_size`: None, mode: `Measured`)
267 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
268 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
269 /// Storage: `Balances::Holds` (r:1 w:1)
270 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
271 /// Storage: `Domains::DomainSudoCalls` (r:0 w:1)
272 /// Proof: `Domains::DomainSudoCalls` (`max_values`: None, `max_size`: None, mode: `Measured`)
273 /// Storage: `Domains::DomainRegistry` (r:0 w:1)
274 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
275 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
276 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
277 /// Storage: `Domains::DomainStakingSummary` (r:0 w:1)
278 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
279 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:0 w:1)
280 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
281 /// Storage: `Domains::DomainGenesisBlockExecutionReceipt` (r:0 w:1)
282 /// Proof: `Domains::DomainGenesisBlockExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
283 /// Storage: `Domains::BlockTree` (r:0 w:1)
284 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
285 /// Storage: `Messenger::DomainChainAllowlistUpdate` (r:0 w:1)
286 /// Proof: `Messenger::DomainChainAllowlistUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`)
287 fn instantiate_domain() -> Weight {
288 // Proof Size summary in bytes:
289 // Measured: `2481138`
290 // Estimated: `2484603`
291 // Minimum execution time: 5_434_000_000 picoseconds.
292 Weight::from_parts(5_434_000_000, 0)
293 .saturating_add(Weight::from_parts(0, 2484603))
294 .saturating_add(T::DbWeight::get().reads(7))
295 .saturating_add(T::DbWeight::get().writes(14))
296 }
297 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
298 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
299 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
300 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
301 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
302 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
303 /// Storage: `Domains::NextOperatorId` (r:1 w:1)
304 /// Proof: `Domains::NextOperatorId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
305 /// Storage: `System::Account` (r:2 w:2)
306 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
307 /// Storage: `Domains::DepositOnHold` (r:1 w:1)
308 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
309 /// Storage: `Balances::Holds` (r:1 w:1)
310 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
311 /// Storage: `Domains::Deposits` (r:1 w:1)
312 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
313 /// Storage: `Domains::DomainChainRewards` (r:1 w:0)
314 /// Proof: `Domains::DomainChainRewards` (`max_values`: None, `max_size`: None, mode: `Measured`)
315 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
316 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
317 /// Storage: `Domains::InvalidBundleAuthors` (r:1 w:0)
318 /// Proof: `Domains::InvalidBundleAuthors` (`max_values`: None, `max_size`: None, mode: `Measured`)
319 /// Storage: `Domains::DeregisteredOperators` (r:1 w:0)
320 /// Proof: `Domains::DeregisteredOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
321 /// Storage: `Domains::DeactivatedOperators` (r:1 w:0)
322 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
323 /// Storage: `Domains::Operators` (r:0 w:1)
324 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
325 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
326 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
327 /// Storage: `Domains::OperatorIdOwner` (r:0 w:1)
328 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
329 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:1)
330 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
331 fn register_operator() -> Weight {
332 // Proof Size summary in bytes:
333 // Measured: `684`
334 // Estimated: `6196`
335 // Minimum execution time: 149_000_000 picoseconds.
336 Weight::from_parts(149_000_000, 0)
337 .saturating_add(Weight::from_parts(0, 6196))
338 .saturating_add(T::DbWeight::get().reads(14))
339 .saturating_add(T::DbWeight::get().writes(12))
340 }
341 /// Storage: `Domains::Operators` (r:1 w:1)
342 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
343 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
344 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
345 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
346 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
347 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
348 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
349 /// Storage: `System::Account` (r:2 w:2)
350 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
351 /// Storage: `Domains::DepositOnHold` (r:1 w:1)
352 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
353 /// Storage: `Balances::Holds` (r:1 w:1)
354 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
355 /// Storage: `Domains::Deposits` (r:1 w:1)
356 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
357 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
358 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
359 fn nominate_operator() -> Weight {
360 // Proof Size summary in bytes:
361 // Measured: `1248`
362 // Estimated: `6196`
363 // Minimum execution time: 122_000_000 picoseconds.
364 Weight::from_parts(122_000_000, 0)
365 .saturating_add(Weight::from_parts(0, 6196))
366 .saturating_add(T::DbWeight::get().reads(10))
367 .saturating_add(T::DbWeight::get().writes(7))
368 }
369 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
370 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
371 /// Storage: `Domains::Operators` (r:1 w:1)
372 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
373 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
374 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
375 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
376 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
377 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
378 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
379 /// Storage: `RuntimeConfigs::StakingWithdrawalPeriod` (r:1 w:0)
380 /// Proof: `RuntimeConfigs::StakingWithdrawalPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
381 /// Storage: `Domains::DeregisteredOperators` (r:1 w:1)
382 /// Proof: `Domains::DeregisteredOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
383 fn deregister_operator() -> Weight {
384 // Proof Size summary in bytes:
385 // Measured: `698`
386 // Estimated: `4163`
387 // Minimum execution time: 38_000_000 picoseconds.
388 Weight::from_parts(38_000_000, 0)
389 .saturating_add(Weight::from_parts(0, 4163))
390 .saturating_add(T::DbWeight::get().reads(7))
391 .saturating_add(T::DbWeight::get().writes(3))
392 }
393 /// Storage: `Domains::Operators` (r:1 w:1)
394 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
395 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
396 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
397 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
398 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
399 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
400 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
401 /// Storage: `Domains::Deposits` (r:1 w:1)
402 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
403 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
404 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
405 /// Storage: `Domains::Withdrawals` (r:1 w:1)
406 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
407 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
408 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
409 /// Storage: `System::Account` (r:2 w:2)
410 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
411 /// Storage: `Balances::Holds` (r:1 w:1)
412 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
413 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
414 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
415 /// Storage: `RuntimeConfigs::StakingWithdrawalPeriod` (r:1 w:0)
416 /// Proof: `RuntimeConfigs::StakingWithdrawalPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
417 fn withdraw_stake() -> Weight {
418 // Proof Size summary in bytes:
419 // Measured: `1442`
420 // Estimated: `6196`
421 // Minimum execution time: 104_000_000 picoseconds.
422 Weight::from_parts(104_000_000, 0)
423 .saturating_add(Weight::from_parts(0, 6196))
424 .saturating_add(T::DbWeight::get().reads(13))
425 .saturating_add(T::DbWeight::get().writes(7))
426 }
427 /// Storage: `Domains::Operators` (r:1 w:0)
428 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
429 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
430 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
431 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
432 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
433 /// Storage: `Domains::Withdrawals` (r:1 w:1)
434 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
435 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
436 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
437 /// Storage: `Domains::DepositOnHold` (r:1 w:1)
438 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
439 /// Storage: `System::Account` (r:1 w:1)
440 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
441 /// Storage: `Balances::Holds` (r:1 w:1)
442 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
443 /// Storage: `Domains::Deposits` (r:1 w:1)
444 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
445 /// The range of component `w` is `[1, 32]`.
446 fn unlock_funds(_w: u32, ) -> Weight {
447 // Proof Size summary in bytes:
448 // Measured: `1178 + w * (36 ±0)`
449 // Estimated: `5795`
450 // Minimum execution time: 103_000_000 picoseconds.
451 Weight::from_parts(104_000_000, 0)
452 .saturating_add(Weight::from_parts(0, 5795))
453 .saturating_add(T::DbWeight::get().reads(9))
454 .saturating_add(T::DbWeight::get().writes(5))
455 }
456 /// Storage: `Domains::Operators` (r:1 w:1)
457 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
458 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
459 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
460 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
461 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
462 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
463 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
464 /// Storage: `System::Account` (r:3 w:2)
465 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
466 /// Storage: `Domains::Deposits` (r:2 w:1)
467 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
468 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:1)
469 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
470 /// Storage: `Domains::Withdrawals` (r:2 w:0)
471 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
472 /// Storage: `Domains::DepositOnHold` (r:1 w:1)
473 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
474 /// Storage: `Balances::Holds` (r:1 w:1)
475 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
476 /// Storage: `Domains::OperatorHighestSlot` (r:0 w:1)
477 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
478 /// Storage: `Domains::OperatorIdOwner` (r:0 w:1)
479 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
480 fn unlock_nominator() -> Weight {
481 // Proof Size summary in bytes:
482 // Measured: `1349`
483 // Estimated: `8799`
484 // Minimum execution time: 201_000_000 picoseconds.
485 Weight::from_parts(201_000_000, 0)
486 .saturating_add(Weight::from_parts(0, 8799))
487 .saturating_add(T::DbWeight::get().reads(14))
488 .saturating_add(T::DbWeight::get().writes(9))
489 }
490 /// Storage: `Domains::DomainRegistry` (r:1 w:1)
491 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
492 fn update_domain_operator_allow_list() -> Weight {
493 // Proof Size summary in bytes:
494 // Measured: `513`
495 // Estimated: `3978`
496 // Minimum execution time: 25_000_000 picoseconds.
497 Weight::from_parts(25_000_000, 0)
498 .saturating_add(Weight::from_parts(0, 3978))
499 .saturating_add(T::DbWeight::get().reads(1))
500 .saturating_add(T::DbWeight::get().writes(1))
501 }
502 /// Storage: `System::Account` (r:2 w:2)
503 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
504 fn transfer_treasury_funds() -> Weight {
505 // Proof Size summary in bytes:
506 // Measured: `52`
507 // Estimated: `6196`
508 // Minimum execution time: 43_000_000 picoseconds.
509 Weight::from_parts(43_000_000, 0)
510 .saturating_add(Weight::from_parts(0, 6196))
511 .saturating_add(T::DbWeight::get().reads(2))
512 .saturating_add(T::DbWeight::get().writes(2))
513 }
514 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
515 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
516 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
517 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
518 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
519 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
520 /// Storage: `Domains::ExecutionInbox` (r:1 w:0)
521 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
522 /// Storage: `Domains::PendingSlashes` (r:1 w:0)
523 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
524 /// Storage: `Domains::InvalidBundleAuthors` (r:1 w:1)
525 /// Proof: `Domains::InvalidBundleAuthors` (`max_values`: None, `max_size`: None, mode: `Measured`)
526 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
527 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
528 /// Storage: `Domains::BlockTree` (r:1 w:1)
529 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
530 /// Storage: `RuntimeConfigs::DomainBlockPruningDepth` (r:1 w:0)
531 /// Proof: `RuntimeConfigs::DomainBlockPruningDepth` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
532 /// Storage: `Domains::LatestSubmittedER` (r:1 w:1)
533 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
534 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
535 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
536 fn submit_receipt() -> Weight {
537 // Proof Size summary in bytes:
538 // Measured: `773`
539 // Estimated: `4238`
540 // Minimum execution time: 59_000_000 picoseconds.
541 Weight::from_parts(59_000_000, 0)
542 .saturating_add(Weight::from_parts(0, 4238))
543 .saturating_add(T::DbWeight::get().reads(10))
544 .saturating_add(T::DbWeight::get().writes(7))
545 }
546 /// Storage: `Domains::PreviousBundleAndExecutionReceiptVersions` (r:1 w:0)
547 /// Proof: `Domains::PreviousBundleAndExecutionReceiptVersions` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
548 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
549 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
550 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
551 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
552 /// Storage: `Domains::ExecutionInbox` (r:2 w:0)
553 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
554 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
555 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
556 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
557 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
558 /// Storage: `RuntimeConfigs::EnableDynamicCostOfStorage` (r:1 w:0)
559 /// Proof: `RuntimeConfigs::EnableDynamicCostOfStorage` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
560 /// Storage: `System::Account` (r:1 w:1)
561 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
562 /// Storage: `TransactionFees::CollectedBlockFees` (r:1 w:1)
563 /// Proof: `TransactionFees::CollectedBlockFees` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
564 /// Storage: `Domains::FrozenDomains` (r:1 w:0)
565 /// Proof: `Domains::FrozenDomains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
566 /// Storage: `Domains::Operators` (r:1 w:0)
567 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
568 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
569 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
570 /// Storage: `Domains::OperatorHighestSlot` (r:1 w:0)
571 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
572 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:0)
573 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
574 /// Storage: `Domains::LastEpochStakingDistribution` (r:1 w:0)
575 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
576 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
577 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
578 /// Storage: `Subspace::BlockSlots` (r:1 w:0)
579 /// Proof: `Subspace::BlockSlots` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
580 /// Storage: `System::BlockHash` (r:1 w:0)
581 /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
582 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:0)
583 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
584 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
585 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
586 /// Storage: `Domains::ConsensusBlockHash` (r:1 w:0)
587 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
588 /// Storage: `Domains::BlockTree` (r:1 w:0)
589 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
590 fn validate_submit_bundle() -> Weight {
591 // Proof Size summary in bytes:
592 // Measured: `1437`
593 // Estimated: `7377`
594 // Minimum execution time: 519_000_000 picoseconds.
595 Weight::from_parts(519_000_000, 0)
596 .saturating_add(Weight::from_parts(0, 7377))
597 .saturating_add(T::DbWeight::get().reads(23))
598 .saturating_add(T::DbWeight::get().writes(2))
599 }
600 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
601 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
602 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
603 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
604 /// Storage: `Domains::ExecutionInbox` (r:2 w:0)
605 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
606 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
607 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
608 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
609 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
610 /// Storage: `RuntimeConfigs::EnableDynamicCostOfStorage` (r:1 w:0)
611 /// Proof: `RuntimeConfigs::EnableDynamicCostOfStorage` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
612 /// Storage: `System::Account` (r:1 w:1)
613 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
614 /// Storage: `TransactionFees::CollectedBlockFees` (r:1 w:1)
615 /// Proof: `TransactionFees::CollectedBlockFees` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
616 /// Storage: `Domains::PreviousBundleAndExecutionReceiptVersions` (r:1 w:0)
617 /// Proof: `Domains::PreviousBundleAndExecutionReceiptVersions` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
618 /// Storage: `Domains::FrozenDomains` (r:1 w:0)
619 /// Proof: `Domains::FrozenDomains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
620 /// Storage: `Domains::Operators` (r:1 w:0)
621 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
622 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
623 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
624 /// Storage: `Domains::OperatorHighestSlot` (r:1 w:0)
625 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
626 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:0)
627 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
628 /// Storage: `Domains::LastEpochStakingDistribution` (r:1 w:0)
629 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
630 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
631 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
632 /// Storage: `Subspace::BlockSlots` (r:1 w:0)
633 /// Proof: `Subspace::BlockSlots` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
634 /// Storage: `System::BlockHash` (r:1 w:0)
635 /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
636 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:0)
637 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
638 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
639 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
640 /// Storage: `Domains::ConsensusBlockHash` (r:1 w:0)
641 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
642 /// Storage: `Domains::BlockTree` (r:1 w:0)
643 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
644 fn validate_singleton_receipt() -> Weight {
645 // Proof Size summary in bytes:
646 // Measured: `1467`
647 // Estimated: `7407`
648 // Minimum execution time: 511_000_000 picoseconds.
649 Weight::from_parts(511_000_000, 0)
650 .saturating_add(Weight::from_parts(0, 7407))
651 .saturating_add(T::DbWeight::get().reads(23))
652 .saturating_add(T::DbWeight::get().writes(2))
653 }
654 /// Storage: `Domains::BlockTreeNodes` (r:2 w:0)
655 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
656 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
657 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
658 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
659 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
660 /// Storage: `Domains::RuntimeRegistry` (r:1 w:0)
661 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
662 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
663 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
664 fn fraud_proof_pre_check() -> Weight {
665 // Proof Size summary in bytes:
666 // Measured: `2483106`
667 // Estimated: `2489046`
668 // Minimum execution time: 972_000_000 picoseconds.
669 Weight::from_parts(972_000_000, 0)
670 .saturating_add(Weight::from_parts(0, 2489046))
671 .saturating_add(T::DbWeight::get().reads(6))
672 }
673 /// Storage: `Domains::Operators` (r:1 w:1)
674 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
675 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
676 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
677 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
678 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
679 /// Storage: `Domains::DeactivatedOperators` (r:1 w:1)
680 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
681 fn deactivate_operator() -> Weight {
682 // Proof Size summary in bytes:
683 // Measured: `631`
684 // Estimated: `4096`
685 // Minimum execution time: 34_000_000 picoseconds.
686 Weight::from_parts(34_000_000, 0)
687 .saturating_add(Weight::from_parts(0, 4096))
688 .saturating_add(T::DbWeight::get().reads(4))
689 .saturating_add(T::DbWeight::get().writes(3))
690 }
691 /// Storage: `Domains::Operators` (r:1 w:1)
692 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
693 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
694 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
695 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
696 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
697 /// Storage: `Domains::DeactivatedOperators` (r:1 w:1)
698 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
699 fn reactivate_operator() -> Weight {
700 // Proof Size summary in bytes:
701 // Measured: `601`
702 // Estimated: `4066`
703 // Minimum execution time: 30_000_000 picoseconds.
704 Weight::from_parts(30_000_000, 0)
705 .saturating_add(Weight::from_parts(0, 4066))
706 .saturating_add(T::DbWeight::get().reads(4))
707 .saturating_add(T::DbWeight::get().writes(3))
708 }
709 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
710 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
711 /// Storage: `Domains::Operators` (r:1 w:1)
712 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
713 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
714 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
715 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
716 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
717 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
718 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
719 /// Storage: `RuntimeConfigs::StakingWithdrawalPeriod` (r:1 w:0)
720 /// Proof: `RuntimeConfigs::StakingWithdrawalPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
721 /// Storage: `Domains::DeactivatedOperators` (r:1 w:1)
722 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
723 /// Storage: `Domains::DeregisteredOperators` (r:1 w:1)
724 /// Proof: `Domains::DeregisteredOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
725 fn deregister_deactivated_operator() -> Weight {
726 // Proof Size summary in bytes:
727 // Measured: `731`
728 // Estimated: `4196`
729 // Minimum execution time: 37_000_000 picoseconds.
730 Weight::from_parts(37_000_000, 0)
731 .saturating_add(Weight::from_parts(0, 4196))
732 .saturating_add(T::DbWeight::get().reads(8))
733 .saturating_add(T::DbWeight::get().writes(4))
734 }
735 /// Storage: `Domains::Operators` (r:1 w:1)
736 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
737 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
738 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
739 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
740 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
741 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
742 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
743 /// Storage: `Domains::Deposits` (r:1 w:1)
744 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
745 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
746 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
747 /// Storage: `Domains::Withdrawals` (r:1 w:1)
748 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
749 /// Storage: `Domains::DeactivatedOperators` (r:1 w:1)
750 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
751 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
752 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
753 /// Storage: `System::Account` (r:2 w:2)
754 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
755 /// Storage: `Balances::Holds` (r:1 w:1)
756 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
757 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
758 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
759 /// Storage: `RuntimeConfigs::StakingWithdrawalPeriod` (r:1 w:0)
760 /// Proof: `RuntimeConfigs::StakingWithdrawalPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
761 fn withdraw_stake_from_deactivated_operator() -> Weight {
762 // Proof Size summary in bytes:
763 // Measured: `1443`
764 // Estimated: `6196`
765 // Minimum execution time: 106_000_000 picoseconds.
766 Weight::from_parts(106_000_000, 0)
767 .saturating_add(Weight::from_parts(0, 6196))
768 .saturating_add(T::DbWeight::get().reads(14))
769 .saturating_add(T::DbWeight::get().writes(8))
770 }
771}