pallet_domains/weights.rs
1
2//! Autogenerated weights for pallet_domains
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0
5//! DATE: 2024-09-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
6//! WORST CASE MAP SIZE: `1000000`
7//! HOSTNAME: `Ubuntu-2404-noble-amd64-base`, CPU: `Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz`
8//! EXECUTION: , 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=50
17// --repeat=20
18// --pallet=pallet_domains
19// --extrinsic=*
20// --wasm-execution=compiled
21// --heap-pages=4096
22// --output=./weights/pallet-domains.rs
23// --template=./frame-weight-template.hbs
24
25#![cfg_attr(rustfmt, rustfmt_skip)]
26#![allow(unused_parens)]
27#![allow(unused_imports)]
28
29use frame_support::{traits::Get, weights::{Weight, constants::ParityDbWeight}};
30use core::marker::PhantomData;
31
32/// Weight functions needed for pallet_domains.
33pub trait WeightInfo {
34 fn submit_bundle() -> Weight;
35 fn submit_fraud_proof() -> Weight;
36 fn handle_bad_receipt(n: u32, ) -> Weight;
37 fn confirm_domain_block(n: u32, s: u32, ) -> Weight;
38 fn operator_reward_tax_and_restake(n: u32, ) -> Weight;
39 fn slash_operator(n: u32, ) -> Weight;
40 fn finalize_domain_epoch_staking(p: u32, ) -> Weight;
41 fn register_domain_runtime() -> Weight;
42 fn upgrade_domain_runtime() -> Weight;
43 fn instantiate_domain() -> Weight;
44 fn register_operator() -> Weight;
45 fn nominate_operator() -> Weight;
46 fn deregister_operator() -> Weight;
47 fn withdraw_stake() -> Weight;
48 fn unlock_funds(w: u32) -> Weight;
49 fn unlock_nominator() -> Weight;
50 fn update_domain_operator_allow_list() -> Weight;
51 fn transfer_treasury_funds() -> Weight;
52 fn submit_receipt() -> Weight;
53 fn validate_submit_bundle() -> Weight;
54 fn validate_singleton_receipt() -> Weight;
55 fn fraud_proof_pre_check() -> Weight;
56}
57
58/// Weights for pallet_domains using the Substrate node and recommended hardware.
59pub struct SubstrateWeight<T>(PhantomData<T>);
60impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
61 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
62 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
63 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
64 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
65 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:1)
66 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
67 /// Storage: `Domains::BlockTree` (r:2 w:2)
68 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
69 /// Storage: `Domains::BlockTreeNodes` (r:1 w:2)
70 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
71 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
72 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
73 /// Storage: `Domains::ExecutionInbox` (r:3 w:1)
74 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
75 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
76 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
77 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
78 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
79 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
80 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
81 /// Storage: `Domains::SuccessfulBundles` (r:1 w:1)
82 /// Proof: `Domains::SuccessfulBundles` (`max_values`: None, `max_size`: None, mode: `Measured`)
83 /// Storage: `Domains::HeadDomainNumber` (r:1 w:1)
84 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
85 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:1)
86 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
87 /// Storage: `Domains::InboxedBundleAuthor` (r:0 w:1)
88 /// Proof: `Domains::InboxedBundleAuthor` (`max_values`: None, `max_size`: None, mode: `Measured`)
89 /// Storage: `Domains::ConsensusBlockHash` (r:0 w:1)
90 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
91 fn submit_bundle() -> Weight {
92 // Proof Size summary in bytes:
93 // Measured: `1751`
94 // Estimated: `10166`
95 // Minimum execution time: 172_846_000 picoseconds.
96 Weight::from_parts(174_992_000, 10166)
97 .saturating_add(T::DbWeight::get().reads(16_u64))
98 .saturating_add(T::DbWeight::get().writes(14_u64))
99 }
100 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
101 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
102 /// Storage: `Domains::BlockTreeNodes` (r:1 w:0)
103 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
104 fn submit_fraud_proof() -> Weight {
105 // Proof Size summary in bytes:
106 // Measured: `1008`
107 // Estimated: `4473`
108 // Minimum execution time: 38_692_000 picoseconds.
109 Weight::from_parts(41_247_000, 4473)
110 .saturating_add(T::DbWeight::get().reads(2_u64))
111 .saturating_add(T::DbWeight::get().writes(1_u64))
112 }
113 /// Storage: `Domains::BlockTree` (r:1 w:1)
114 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
115 /// Storage: `Domains::BlockTreeNodes` (r:1 w:1)
116 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
117 /// Storage: `Domains::LatestSubmittedER` (r:100 w:0)
118 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
119 /// Storage: `Domains::Operators` (r:100 w:100)
120 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
121 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
122 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
123 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
124 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
125 /// The range of component `n` is `[1, 100]`.
126 fn handle_bad_receipt(n: u32, ) -> Weight {
127 // Proof Size summary in bytes:
128 // Measured: `932 + n * (208 ±0)`
129 // Estimated: `4397 + n * (2683 ±0)`
130 // Minimum execution time: 56_216_000 picoseconds.
131 Weight::from_parts(56_940_000, 4397)
132 // Standard Error: 67_772
133 .saturating_add(Weight::from_parts(22_316_875, 0).saturating_mul(n.into()))
134 .saturating_add(T::DbWeight::get().reads(4_u64))
135 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into())))
136 .saturating_add(T::DbWeight::get().writes(4_u64))
137 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
138 .saturating_add(Weight::from_parts(0, 2683).saturating_mul(n.into()))
139 }
140 /// Storage: `Domains::Operators` (r:200 w:100)
141 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
142 /// Storage: `System::Account` (r:100 w:100)
143 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
144 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
145 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
146 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
147 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
148 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
149 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
150 /// The range of component `n` is `[1, 100]`.
151 /// The range of component `s` is `[0, 100]`.
152 fn confirm_domain_block(n: u32, s: u32, ) -> Weight {
153 // Proof Size summary in bytes:
154 // Measured: `0 + n * (378 ±0) + s * (239 ±0)`
155 // Estimated: `271975 + n * (2588 ±0) + s * (979 ±0)`
156 // Minimum execution time: 2_284_894_000 picoseconds.
157 Weight::from_parts(2_292_775_000, 271975)
158 // Standard Error: 419_121
159 .saturating_add(Weight::from_parts(13_897_823, 0).saturating_mul(n.into()))
160 // Standard Error: 419_507
161 .saturating_add(Weight::from_parts(14_690_876, 0).saturating_mul(s.into()))
162 .saturating_add(T::DbWeight::get().reads(3_u64))
163 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into())))
164 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
165 .saturating_add(T::DbWeight::get().writes(3_u64))
166 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
167 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
168 .saturating_add(Weight::from_parts(0, 2588).saturating_mul(n.into()))
169 .saturating_add(Weight::from_parts(0, 979).saturating_mul(s.into()))
170 }
171 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
172 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
173 /// Storage: `Domains::Operators` (r:100 w:100)
174 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
175 /// The range of component `n` is `[1, 100]`.
176 fn operator_reward_tax_and_restake(n: u32, ) -> Weight {
177 // Proof Size summary in bytes:
178 // Measured: `366 + n * (224 ±0)`
179 // Estimated: `3831 + n * (2699 ±0)`
180 // Minimum execution time: 22_997_000 picoseconds.
181 Weight::from_parts(33_679_642, 3831)
182 // Standard Error: 11_599
183 .saturating_add(Weight::from_parts(4_386_338, 0).saturating_mul(n.into()))
184 .saturating_add(T::DbWeight::get().reads(1_u64))
185 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
186 .saturating_add(T::DbWeight::get().writes(1_u64))
187 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
188 .saturating_add(Weight::from_parts(0, 2699).saturating_mul(n.into()))
189 }
190 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
191 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
192 /// Storage: `Domains::Operators` (r:1 w:1)
193 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
194 /// Storage: `Domains::OperatorIdOwner` (r:1 w:1)
195 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
196 /// Storage: `Domains::Deposits` (r:11 w:10)
197 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
198 /// Storage: `Balances::Holds` (r:10 w:10)
199 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
200 /// Storage: `Domains::OperatorEpochSharePrice` (r:2 w:2)
201 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
202 /// Storage: `Domains::Withdrawals` (r:10 w:0)
203 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
204 /// Storage: `System::Account` (r:12 w:12)
205 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
206 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
207 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
208 /// Storage: `Domains::NominatorCount` (r:1 w:1)
209 /// Proof: `Domains::NominatorCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
210 /// Storage: `Domains::OperatorSigningKey` (r:0 w:1)
211 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
212 /// The range of component `n` is `[0, 9]`.
213 fn slash_operator(n: u32, ) -> Weight {
214 // Proof Size summary in bytes:
215 // Measured: `1365 + n * (298 ±0)`
216 // Estimated: `9015 + n * (8025 ±0)`
217 // Minimum execution time: 236_187_000 picoseconds.
218 Weight::from_parts(271_847_200, 9015)
219 // Standard Error: 293_537
220 .saturating_add(Weight::from_parts(92_669_227, 0).saturating_mul(n.into()))
221 .saturating_add(T::DbWeight::get().reads(14_u64))
222 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
223 .saturating_add(T::DbWeight::get().writes(12_u64))
224 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into())))
225 .saturating_add(Weight::from_parts(0, 8025).saturating_mul(n.into()))
226 }
227 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
228 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
229 /// Storage: `Domains::LatestSubmittedER` (r:512 w:0)
230 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
231 /// Storage: `Domains::Operators` (r:512 w:512)
232 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
233 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
234 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
235 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:512)
236 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
237 /// The range of component `p` is `[0, 512]`.
238 fn finalize_domain_epoch_staking(p: u32, ) -> Weight {
239 // Proof Size summary in bytes:
240 // Measured: `116165`
241 // Estimated: `1384355`
242 // Minimum execution time: 3_726_400_000 picoseconds.
243 Weight::from_parts(3_900_459_490, 1384355)
244 // Standard Error: 10_021
245 .saturating_add(Weight::from_parts(3_667_131, 0).saturating_mul(p.into()))
246 .saturating_add(T::DbWeight::get().reads(1025_u64))
247 .saturating_add(T::DbWeight::get().writes(2_u64))
248 .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(p.into())))
249 }
250 /// Storage: `Domains::NextRuntimeId` (r:1 w:1)
251 /// Proof: `Domains::NextRuntimeId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
252 /// Storage: `Domains::RuntimeRegistry` (r:0 w:1)
253 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
254 fn register_domain_runtime() -> Weight {
255 // Proof Size summary in bytes:
256 // Measured: `0`
257 // Estimated: `1485`
258 // Minimum execution time: 34_365_019_000 picoseconds.
259 Weight::from_parts(34_417_998_000, 1485)
260 .saturating_add(T::DbWeight::get().reads(1_u64))
261 .saturating_add(T::DbWeight::get().writes(2_u64))
262 }
263 /// Storage: `Domains::RuntimeRegistry` (r:1 w:0)
264 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
265 /// Storage: `Domains::ScheduledRuntimeUpgrades` (r:0 w:1)
266 /// Proof: `Domains::ScheduledRuntimeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
267 fn upgrade_domain_runtime() -> Weight {
268 // Proof Size summary in bytes:
269 // Measured: `2481067`
270 // Estimated: `2484532`
271 // Minimum execution time: 37_943_257_000 picoseconds.
272 Weight::from_parts(38_175_433_000, 2484532)
273 .saturating_add(T::DbWeight::get().reads(1_u64))
274 .saturating_add(T::DbWeight::get().writes(1_u64))
275 }
276 /// Storage: `Domains::PermissionedActionAllowedBy` (r:1 w:0)
277 /// Proof: `Domains::PermissionedActionAllowedBy` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
278 /// Storage: `Domains::RuntimeRegistry` (r:1 w:1)
279 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
280 /// Storage: `System::Account` (r:1 w:1)
281 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
282 /// Storage: `Domains::NextDomainId` (r:1 w:1)
283 /// Proof: `Domains::NextDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
284 /// Storage: `Domains::NextEVMChainId` (r:1 w:1)
285 /// Proof: `Domains::NextEVMChainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
286 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
287 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
288 /// Storage: `Balances::Holds` (r:1 w:1)
289 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
290 /// Storage: `System::Digest` (r:1 w:1)
291 /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
292 /// Storage: `Domains::DomainSudoCalls` (r:0 w:1)
293 /// Proof: `Domains::DomainSudoCalls` (`max_values`: None, `max_size`: None, mode: `Measured`)
294 /// Storage: `Domains::DomainRegistry` (r:0 w:1)
295 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
296 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
297 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
298 /// Storage: `Domains::DomainStakingSummary` (r:0 w:1)
299 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
300 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:0 w:1)
301 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
302 /// Storage: `Domains::BlockTree` (r:0 w:1)
303 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
304 /// Storage: `Messenger::DomainChainAllowlistUpdate` (r:0 w:1)
305 /// Proof: `Messenger::DomainChainAllowlistUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`)
306 fn instantiate_domain() -> Weight {
307 // Proof Size summary in bytes:
308 // Measured: `2481139`
309 // Estimated: `2484604`
310 // Minimum execution time: 9_071_076_000 picoseconds.
311 Weight::from_parts(9_096_678_000, 2484604)
312 .saturating_add(T::DbWeight::get().reads(8_u64))
313 .saturating_add(T::DbWeight::get().writes(14_u64))
314 }
315 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
316 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
317 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
318 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
319 /// Storage: `Domains::OperatorSigningKey` (r:1 w:1)
320 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
321 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
322 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
323 /// Storage: `Domains::NextOperatorId` (r:1 w:1)
324 /// Proof: `Domains::NextOperatorId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
325 /// Storage: `System::Account` (r:2 w:2)
326 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
327 /// Storage: `Balances::Holds` (r:1 w:1)
328 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
329 /// Storage: `Domains::Deposits` (r:1 w:1)
330 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
331 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
332 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
333 /// Storage: `Domains::Operators` (r:0 w:1)
334 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
335 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
336 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
337 /// Storage: `Domains::OperatorIdOwner` (r:0 w:1)
338 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
339 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:1)
340 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
341 fn register_operator() -> Weight {
342 // Proof Size summary in bytes:
343 // Measured: `651`
344 // Estimated: `9015`
345 // Minimum execution time: 252_801_000 picoseconds.
346 Weight::from_parts(256_406_000, 9015)
347 .saturating_add(T::DbWeight::get().reads(10_u64))
348 .saturating_add(T::DbWeight::get().writes(12_u64))
349 }
350 /// Storage: `Domains::Operators` (r:1 w:1)
351 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
352 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
353 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
354 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
355 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
356 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
357 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
358 /// Storage: `System::Account` (r:2 w:2)
359 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
360 /// Storage: `Balances::Holds` (r:1 w:1)
361 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
362 /// Storage: `Domains::Deposits` (r:1 w:1)
363 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
364 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
365 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
366 fn nominate_operator() -> Weight {
367 // Proof Size summary in bytes:
368 // Measured: `1131`
369 // Estimated: `9015`
370 // Minimum execution time: 168_898_000 picoseconds.
371 Weight::from_parts(174_307_000, 9015)
372 .saturating_add(T::DbWeight::get().reads(9_u64))
373 .saturating_add(T::DbWeight::get().writes(6_u64))
374 }
375 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
376 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
377 /// Storage: `Domains::Operators` (r:1 w:1)
378 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
379 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
380 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
381 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
382 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
383 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
384 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
385 fn deregister_operator() -> Weight {
386 // Proof Size summary in bytes:
387 // Measured: `977`
388 // Estimated: `4442`
389 // Minimum execution time: 54_905_000 picoseconds.
390 Weight::from_parts(56_948_000, 4442)
391 .saturating_add(T::DbWeight::get().reads(5_u64))
392 .saturating_add(T::DbWeight::get().writes(2_u64))
393 }
394 /// Storage: `Domains::Operators` (r:1 w:1)
395 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
396 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
397 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
398 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
399 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
400 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
401 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
402 /// Storage: `Domains::Deposits` (r:1 w:1)
403 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
404 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
405 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
406 /// Storage: `Domains::Withdrawals` (r:1 w:1)
407 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
408 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
409 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
410 /// Storage: `System::Account` (r:2 w:2)
411 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
412 /// Storage: `Balances::Holds` (r:1 w:1)
413 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
414 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
415 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
416 fn withdraw_stake() -> Weight {
417 // Proof Size summary in bytes:
418 // Measured: `1674`
419 // Estimated: `9015`
420 // Minimum execution time: 152_234_000 picoseconds.
421 Weight::from_parts(156_823_000, 9015)
422 .saturating_add(T::DbWeight::get().reads(12_u64))
423 .saturating_add(T::DbWeight::get().writes(7_u64))
424 }
425 /// Storage: `Domains::Operators` (r:1 w:0)
426 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
427 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
428 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
429 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
430 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
431 /// Storage: `Domains::Withdrawals` (r:1 w:1)
432 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
433 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
434 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
435 /// Storage: `Domains::DepositOnHold` (r:1 w:1)
436 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
437 /// Storage: `System::Account` (r:1 w:1)
438 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
439 /// Storage: `Balances::Holds` (r:1 w:1)
440 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
441 /// Storage: `Domains::Deposits` (r:1 w:1)
442 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
443 /// The range of component `w` is `[1, 32]`.
444 fn unlock_funds(w: u32, ) -> Weight {
445 // Proof Size summary in bytes:
446 // Measured: `1157 + w * (36 ±0)`
447 // Estimated: `4622 + w * (36 ±0)`
448 // Minimum execution time: 94_000_000 picoseconds.
449 Weight::from_parts(86_675_591, 0)
450 .saturating_add(Weight::from_parts(0, 4622))
451 // Standard Error: 373_480
452 .saturating_add(Weight::from_parts(1_180_519, 0).saturating_mul(w.into()))
453 .saturating_add(T::DbWeight::get().reads(9))
454 .saturating_add(T::DbWeight::get().writes(5))
455 .saturating_add(Weight::from_parts(0, 36).saturating_mul(w.into()))
456 }
457 /// Storage: `Domains::Operators` (r:1 w:1)
458 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
459 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
460 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
461 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
462 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
463 /// Storage: `System::Account` (r:3 w:2)
464 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
465 /// Storage: `Domains::Deposits` (r:1 w:1)
466 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
467 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:1)
468 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
469 /// Storage: `Balances::Holds` (r:1 w:1)
470 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
471 /// Storage: `Domains::Withdrawals` (r:1 w:0)
472 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
473 /// Storage: `Domains::NominatorCount` (r:1 w:1)
474 /// Proof: `Domains::NominatorCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
475 /// Storage: `Domains::OperatorIdOwner` (r:1 w:1)
476 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
477 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
478 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
479 /// Storage: `Domains::OperatorSigningKey` (r:0 w:1)
480 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
481 fn unlock_nominator() -> Weight {
482 // Proof Size summary in bytes:
483 // Measured: `1491`
484 // Estimated: `9015`
485 // Minimum execution time: 262_655_000 picoseconds.
486 Weight::from_parts(269_561_000, 9015)
487 .saturating_add(T::DbWeight::get().reads(13_u64))
488 .saturating_add(T::DbWeight::get().writes(9_u64))
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: `438`
495 // Estimated: `3903`
496 // Minimum execution time: 32_711_000 picoseconds.
497 Weight::from_parts(34_742_000, 3903)
498 .saturating_add(T::DbWeight::get().reads(1_u64))
499 .saturating_add(T::DbWeight::get().writes(1_u64))
500 }
501 /// Storage: `System::Account` (r:2 w:2)
502 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
503 fn transfer_treasury_funds() -> Weight {
504 // Proof Size summary in bytes:
505 // Measured: `52`
506 // Estimated: `6196`
507 // Minimum execution time: 50_180_000 picoseconds.
508 Weight::from_parts(50_700_000, 6196)
509 .saturating_add(T::DbWeight::get().reads(2_u64))
510 .saturating_add(T::DbWeight::get().writes(2_u64))
511 }
512 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
513 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
514 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
515 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
516 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
517 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
518 /// Storage: `Domains::BlockTree` (r:1 w:1)
519 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
520 /// Storage: `Domains::LatestSubmittedER` (r:1 w:1)
521 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
522 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
523 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
524 fn submit_receipt() -> Weight {
525 // Proof Size summary in bytes:
526 // Measured: `655`
527 // Estimated: `4120`
528 // Minimum execution time: 59_509_000 picoseconds.
529 Weight::from_parts(61_214_000, 4120)
530 .saturating_add(T::DbWeight::get().reads(5_u64))
531 .saturating_add(T::DbWeight::get().writes(5_u64))
532 }
533 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
534 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
535 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
536 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
537 /// Storage: `Domains::ExecutionInbox` (r:2 w:0)
538 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
539 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
540 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
541 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
542 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
543 /// Storage: `Domains::FrozenDomains` (r:1 w:0)
544 /// Proof: `Domains::FrozenDomains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
545 /// Storage: `Domains::Operators` (r:1 w:0)
546 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
547 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
548 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
549 /// Storage: `Domains::OperatorHighestSlot` (r:1 w:0)
550 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
551 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:0)
552 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
553 /// Storage: `Domains::LastEpochStakingDistribution` (r:1 w:0)
554 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
555 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
556 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
557 /// Storage: `Subspace::BlockSlots` (r:1 w:0)
558 /// Proof: `Subspace::BlockSlots` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
559 /// Storage: `System::BlockHash` (r:1 w:0)
560 /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
561 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:0)
562 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
563 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
564 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
565 /// Storage: `Domains::ConsensusBlockHash` (r:1 w:0)
566 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
567 /// Storage: `Domains::BlockTree` (r:1 w:0)
568 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
569 /// Storage: `RuntimeConfigs::EnableDynamicCostOfStorage` (r:1 w:0)
570 /// Proof: `RuntimeConfigs::EnableDynamicCostOfStorage` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
571 /// Storage: `System::Account` (r:1 w:1)
572 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
573 /// Storage: `TransactionFees::CollectedBlockFees` (r:1 w:1)
574 /// Proof: `TransactionFees::CollectedBlockFees` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
575 fn validate_submit_bundle() -> Weight {
576 // Proof Size summary in bytes:
577 // Measured: `1411`
578 // Estimated: `7351`
579 // Minimum execution time: 500_000_000 picoseconds.
580 Weight::from_parts(516_000_000, 0)
581 .saturating_add(Weight::from_parts(0, 7351))
582 .saturating_add(T::DbWeight::get().reads(22))
583 .saturating_add(T::DbWeight::get().writes(2))
584 }
585 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
586 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
587 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
588 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
589 /// Storage: `Domains::ExecutionInbox` (r:2 w:0)
590 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
591 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
592 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
593 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
594 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
595 /// Storage: `Domains::FrozenDomains` (r:1 w:0)
596 /// Proof: `Domains::FrozenDomains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
597 /// Storage: `Domains::Operators` (r:1 w:0)
598 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
599 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
600 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
601 /// Storage: `Domains::OperatorHighestSlot` (r:1 w:0)
602 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
603 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:0)
604 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
605 /// Storage: `Domains::LastEpochStakingDistribution` (r:1 w:0)
606 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
607 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
608 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
609 /// Storage: `Subspace::BlockSlots` (r:1 w:0)
610 /// Proof: `Subspace::BlockSlots` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
611 /// Storage: `System::BlockHash` (r:1 w:0)
612 /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
613 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:0)
614 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
615 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
616 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
617 /// Storage: `Domains::ConsensusBlockHash` (r:1 w:0)
618 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
619 /// Storage: `Domains::BlockTree` (r:1 w:0)
620 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
621 /// Storage: `RuntimeConfigs::EnableDynamicCostOfStorage` (r:1 w:0)
622 /// Proof: `RuntimeConfigs::EnableDynamicCostOfStorage` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
623 /// Storage: `System::Account` (r:1 w:1)
624 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
625 /// Storage: `TransactionFees::CollectedBlockFees` (r:1 w:1)
626 /// Proof: `TransactionFees::CollectedBlockFees` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
627 fn validate_singleton_receipt() -> Weight {
628 // Proof Size summary in bytes:
629 // Measured: `1441`
630 // Estimated: `7381`
631 // Minimum execution time: 494_000_000 picoseconds.
632 Weight::from_parts(510_000_000, 0)
633 .saturating_add(Weight::from_parts(0, 7381))
634 .saturating_add(T::DbWeight::get().reads(22))
635 .saturating_add(T::DbWeight::get().writes(2))
636 }
637 /// Storage: `Domains::BlockTreeNodes` (r:2 w:0)
638 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
639 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
640 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
641 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
642 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
643 /// Storage: `Domains::RuntimeRegistry` (r:1 w:0)
644 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
645 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
646 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
647 fn fraud_proof_pre_check() -> Weight {
648 // Proof Size summary in bytes:
649 // Measured: `2483056`
650 // Estimated: `2488996`
651 // Minimum execution time: 931_000_000 picoseconds.
652 Weight::from_parts(976_000_000, 0)
653 .saturating_add(Weight::from_parts(0, 2488996))
654 .saturating_add(T::DbWeight::get().reads(6))
655 }
656}
657
658// For backwards compatibility and tests
659impl WeightInfo for () {
660 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
661 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
662 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
663 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
664 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:1)
665 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
666 /// Storage: `Domains::BlockTree` (r:2 w:2)
667 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
668 /// Storage: `Domains::BlockTreeNodes` (r:1 w:2)
669 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
670 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
671 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
672 /// Storage: `Domains::ExecutionInbox` (r:3 w:1)
673 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
674 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
675 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
676 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
677 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
678 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
679 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
680 /// Storage: `Domains::SuccessfulBundles` (r:1 w:1)
681 /// Proof: `Domains::SuccessfulBundles` (`max_values`: None, `max_size`: None, mode: `Measured`)
682 /// Storage: `Domains::HeadDomainNumber` (r:1 w:1)
683 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
684 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:1)
685 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
686 /// Storage: `Domains::InboxedBundleAuthor` (r:0 w:1)
687 /// Proof: `Domains::InboxedBundleAuthor` (`max_values`: None, `max_size`: None, mode: `Measured`)
688 /// Storage: `Domains::ConsensusBlockHash` (r:0 w:1)
689 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
690 fn submit_bundle() -> Weight {
691 // Proof Size summary in bytes:
692 // Measured: `1751`
693 // Estimated: `10166`
694 // Minimum execution time: 172_846_000 picoseconds.
695 Weight::from_parts(174_992_000, 10166)
696 .saturating_add(ParityDbWeight::get().reads(16_u64))
697 .saturating_add(ParityDbWeight::get().writes(14_u64))
698 }
699 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
700 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
701 /// Storage: `Domains::BlockTreeNodes` (r:1 w:0)
702 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
703 fn submit_fraud_proof() -> Weight {
704 // Proof Size summary in bytes:
705 // Measured: `1008`
706 // Estimated: `4473`
707 // Minimum execution time: 38_692_000 picoseconds.
708 Weight::from_parts(41_247_000, 4473)
709 .saturating_add(ParityDbWeight::get().reads(2_u64))
710 .saturating_add(ParityDbWeight::get().writes(1_u64))
711 }
712 /// Storage: `Domains::BlockTree` (r:1 w:1)
713 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
714 /// Storage: `Domains::BlockTreeNodes` (r:1 w:1)
715 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
716 /// Storage: `Domains::LatestSubmittedER` (r:100 w:0)
717 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
718 /// Storage: `Domains::Operators` (r:100 w:100)
719 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
720 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
721 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
722 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
723 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
724 /// The range of component `n` is `[1, 100]`.
725 fn handle_bad_receipt(n: u32, ) -> Weight {
726 // Proof Size summary in bytes:
727 // Measured: `932 + n * (208 ±0)`
728 // Estimated: `4397 + n * (2683 ±0)`
729 // Minimum execution time: 56_216_000 picoseconds.
730 Weight::from_parts(56_940_000, 4397)
731 // Standard Error: 67_772
732 .saturating_add(Weight::from_parts(22_316_875, 0).saturating_mul(n.into()))
733 .saturating_add(ParityDbWeight::get().reads(4_u64))
734 .saturating_add(ParityDbWeight::get().reads((2_u64).saturating_mul(n.into())))
735 .saturating_add(ParityDbWeight::get().writes(4_u64))
736 .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(n.into())))
737 .saturating_add(Weight::from_parts(0, 2683).saturating_mul(n.into()))
738 }
739 /// Storage: `Domains::Operators` (r:200 w:100)
740 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
741 /// Storage: `System::Account` (r:100 w:100)
742 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
743 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
744 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
745 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
746 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
747 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
748 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
749 /// The range of component `n` is `[1, 100]`.
750 /// The range of component `s` is `[0, 100]`.
751 fn confirm_domain_block(n: u32, s: u32, ) -> Weight {
752 // Proof Size summary in bytes:
753 // Measured: `0 + n * (378 ±0) + s * (239 ±0)`
754 // Estimated: `271975 + n * (2588 ±0) + s * (979 ±0)`
755 // Minimum execution time: 2_284_894_000 picoseconds.
756 Weight::from_parts(2_292_775_000, 271975)
757 // Standard Error: 419_121
758 .saturating_add(Weight::from_parts(13_897_823, 0).saturating_mul(n.into()))
759 // Standard Error: 419_507
760 .saturating_add(Weight::from_parts(14_690_876, 0).saturating_mul(s.into()))
761 .saturating_add(ParityDbWeight::get().reads(3_u64))
762 .saturating_add(ParityDbWeight::get().reads((2_u64).saturating_mul(n.into())))
763 .saturating_add(ParityDbWeight::get().reads((1_u64).saturating_mul(s.into())))
764 .saturating_add(ParityDbWeight::get().writes(3_u64))
765 .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(n.into())))
766 .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(s.into())))
767 .saturating_add(Weight::from_parts(0, 2588).saturating_mul(n.into()))
768 .saturating_add(Weight::from_parts(0, 979).saturating_mul(s.into()))
769 }
770 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
771 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
772 /// Storage: `Domains::Operators` (r:100 w:100)
773 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
774 /// The range of component `n` is `[1, 100]`.
775 fn operator_reward_tax_and_restake(n: u32, ) -> Weight {
776 // Proof Size summary in bytes:
777 // Measured: `366 + n * (224 ±0)`
778 // Estimated: `3831 + n * (2699 ±0)`
779 // Minimum execution time: 22_997_000 picoseconds.
780 Weight::from_parts(33_679_642, 3831)
781 // Standard Error: 11_599
782 .saturating_add(Weight::from_parts(4_386_338, 0).saturating_mul(n.into()))
783 .saturating_add(ParityDbWeight::get().reads(1_u64))
784 .saturating_add(ParityDbWeight::get().reads((1_u64).saturating_mul(n.into())))
785 .saturating_add(ParityDbWeight::get().writes(1_u64))
786 .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(n.into())))
787 .saturating_add(Weight::from_parts(0, 2699).saturating_mul(n.into()))
788 }
789 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
790 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
791 /// Storage: `Domains::Operators` (r:1 w:1)
792 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
793 /// Storage: `Domains::OperatorIdOwner` (r:1 w:1)
794 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
795 /// Storage: `Domains::Deposits` (r:11 w:10)
796 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
797 /// Storage: `Balances::Holds` (r:10 w:10)
798 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
799 /// Storage: `Domains::OperatorEpochSharePrice` (r:2 w:2)
800 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
801 /// Storage: `Domains::Withdrawals` (r:10 w:0)
802 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
803 /// Storage: `System::Account` (r:12 w:12)
804 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
805 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
806 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
807 /// Storage: `Domains::NominatorCount` (r:1 w:1)
808 /// Proof: `Domains::NominatorCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
809 /// Storage: `Domains::OperatorSigningKey` (r:0 w:1)
810 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
811 /// The range of component `n` is `[0, 9]`.
812 fn slash_operator(n: u32, ) -> Weight {
813 // Proof Size summary in bytes:
814 // Measured: `1365 + n * (298 ±0)`
815 // Estimated: `9015 + n * (8025 ±0)`
816 // Minimum execution time: 236_187_000 picoseconds.
817 Weight::from_parts(271_847_200, 9015)
818 // Standard Error: 293_537
819 .saturating_add(Weight::from_parts(92_669_227, 0).saturating_mul(n.into()))
820 .saturating_add(ParityDbWeight::get().reads(14_u64))
821 .saturating_add(ParityDbWeight::get().reads((4_u64).saturating_mul(n.into())))
822 .saturating_add(ParityDbWeight::get().writes(12_u64))
823 .saturating_add(ParityDbWeight::get().writes((3_u64).saturating_mul(n.into())))
824 .saturating_add(Weight::from_parts(0, 8025).saturating_mul(n.into()))
825 }
826 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
827 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
828 /// Storage: `Domains::LatestSubmittedER` (r:512 w:0)
829 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
830 /// Storage: `Domains::Operators` (r:512 w:512)
831 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
832 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
833 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
834 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:512)
835 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
836 /// The range of component `p` is `[0, 512]`.
837 fn finalize_domain_epoch_staking(p: u32, ) -> Weight {
838 // Proof Size summary in bytes:
839 // Measured: `116165`
840 // Estimated: `1384355`
841 // Minimum execution time: 3_726_400_000 picoseconds.
842 Weight::from_parts(3_900_459_490, 1384355)
843 // Standard Error: 10_021
844 .saturating_add(Weight::from_parts(3_667_131, 0).saturating_mul(p.into()))
845 .saturating_add(ParityDbWeight::get().reads(1025_u64))
846 .saturating_add(ParityDbWeight::get().writes(2_u64))
847 .saturating_add(ParityDbWeight::get().writes((2_u64).saturating_mul(p.into())))
848 }
849 /// Storage: `Domains::NextRuntimeId` (r:1 w:1)
850 /// Proof: `Domains::NextRuntimeId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
851 /// Storage: `Domains::RuntimeRegistry` (r:0 w:1)
852 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
853 fn register_domain_runtime() -> Weight {
854 // Proof Size summary in bytes:
855 // Measured: `0`
856 // Estimated: `1485`
857 // Minimum execution time: 34_365_019_000 picoseconds.
858 Weight::from_parts(34_417_998_000, 1485)
859 .saturating_add(ParityDbWeight::get().reads(1_u64))
860 .saturating_add(ParityDbWeight::get().writes(2_u64))
861 }
862 /// Storage: `Domains::RuntimeRegistry` (r:1 w:0)
863 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
864 /// Storage: `Domains::ScheduledRuntimeUpgrades` (r:0 w:1)
865 /// Proof: `Domains::ScheduledRuntimeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
866 fn upgrade_domain_runtime() -> Weight {
867 // Proof Size summary in bytes:
868 // Measured: `2481067`
869 // Estimated: `2484532`
870 // Minimum execution time: 37_943_257_000 picoseconds.
871 Weight::from_parts(38_175_433_000, 2484532)
872 .saturating_add(ParityDbWeight::get().reads(1_u64))
873 .saturating_add(ParityDbWeight::get().writes(1_u64))
874 }
875 /// Storage: `Domains::PermissionedActionAllowedBy` (r:1 w:0)
876 /// Proof: `Domains::PermissionedActionAllowedBy` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
877 /// Storage: `Domains::RuntimeRegistry` (r:1 w:1)
878 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
879 /// Storage: `System::Account` (r:1 w:1)
880 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
881 /// Storage: `Domains::NextDomainId` (r:1 w:1)
882 /// Proof: `Domains::NextDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
883 /// Storage: `Domains::NextEVMChainId` (r:1 w:1)
884 /// Proof: `Domains::NextEVMChainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
885 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
886 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
887 /// Storage: `Balances::Holds` (r:1 w:1)
888 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
889 /// Storage: `System::Digest` (r:1 w:1)
890 /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
891 /// Storage: `Domains::DomainSudoCalls` (r:0 w:1)
892 /// Proof: `Domains::DomainSudoCalls` (`max_values`: None, `max_size`: None, mode: `Measured`)
893 /// Storage: `Domains::DomainRegistry` (r:0 w:1)
894 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
895 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
896 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
897 /// Storage: `Domains::DomainStakingSummary` (r:0 w:1)
898 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
899 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:0 w:1)
900 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
901 /// Storage: `Domains::BlockTree` (r:0 w:1)
902 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
903 /// Storage: `Messenger::DomainChainAllowlistUpdate` (r:0 w:1)
904 /// Proof: `Messenger::DomainChainAllowlistUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`)
905 fn instantiate_domain() -> Weight {
906 // Proof Size summary in bytes:
907 // Measured: `2481139`
908 // Estimated: `2484604`
909 // Minimum execution time: 9_071_076_000 picoseconds.
910 Weight::from_parts(9_096_678_000, 2484604)
911 .saturating_add(ParityDbWeight::get().reads(8_u64))
912 .saturating_add(ParityDbWeight::get().writes(14_u64))
913 }
914 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
915 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
916 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
917 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
918 /// Storage: `Domains::OperatorSigningKey` (r:1 w:1)
919 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
920 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
921 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
922 /// Storage: `Domains::NextOperatorId` (r:1 w:1)
923 /// Proof: `Domains::NextOperatorId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
924 /// Storage: `System::Account` (r:2 w:2)
925 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
926 /// Storage: `Balances::Holds` (r:1 w:1)
927 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
928 /// Storage: `Domains::Deposits` (r:1 w:1)
929 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
930 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
931 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
932 /// Storage: `Domains::Operators` (r:0 w:1)
933 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
934 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
935 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
936 /// Storage: `Domains::OperatorIdOwner` (r:0 w:1)
937 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
938 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:1)
939 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
940 fn register_operator() -> Weight {
941 // Proof Size summary in bytes:
942 // Measured: `651`
943 // Estimated: `9015`
944 // Minimum execution time: 252_801_000 picoseconds.
945 Weight::from_parts(256_406_000, 9015)
946 .saturating_add(ParityDbWeight::get().reads(10_u64))
947 .saturating_add(ParityDbWeight::get().writes(12_u64))
948 }
949 /// Storage: `Domains::Operators` (r:1 w:1)
950 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
951 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
952 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
953 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
954 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
955 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
956 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
957 /// Storage: `System::Account` (r:2 w:2)
958 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
959 /// Storage: `Balances::Holds` (r:1 w:1)
960 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
961 /// Storage: `Domains::Deposits` (r:1 w:1)
962 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
963 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
964 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
965 fn nominate_operator() -> Weight {
966 // Proof Size summary in bytes:
967 // Measured: `1131`
968 // Estimated: `9015`
969 // Minimum execution time: 168_898_000 picoseconds.
970 Weight::from_parts(174_307_000, 9015)
971 .saturating_add(ParityDbWeight::get().reads(9_u64))
972 .saturating_add(ParityDbWeight::get().writes(6_u64))
973 }
974 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
975 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
976 /// Storage: `Domains::Operators` (r:1 w:1)
977 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
978 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
979 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
980 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
981 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
982 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
983 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
984 fn deregister_operator() -> Weight {
985 // Proof Size summary in bytes:
986 // Measured: `977`
987 // Estimated: `4442`
988 // Minimum execution time: 54_905_000 picoseconds.
989 Weight::from_parts(56_948_000, 4442)
990 .saturating_add(ParityDbWeight::get().reads(5_u64))
991 .saturating_add(ParityDbWeight::get().writes(2_u64))
992 }
993 /// Storage: `Domains::Operators` (r:1 w:1)
994 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
995 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
996 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
997 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
998 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
999 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
1000 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
1001 /// Storage: `Domains::Deposits` (r:1 w:1)
1002 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
1003 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
1004 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
1005 /// Storage: `Domains::Withdrawals` (r:1 w:1)
1006 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
1007 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
1008 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
1009 /// Storage: `System::Account` (r:2 w:2)
1010 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1011 /// Storage: `Balances::Holds` (r:1 w:1)
1012 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
1013 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
1014 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
1015 fn withdraw_stake() -> Weight {
1016 // Proof Size summary in bytes:
1017 // Measured: `1674`
1018 // Estimated: `9015`
1019 // Minimum execution time: 152_234_000 picoseconds.
1020 Weight::from_parts(156_823_000, 9015)
1021 .saturating_add(ParityDbWeight::get().reads(12_u64))
1022 .saturating_add(ParityDbWeight::get().writes(7_u64))
1023 }
1024 /// Storage: `Domains::Operators` (r:1 w:0)
1025 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
1026 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
1027 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
1028 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
1029 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
1030 /// Storage: `Domains::Withdrawals` (r:1 w:1)
1031 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
1032 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
1033 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
1034 /// Storage: `Domains::DepositOnHold` (r:1 w:1)
1035 /// Proof: `Domains::DepositOnHold` (`max_values`: None, `max_size`: None, mode: `Measured`)
1036 /// Storage: `System::Account` (r:1 w:1)
1037 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1038 /// Storage: `Balances::Holds` (r:1 w:1)
1039 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
1040 /// Storage: `Domains::Deposits` (r:1 w:1)
1041 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
1042 /// The range of component `w` is `[1, 32]`.
1043 fn unlock_funds(w: u32, ) -> Weight {
1044 // Proof Size summary in bytes:
1045 // Measured: `1157 + w * (36 ±0)`
1046 // Estimated: `4622 + w * (36 ±0)`
1047 // Minimum execution time: 94_000_000 picoseconds.
1048 Weight::from_parts(86_675_591, 0)
1049 .saturating_add(Weight::from_parts(0, 4622))
1050 // Standard Error: 373_480
1051 .saturating_add(Weight::from_parts(1_180_519, 0).saturating_mul(w.into()))
1052 .saturating_add(ParityDbWeight::get().reads(9))
1053 .saturating_add(ParityDbWeight::get().writes(5))
1054 .saturating_add(Weight::from_parts(0, 36).saturating_mul(w.into()))
1055 }
1056 /// Storage: `Domains::Operators` (r:1 w:1)
1057 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
1058 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
1059 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
1060 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
1061 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
1062 /// Storage: `System::Account` (r:3 w:2)
1063 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1064 /// Storage: `Domains::Deposits` (r:1 w:1)
1065 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
1066 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:1)
1067 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
1068 /// Storage: `Balances::Holds` (r:1 w:1)
1069 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
1070 /// Storage: `Domains::Withdrawals` (r:1 w:0)
1071 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
1072 /// Storage: `Domains::NominatorCount` (r:1 w:1)
1073 /// Proof: `Domains::NominatorCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
1074 /// Storage: `Domains::OperatorIdOwner` (r:1 w:1)
1075 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
1076 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
1077 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1078 /// Storage: `Domains::OperatorSigningKey` (r:0 w:1)
1079 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
1080 fn unlock_nominator() -> Weight {
1081 // Proof Size summary in bytes:
1082 // Measured: `1491`
1083 // Estimated: `9015`
1084 // Minimum execution time: 262_655_000 picoseconds.
1085 Weight::from_parts(269_561_000, 9015)
1086 .saturating_add(ParityDbWeight::get().reads(13_u64))
1087 .saturating_add(ParityDbWeight::get().writes(9_u64))
1088 }
1089 /// Storage: `Domains::DomainRegistry` (r:1 w:1)
1090 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
1091 fn update_domain_operator_allow_list() -> Weight {
1092 // Proof Size summary in bytes:
1093 // Measured: `438`
1094 // Estimated: `3903`
1095 // Minimum execution time: 32_711_000 picoseconds.
1096 Weight::from_parts(34_742_000, 3903)
1097 .saturating_add(ParityDbWeight::get().reads(1_u64))
1098 .saturating_add(ParityDbWeight::get().writes(1_u64))
1099 }
1100 /// Storage: `System::Account` (r:2 w:2)
1101 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1102 fn transfer_treasury_funds() -> Weight {
1103 // Proof Size summary in bytes:
1104 // Measured: `52`
1105 // Estimated: `6196`
1106 // Minimum execution time: 50_180_000 picoseconds.
1107 Weight::from_parts(50_700_000, 6196)
1108 .saturating_add(ParityDbWeight::get().reads(2_u64))
1109 .saturating_add(ParityDbWeight::get().writes(2_u64))
1110 }
1111 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
1112 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
1113 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
1114 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
1115 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
1116 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
1117 /// Storage: `Domains::BlockTree` (r:1 w:1)
1118 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
1119 /// Storage: `Domains::LatestSubmittedER` (r:1 w:1)
1120 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
1121 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
1122 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
1123 fn submit_receipt() -> Weight {
1124 // Proof Size summary in bytes:
1125 // Measured: `655`
1126 // Estimated: `4120`
1127 // Minimum execution time: 59_509_000 picoseconds.
1128 Weight::from_parts(61_214_000, 4120)
1129 .saturating_add(ParityDbWeight::get().reads(5_u64))
1130 .saturating_add(ParityDbWeight::get().writes(5_u64))
1131 }
1132 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
1133 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
1134 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
1135 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
1136 /// Storage: `Domains::ExecutionInbox` (r:2 w:0)
1137 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
1138 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
1139 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
1140 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
1141 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
1142 /// Storage: `Domains::FrozenDomains` (r:1 w:0)
1143 /// Proof: `Domains::FrozenDomains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1144 /// Storage: `Domains::Operators` (r:1 w:0)
1145 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
1146 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
1147 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
1148 /// Storage: `Domains::OperatorHighestSlot` (r:1 w:0)
1149 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
1150 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:0)
1151 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
1152 /// Storage: `Domains::LastEpochStakingDistribution` (r:1 w:0)
1153 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
1154 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
1155 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
1156 /// Storage: `Subspace::BlockSlots` (r:1 w:0)
1157 /// Proof: `Subspace::BlockSlots` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1158 /// Storage: `System::BlockHash` (r:1 w:0)
1159 /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
1160 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:0)
1161 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
1162 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
1163 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
1164 /// Storage: `Domains::ConsensusBlockHash` (r:1 w:0)
1165 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
1166 /// Storage: `Domains::BlockTree` (r:1 w:0)
1167 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
1168 /// Storage: `RuntimeConfigs::EnableDynamicCostOfStorage` (r:1 w:0)
1169 /// Proof: `RuntimeConfigs::EnableDynamicCostOfStorage` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1170 /// Storage: `System::Account` (r:1 w:1)
1171 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1172 /// Storage: `TransactionFees::CollectedBlockFees` (r:1 w:1)
1173 /// Proof: `TransactionFees::CollectedBlockFees` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1174 fn validate_submit_bundle() -> Weight {
1175 // Proof Size summary in bytes:
1176 // Measured: `1411`
1177 // Estimated: `7351`
1178 // Minimum execution time: 500_000_000 picoseconds.
1179 Weight::from_parts(516_000_000, 0)
1180 .saturating_add(Weight::from_parts(0, 7351))
1181 .saturating_add(ParityDbWeight::get().reads(22))
1182 .saturating_add(ParityDbWeight::get().writes(2))
1183 }
1184 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
1185 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
1186 /// Storage: `Domains::HeadDomainNumber` (r:1 w:0)
1187 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
1188 /// Storage: `Domains::ExecutionInbox` (r:2 w:0)
1189 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
1190 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
1191 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
1192 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
1193 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
1194 /// Storage: `Domains::FrozenDomains` (r:1 w:0)
1195 /// Proof: `Domains::FrozenDomains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1196 /// Storage: `Domains::Operators` (r:1 w:0)
1197 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
1198 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
1199 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
1200 /// Storage: `Domains::OperatorHighestSlot` (r:1 w:0)
1201 /// Proof: `Domains::OperatorHighestSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
1202 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:0)
1203 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
1204 /// Storage: `Domains::LastEpochStakingDistribution` (r:1 w:0)
1205 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
1206 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
1207 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
1208 /// Storage: `Subspace::BlockSlots` (r:1 w:0)
1209 /// Proof: `Subspace::BlockSlots` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1210 /// Storage: `System::BlockHash` (r:1 w:0)
1211 /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
1212 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:0)
1213 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
1214 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
1215 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
1216 /// Storage: `Domains::ConsensusBlockHash` (r:1 w:0)
1217 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
1218 /// Storage: `Domains::BlockTree` (r:1 w:0)
1219 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
1220 /// Storage: `RuntimeConfigs::EnableDynamicCostOfStorage` (r:1 w:0)
1221 /// Proof: `RuntimeConfigs::EnableDynamicCostOfStorage` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1222 /// Storage: `System::Account` (r:1 w:1)
1223 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1224 /// Storage: `TransactionFees::CollectedBlockFees` (r:1 w:1)
1225 /// Proof: `TransactionFees::CollectedBlockFees` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1226 fn validate_singleton_receipt() -> Weight {
1227 // Proof Size summary in bytes:
1228 // Measured: `1441`
1229 // Estimated: `7381`
1230 // Minimum execution time: 494_000_000 picoseconds.
1231 Weight::from_parts(510_000_000, 0)
1232 .saturating_add(Weight::from_parts(0, 7381))
1233 .saturating_add(ParityDbWeight::get().reads(22))
1234 .saturating_add(ParityDbWeight::get().writes(2))
1235 }
1236 /// Storage: `Domains::BlockTreeNodes` (r:2 w:0)
1237 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
1238 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:0)
1239 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
1240 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
1241 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
1242 /// Storage: `Domains::RuntimeRegistry` (r:1 w:0)
1243 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
1244 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
1245 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
1246 fn fraud_proof_pre_check() -> Weight {
1247 // Proof Size summary in bytes:
1248 // Measured: `2483056`
1249 // Estimated: `2488996`
1250 // Minimum execution time: 931_000_000 picoseconds.
1251 Weight::from_parts(976_000_000, 0)
1252 .saturating_add(Weight::from_parts(0, 2488996))
1253 .saturating_add(ParityDbWeight::get().reads(6))
1254 }
1255}