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-10-15, 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: `1931`
76 // Estimated: `12821`
77 // Minimum execution time: 127_000_000 picoseconds.
78 Weight::from_parts(127_000_000, 0)
79 .saturating_add(Weight::from_parts(0, 12821))
80 .saturating_add(T::DbWeight::get().reads(22))
81 .saturating_add(T::DbWeight::get().writes(17))
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: 30_000_000 picoseconds.
92 Weight::from_parts(30_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: `996 + n * (192 ±0)`
113 // Estimated: `268731`
114 // Minimum execution time: 44_000_000 picoseconds.
115 Weight::from_parts(1_564_000_000, 0)
116 .saturating_add(Weight::from_parts(0, 268731))
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: `270426 + n * (2603 ±943) + s * (1077 ±943)`
134 // Minimum execution time: 1_507_000_000 picoseconds.
135 Weight::from_parts(1_507_000_000, 0)
136 .saturating_add(Weight::from_parts(0, 270426))
137 // Standard Error: 7_867_559
138 .saturating_add(Weight::from_parts(14_583_827, 0).saturating_mul(n.into()))
139 // Standard Error: 7_867_690
140 .saturating_add(Weight::from_parts(8_938_835, 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: `460 + n * (208 ±0)`
162 // Estimated: `269794`
163 // Minimum execution time: 23_000_000 picoseconds.
164 Weight::from_parts(461_000_000, 0)
165 .saturating_add(Weight::from_parts(0, 269794))
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: `1294 + n * (347 ±0)`
195 // Estimated: `32636`
196 // Minimum execution time: 187_000_000 picoseconds.
197 Weight::from_parts(866_000_000, 0)
198 .saturating_add(Weight::from_parts(0, 32636))
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: `Subspace::BlockSlots` (r:1 w:0)
205 /// Proof: `Subspace::BlockSlots` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
206 /// Storage: `Domains::EpochStartSlot` (r:1 w:1)
207 /// Proof: `Domains::EpochStartSlot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
208 /// Storage: `Domains::OperatorBundleCountInEpoch` (r:1 w:0)
209 /// Proof: `Domains::OperatorBundleCountInEpoch` (`max_values`: None, `max_size`: None, mode: `Measured`)
210 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
211 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
212 /// Storage: `Domains::LatestSubmittedER` (r:512 w:0)
213 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
214 /// Storage: `Domains::Operators` (r:512 w:512)
215 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
216 /// Storage: `Domains::InvalidBundleAuthors` (r:1 w:0)
217 /// Proof: `Domains::InvalidBundleAuthors` (`max_values`: None, `max_size`: None, mode: `Measured`)
218 /// Storage: `Domains::DeregisteredOperators` (r:1 w:0)
219 /// Proof: `Domains::DeregisteredOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
220 /// Storage: `Domains::DeactivatedOperators` (r:1 w:0)
221 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
222 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
223 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
224 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:512)
225 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
226 /// The range of component `p` is `[0, 512]`.
227 fn finalize_domain_epoch_staking(_p: u32, ) -> Weight {
228 // Proof Size summary in bytes:
229 // Measured: `108279`
230 // Estimated: `1376469`
231 // Minimum execution time: 2_967_000_000 picoseconds.
232 Weight::from_parts(4_378_000_000, 0)
233 .saturating_add(Weight::from_parts(0, 1376469))
234 .saturating_add(T::DbWeight::get().reads(1032))
235 .saturating_add(T::DbWeight::get().writes(1027))
236 }
237 /// Storage: `Domains::NextRuntimeId` (r:1 w:1)
238 /// Proof: `Domains::NextRuntimeId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
239 /// Storage: `Domains::RuntimeRegistry` (r:0 w:1)
240 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
241 fn register_domain_runtime() -> Weight {
242 // Proof Size summary in bytes:
243 // Measured: `0`
244 // Estimated: `1485`
245 // Minimum execution time: 20_155_000_000 picoseconds.
246 Weight::from_parts(20_155_000_000, 0)
247 .saturating_add(Weight::from_parts(0, 1485))
248 .saturating_add(T::DbWeight::get().reads(1))
249 .saturating_add(T::DbWeight::get().writes(2))
250 }
251 /// Storage: `Domains::RuntimeRegistry` (r:1 w:0)
252 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
253 /// Storage: `Domains::ScheduledRuntimeUpgrades` (r:1 w:1)
254 /// Proof: `Domains::ScheduledRuntimeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
255 fn upgrade_domain_runtime() -> Weight {
256 // Proof Size summary in bytes:
257 // Measured: `2481066`
258 // Estimated: `2484531`
259 // Minimum execution time: 21_229_000_000 picoseconds.
260 Weight::from_parts(21_229_000_000, 0)
261 .saturating_add(Weight::from_parts(0, 2484531))
262 .saturating_add(T::DbWeight::get().reads(2))
263 .saturating_add(T::DbWeight::get().writes(1))
264 }
265 /// Storage: `Domains::PermissionedActionAllowedBy` (r:1 w:0)
266 /// Proof: `Domains::PermissionedActionAllowedBy` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
267 /// Storage: `Domains::RuntimeRegistry` (r:1 w:1)
268 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
269 /// Storage: `System::Account` (r:1 w:1)
270 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
271 /// Storage: `Domains::NextDomainId` (r:1 w:1)
272 /// Proof: `Domains::NextDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
273 /// Storage: `Domains::EvmChainIds` (r:1 w:1)
274 /// Proof: `Domains::EvmChainIds` (`max_values`: None, `max_size`: None, mode: `Measured`)
275 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
276 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
277 /// Storage: `Balances::Holds` (r:1 w:1)
278 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
279 /// Storage: `Domains::DomainSudoCalls` (r:0 w:1)
280 /// Proof: `Domains::DomainSudoCalls` (`max_values`: None, `max_size`: None, mode: `Measured`)
281 /// Storage: `Domains::DomainRegistry` (r:0 w:1)
282 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
283 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
284 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
285 /// Storage: `Domains::DomainStakingSummary` (r:0 w:1)
286 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
287 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:0 w:1)
288 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
289 /// Storage: `Domains::DomainGenesisBlockExecutionReceipt` (r:0 w:1)
290 /// Proof: `Domains::DomainGenesisBlockExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
291 /// Storage: `Domains::BlockTree` (r:0 w:1)
292 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
293 /// Storage: `Messenger::DomainChainAllowlistUpdate` (r:0 w:1)
294 /// Proof: `Messenger::DomainChainAllowlistUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`)
295 fn instantiate_domain() -> Weight {
296 // Proof Size summary in bytes:
297 // Measured: `2481138`
298 // Estimated: `2484603`
299 // Minimum execution time: 5_530_000_000 picoseconds.
300 Weight::from_parts(5_530_000_000, 0)
301 .saturating_add(Weight::from_parts(0, 2484603))
302 .saturating_add(T::DbWeight::get().reads(7))
303 .saturating_add(T::DbWeight::get().writes(14))
304 }
305 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
306 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
307 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
308 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
309 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
310 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
311 /// Storage: `Domains::NextOperatorId` (r:1 w:1)
312 /// Proof: `Domains::NextOperatorId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
313 /// Storage: `System::Account` (r:2 w:2)
314 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
315 /// Storage: `Domains::DepositOnHold` (r:1 w:1)
316 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
317 /// Storage: `Balances::Holds` (r:1 w:1)
318 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
319 /// Storage: `Domains::Deposits` (r:1 w:1)
320 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
321 /// Storage: `Domains::DomainChainRewards` (r:1 w:0)
322 /// Proof: `Domains::DomainChainRewards` (`max_values`: None, `max_size`: None, mode: `Measured`)
323 /// Storage: `Subspace::BlockSlots` (r:1 w:0)
324 /// Proof: `Subspace::BlockSlots` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
325 /// Storage: `Domains::EpochStartSlot` (r:1 w:1)
326 /// Proof: `Domains::EpochStartSlot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
327 /// Storage: `Domains::OperatorBundleCountInEpoch` (r:1 w:0)
328 /// Proof: `Domains::OperatorBundleCountInEpoch` (`max_values`: None, `max_size`: None, mode: `Measured`)
329 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
330 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
331 /// Storage: `Domains::InvalidBundleAuthors` (r:1 w:0)
332 /// Proof: `Domains::InvalidBundleAuthors` (`max_values`: None, `max_size`: None, mode: `Measured`)
333 /// Storage: `Domains::DeregisteredOperators` (r:1 w:0)
334 /// Proof: `Domains::DeregisteredOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
335 /// Storage: `Domains::DeactivatedOperators` (r:1 w:0)
336 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
337 /// Storage: `Domains::Operators` (r:0 w:1)
338 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
339 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
340 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
341 /// Storage: `Domains::OperatorIdOwner` (r:0 w:1)
342 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
343 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:1)
344 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
345 fn register_operator() -> Weight {
346 // Proof Size summary in bytes:
347 // Measured: `684`
348 // Estimated: `6196`
349 // Minimum execution time: 157_000_000 picoseconds.
350 Weight::from_parts(157_000_000, 0)
351 .saturating_add(Weight::from_parts(0, 6196))
352 .saturating_add(T::DbWeight::get().reads(17))
353 .saturating_add(T::DbWeight::get().writes(13))
354 }
355 /// Storage: `Domains::Operators` (r:1 w:1)
356 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
357 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
358 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
359 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
360 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
361 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
362 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
363 /// Storage: `System::Account` (r:2 w:2)
364 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
365 /// Storage: `Domains::DepositOnHold` (r:1 w:1)
366 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
367 /// Storage: `Balances::Holds` (r:1 w:1)
368 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
369 /// Storage: `Domains::Deposits` (r:1 w:1)
370 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
371 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
372 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
373 fn nominate_operator() -> Weight {
374 // Proof Size summary in bytes:
375 // Measured: `1261`
376 // Estimated: `6196`
377 // Minimum execution time: 123_000_000 picoseconds.
378 Weight::from_parts(123_000_000, 0)
379 .saturating_add(Weight::from_parts(0, 6196))
380 .saturating_add(T::DbWeight::get().reads(10))
381 .saturating_add(T::DbWeight::get().writes(7))
382 }
383 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
384 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
385 /// Storage: `Domains::Operators` (r:1 w:1)
386 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
387 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
388 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
389 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
390 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
391 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
392 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
393 /// Storage: `RuntimeConfigs::StakingWithdrawalPeriod` (r:1 w:0)
394 /// Proof: `RuntimeConfigs::StakingWithdrawalPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
395 /// Storage: `Domains::DeregisteredOperators` (r:1 w:1)
396 /// Proof: `Domains::DeregisteredOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
397 fn deregister_operator() -> Weight {
398 // Proof Size summary in bytes:
399 // Measured: `711`
400 // Estimated: `4176`
401 // Minimum execution time: 38_000_000 picoseconds.
402 Weight::from_parts(38_000_000, 0)
403 .saturating_add(Weight::from_parts(0, 4176))
404 .saturating_add(T::DbWeight::get().reads(7))
405 .saturating_add(T::DbWeight::get().writes(3))
406 }
407 /// Storage: `Domains::Operators` (r:1 w:1)
408 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
409 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
410 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
411 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
412 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
413 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
414 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
415 /// Storage: `Domains::Deposits` (r:1 w:1)
416 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
417 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
418 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
419 /// Storage: `Domains::Withdrawals` (r:1 w:1)
420 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
421 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
422 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
423 /// Storage: `System::Account` (r:2 w:2)
424 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
425 /// Storage: `Balances::Holds` (r:1 w:1)
426 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
427 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
428 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
429 /// Storage: `RuntimeConfigs::StakingWithdrawalPeriod` (r:1 w:0)
430 /// Proof: `RuntimeConfigs::StakingWithdrawalPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
431 fn withdraw_stake() -> Weight {
432 // Proof Size summary in bytes:
433 // Measured: `1455`
434 // Estimated: `6196`
435 // Minimum execution time: 160_000_000 picoseconds.
436 Weight::from_parts(160_000_000, 0)
437 .saturating_add(Weight::from_parts(0, 6196))
438 .saturating_add(T::DbWeight::get().reads(13))
439 .saturating_add(T::DbWeight::get().writes(7))
440 }
441 /// Storage: `Domains::Operators` (r:1 w:0)
442 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
443 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
444 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
445 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
446 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
447 /// Storage: `Domains::Withdrawals` (r:1 w:1)
448 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
449 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
450 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
451 /// Storage: `Domains::DepositOnHold` (r:1 w:1)
452 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
453 /// Storage: `System::Account` (r:1 w:1)
454 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
455 /// Storage: `Balances::Holds` (r:1 w:1)
456 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
457 /// Storage: `Domains::Deposits` (r:1 w:1)
458 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
459 /// The range of component `w` is `[1, 32]`.
460 fn unlock_funds(_w: u32, ) -> Weight {
461 // Proof Size summary in bytes:
462 // Measured: `1191 + w * (36 ±0)`
463 // Estimated: `5808`
464 // Minimum execution time: 100_000_000 picoseconds.
465 Weight::from_parts(103_000_000, 0)
466 .saturating_add(Weight::from_parts(0, 5808))
467 .saturating_add(T::DbWeight::get().reads(9))
468 .saturating_add(T::DbWeight::get().writes(5))
469 }
470 /// Storage: `Domains::Operators` (r:1 w:1)
471 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
472 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
473 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
474 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
475 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
476 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
477 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
478 /// Storage: `System::Account` (r:3 w:2)
479 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
480 /// Storage: `Domains::Deposits` (r:2 w:1)
481 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
482 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:1)
483 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
484 /// Storage: `Domains::Withdrawals` (r:2 w:0)
485 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
486 /// Storage: `Domains::DepositOnHold` (r:1 w:1)
487 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
488 /// Storage: `Balances::Holds` (r:1 w:1)
489 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
490 /// Storage: `Domains::OperatorHighestSlot` (r:0 w:1)
491 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
492 /// Storage: `Domains::OperatorIdOwner` (r:0 w:1)
493 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
494 fn unlock_nominator() -> Weight {
495 // Proof Size summary in bytes:
496 // Measured: `1362`
497 // Estimated: `8799`
498 // Minimum execution time: 176_000_000 picoseconds.
499 Weight::from_parts(176_000_000, 0)
500 .saturating_add(Weight::from_parts(0, 8799))
501 .saturating_add(T::DbWeight::get().reads(14))
502 .saturating_add(T::DbWeight::get().writes(9))
503 }
504 /// Storage: `Domains::DomainRegistry` (r:1 w:1)
505 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
506 fn update_domain_operator_allow_list() -> Weight {
507 // Proof Size summary in bytes:
508 // Measured: `526`
509 // Estimated: `3991`
510 // Minimum execution time: 23_000_000 picoseconds.
511 Weight::from_parts(23_000_000, 0)
512 .saturating_add(Weight::from_parts(0, 3991))
513 .saturating_add(T::DbWeight::get().reads(1))
514 .saturating_add(T::DbWeight::get().writes(1))
515 }
516 /// Storage: `System::Account` (r:2 w:2)
517 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
518 fn transfer_treasury_funds() -> Weight {
519 // Proof Size summary in bytes:
520 // Measured: `52`
521 // Estimated: `6196`
522 // Minimum execution time: 43_000_000 picoseconds.
523 Weight::from_parts(43_000_000, 0)
524 .saturating_add(Weight::from_parts(0, 6196))
525 .saturating_add(T::DbWeight::get().reads(2))
526 .saturating_add(T::DbWeight::get().writes(2))
527 }
528 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
529 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
530 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
531 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
532 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
533 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
534 /// Storage: `Domains::ExecutionInbox` (r:1 w:0)
535 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
536 /// Storage: `Domains::PendingSlashes` (r:1 w:0)
537 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
538 /// Storage: `Domains::InvalidBundleAuthors` (r:1 w:1)
539 /// Proof: `Domains::InvalidBundleAuthors` (`max_values`: None, `max_size`: None, mode: `Measured`)
540 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
541 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
542 /// Storage: `Domains::BlockTree` (r:1 w:1)
543 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
544 /// Storage: `RuntimeConfigs::DomainBlockPruningDepth` (r:1 w:0)
545 /// Proof: `RuntimeConfigs::DomainBlockPruningDepth` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
546 /// Storage: `Domains::LatestSubmittedER` (r:1 w:1)
547 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
548 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
549 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
550 fn submit_receipt() -> Weight {
551 // Proof Size summary in bytes:
552 // Measured: `773`
553 // Estimated: `4238`
554 // Minimum execution time: 55_000_000 picoseconds.
555 Weight::from_parts(55_000_000, 0)
556 .saturating_add(Weight::from_parts(0, 4238))
557 .saturating_add(T::DbWeight::get().reads(10))
558 .saturating_add(T::DbWeight::get().writes(7))
559 }
560 /// Storage: `Domains::PreviousBundleAndExecutionReceiptVersions` (r:1 w:0)
561 /// Proof: `Domains::PreviousBundleAndExecutionReceiptVersions` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
562 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
563 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
564 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
565 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
566 /// Storage: `Domains::ExecutionInbox` (r:2 w:0)
567 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
568 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
569 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
570 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
571 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
572 /// Storage: `RuntimeConfigs::EnableDynamicCostOfStorage` (r:1 w:0)
573 /// Proof: `RuntimeConfigs::EnableDynamicCostOfStorage` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
574 /// Storage: `System::Account` (r:1 w:1)
575 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
576 /// Storage: `TransactionFees::CollectedBlockFees` (r:1 w:1)
577 /// Proof: `TransactionFees::CollectedBlockFees` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
578 /// Storage: `Domains::FrozenDomains` (r:1 w:0)
579 /// Proof: `Domains::FrozenDomains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
580 /// Storage: `Domains::Operators` (r:1 w:0)
581 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
582 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
583 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
584 /// Storage: `Domains::OperatorHighestSlot` (r:1 w:0)
585 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
586 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:0)
587 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
588 /// Storage: `Domains::LastEpochStakingDistribution` (r:1 w:0)
589 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
590 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
591 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
592 /// Storage: `Subspace::BlockSlots` (r:1 w:0)
593 /// Proof: `Subspace::BlockSlots` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
594 /// Storage: `System::BlockHash` (r:1 w:0)
595 /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
596 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:0)
597 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
598 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
599 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
600 /// Storage: `Domains::ConsensusBlockHash` (r:1 w:0)
601 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
602 /// Storage: `Domains::BlockTree` (r:1 w:0)
603 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
604 fn validate_submit_bundle() -> Weight {
605 // Proof Size summary in bytes:
606 // Measured: `1467`
607 // Estimated: `7407`
608 // Minimum execution time: 503_000_000 picoseconds.
609 Weight::from_parts(503_000_000, 0)
610 .saturating_add(Weight::from_parts(0, 7407))
611 .saturating_add(T::DbWeight::get().reads(23))
612 .saturating_add(T::DbWeight::get().writes(2))
613 }
614 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
615 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
616 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
617 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
618 /// Storage: `Domains::ExecutionInbox` (r:2 w:0)
619 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
620 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
621 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
622 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
623 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
624 /// Storage: `RuntimeConfigs::EnableDynamicCostOfStorage` (r:1 w:0)
625 /// Proof: `RuntimeConfigs::EnableDynamicCostOfStorage` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
626 /// Storage: `System::Account` (r:1 w:1)
627 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
628 /// Storage: `TransactionFees::CollectedBlockFees` (r:1 w:1)
629 /// Proof: `TransactionFees::CollectedBlockFees` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
630 /// Storage: `Domains::PreviousBundleAndExecutionReceiptVersions` (r:1 w:0)
631 /// Proof: `Domains::PreviousBundleAndExecutionReceiptVersions` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
632 /// Storage: `Domains::FrozenDomains` (r:1 w:0)
633 /// Proof: `Domains::FrozenDomains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
634 /// Storage: `Domains::Operators` (r:1 w:0)
635 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
636 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
637 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
638 /// Storage: `Domains::OperatorHighestSlot` (r:1 w:0)
639 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
640 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:0)
641 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
642 /// Storage: `Domains::LastEpochStakingDistribution` (r:1 w:0)
643 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
644 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
645 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
646 /// Storage: `Subspace::BlockSlots` (r:1 w:0)
647 /// Proof: `Subspace::BlockSlots` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
648 /// Storage: `System::BlockHash` (r:1 w:0)
649 /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
650 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:0)
651 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
652 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
653 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
654 /// Storage: `Domains::ConsensusBlockHash` (r:1 w:0)
655 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
656 /// Storage: `Domains::BlockTree` (r:1 w:0)
657 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
658 fn validate_singleton_receipt() -> Weight {
659 // Proof Size summary in bytes:
660 // Measured: `1497`
661 // Estimated: `7437`
662 // Minimum execution time: 495_000_000 picoseconds.
663 Weight::from_parts(495_000_000, 0)
664 .saturating_add(Weight::from_parts(0, 7437))
665 .saturating_add(T::DbWeight::get().reads(23))
666 .saturating_add(T::DbWeight::get().writes(2))
667 }
668 /// Storage: `Domains::BlockTreeNodes` (r:2 w:0)
669 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
670 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
671 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
672 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
673 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
674 /// Storage: `Domains::RuntimeRegistry` (r:1 w:0)
675 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
676 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
677 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
678 fn fraud_proof_pre_check() -> Weight {
679 // Proof Size summary in bytes:
680 // Measured: `2483106`
681 // Estimated: `2489046`
682 // Minimum execution time: 991_000_000 picoseconds.
683 Weight::from_parts(991_000_000, 0)
684 .saturating_add(Weight::from_parts(0, 2489046))
685 .saturating_add(T::DbWeight::get().reads(6))
686 }
687 /// Storage: `Domains::Operators` (r:1 w:1)
688 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
689 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
690 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
691 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
692 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
693 /// Storage: `Domains::DeactivatedOperators` (r:1 w:1)
694 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
695 fn deactivate_operator() -> Weight {
696 // Proof Size summary in bytes:
697 // Measured: `644`
698 // Estimated: `4109`
699 // Minimum execution time: 33_000_000 picoseconds.
700 Weight::from_parts(33_000_000, 0)
701 .saturating_add(Weight::from_parts(0, 4109))
702 .saturating_add(T::DbWeight::get().reads(4))
703 .saturating_add(T::DbWeight::get().writes(3))
704 }
705 /// Storage: `Domains::Operators` (r:1 w:1)
706 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
707 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
708 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
709 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
710 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
711 /// Storage: `Domains::DeactivatedOperators` (r:1 w:1)
712 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
713 fn reactivate_operator() -> Weight {
714 // Proof Size summary in bytes:
715 // Measured: `614`
716 // Estimated: `4079`
717 // Minimum execution time: 29_000_000 picoseconds.
718 Weight::from_parts(29_000_000, 0)
719 .saturating_add(Weight::from_parts(0, 4079))
720 .saturating_add(T::DbWeight::get().reads(4))
721 .saturating_add(T::DbWeight::get().writes(3))
722 }
723 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
724 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
725 /// Storage: `Domains::Operators` (r:1 w:1)
726 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
727 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
728 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
729 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
730 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
731 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
732 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
733 /// Storage: `RuntimeConfigs::StakingWithdrawalPeriod` (r:1 w:0)
734 /// Proof: `RuntimeConfigs::StakingWithdrawalPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
735 /// Storage: `Domains::DeactivatedOperators` (r:1 w:1)
736 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
737 /// Storage: `Domains::DeregisteredOperators` (r:1 w:1)
738 /// Proof: `Domains::DeregisteredOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
739 fn deregister_deactivated_operator() -> Weight {
740 // Proof Size summary in bytes:
741 // Measured: `744`
742 // Estimated: `4209`
743 // Minimum execution time: 36_000_000 picoseconds.
744 Weight::from_parts(36_000_000, 0)
745 .saturating_add(Weight::from_parts(0, 4209))
746 .saturating_add(T::DbWeight::get().reads(8))
747 .saturating_add(T::DbWeight::get().writes(4))
748 }
749 /// Storage: `Domains::Operators` (r:1 w:1)
750 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
751 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
752 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
753 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
754 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
755 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
756 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
757 /// Storage: `Domains::Deposits` (r:1 w:1)
758 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
759 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
760 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
761 /// Storage: `Domains::Withdrawals` (r:1 w:1)
762 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
763 /// Storage: `Domains::DeactivatedOperators` (r:1 w:1)
764 /// Proof: `Domains::DeactivatedOperators` (`max_values`: None, `max_size`: None, mode: `Measured`)
765 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
766 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
767 /// Storage: `System::Account` (r:2 w:2)
768 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
769 /// Storage: `Balances::Holds` (r:1 w:1)
770 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
771 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
772 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
773 /// Storage: `RuntimeConfigs::StakingWithdrawalPeriod` (r:1 w:0)
774 /// Proof: `RuntimeConfigs::StakingWithdrawalPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
775 fn withdraw_stake_from_deactivated_operator() -> Weight {
776 // Proof Size summary in bytes:
777 // Measured: `1456`
778 // Estimated: `6196`
779 // Minimum execution time: 102_000_000 picoseconds.
780 Weight::from_parts(102_000_000, 0)
781 .saturating_add(Weight::from_parts(0, 6196))
782 .saturating_add(T::DbWeight::get().reads(14))
783 .saturating_add(T::DbWeight::get().writes(8))
784 }
785}