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=runtime
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() -> 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}
54
55/// Weights for pallet_domains using the Substrate node and recommended hardware.
56pub struct SubstrateWeight<T>(PhantomData<T>);
57impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
58 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
59 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
60 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
61 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
62 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:1)
63 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
64 /// Storage: `Domains::BlockTree` (r:2 w:2)
65 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
66 /// Storage: `Domains::BlockTreeNodes` (r:1 w:2)
67 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
68 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
69 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
70 /// Storage: `Domains::ExecutionInbox` (r:3 w:1)
71 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
72 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
73 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
74 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
75 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
76 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
77 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
78 /// Storage: `Domains::SuccessfulBundles` (r:1 w:1)
79 /// Proof: `Domains::SuccessfulBundles` (`max_values`: None, `max_size`: None, mode: `Measured`)
80 /// Storage: `Domains::HeadDomainNumber` (r:1 w:1)
81 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
82 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:1)
83 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
84 /// Storage: `Domains::InboxedBundleAuthor` (r:0 w:1)
85 /// Proof: `Domains::InboxedBundleAuthor` (`max_values`: None, `max_size`: None, mode: `Measured`)
86 /// Storage: `Domains::ConsensusBlockHash` (r:0 w:1)
87 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
88 fn submit_bundle() -> Weight {
89 // Proof Size summary in bytes:
90 // Measured: `1751`
91 // Estimated: `10166`
92 // Minimum execution time: 172_846_000 picoseconds.
93 Weight::from_parts(174_992_000, 10166)
94 .saturating_add(T::DbWeight::get().reads(16_u64))
95 .saturating_add(T::DbWeight::get().writes(14_u64))
96 }
97 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
98 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
99 /// Storage: `Domains::BlockTreeNodes` (r:1 w:0)
100 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
101 fn submit_fraud_proof() -> Weight {
102 // Proof Size summary in bytes:
103 // Measured: `1008`
104 // Estimated: `4473`
105 // Minimum execution time: 38_692_000 picoseconds.
106 Weight::from_parts(41_247_000, 4473)
107 .saturating_add(T::DbWeight::get().reads(2_u64))
108 .saturating_add(T::DbWeight::get().writes(1_u64))
109 }
110 /// Storage: `Domains::BlockTree` (r:1 w:1)
111 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
112 /// Storage: `Domains::BlockTreeNodes` (r:1 w:1)
113 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
114 /// Storage: `Domains::LatestSubmittedER` (r:100 w:0)
115 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
116 /// Storage: `Domains::Operators` (r:100 w:100)
117 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
118 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
119 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
120 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
121 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
122 /// The range of component `n` is `[1, 100]`.
123 fn handle_bad_receipt(n: u32, ) -> Weight {
124 // Proof Size summary in bytes:
125 // Measured: `932 + n * (208 ±0)`
126 // Estimated: `4397 + n * (2683 ±0)`
127 // Minimum execution time: 56_216_000 picoseconds.
128 Weight::from_parts(56_940_000, 4397)
129 // Standard Error: 67_772
130 .saturating_add(Weight::from_parts(22_316_875, 0).saturating_mul(n.into()))
131 .saturating_add(T::DbWeight::get().reads(4_u64))
132 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into())))
133 .saturating_add(T::DbWeight::get().writes(4_u64))
134 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
135 .saturating_add(Weight::from_parts(0, 2683).saturating_mul(n.into()))
136 }
137 /// Storage: `Domains::Operators` (r:200 w:100)
138 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
139 /// Storage: `System::Account` (r:100 w:100)
140 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
141 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
142 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
143 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
144 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
145 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
146 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
147 /// The range of component `n` is `[1, 100]`.
148 /// The range of component `s` is `[0, 100]`.
149 fn confirm_domain_block(n: u32, s: u32, ) -> Weight {
150 // Proof Size summary in bytes:
151 // Measured: `0 + n * (378 ±0) + s * (239 ±0)`
152 // Estimated: `271975 + n * (2588 ±0) + s * (979 ±0)`
153 // Minimum execution time: 2_284_894_000 picoseconds.
154 Weight::from_parts(2_292_775_000, 271975)
155 // Standard Error: 419_121
156 .saturating_add(Weight::from_parts(13_897_823, 0).saturating_mul(n.into()))
157 // Standard Error: 419_507
158 .saturating_add(Weight::from_parts(14_690_876, 0).saturating_mul(s.into()))
159 .saturating_add(T::DbWeight::get().reads(3_u64))
160 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into())))
161 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
162 .saturating_add(T::DbWeight::get().writes(3_u64))
163 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
164 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
165 .saturating_add(Weight::from_parts(0, 2588).saturating_mul(n.into()))
166 .saturating_add(Weight::from_parts(0, 979).saturating_mul(s.into()))
167 }
168 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
169 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
170 /// Storage: `Domains::Operators` (r:100 w:100)
171 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
172 /// The range of component `n` is `[1, 100]`.
173 fn operator_reward_tax_and_restake(n: u32, ) -> Weight {
174 // Proof Size summary in bytes:
175 // Measured: `366 + n * (224 ±0)`
176 // Estimated: `3831 + n * (2699 ±0)`
177 // Minimum execution time: 22_997_000 picoseconds.
178 Weight::from_parts(33_679_642, 3831)
179 // Standard Error: 11_599
180 .saturating_add(Weight::from_parts(4_386_338, 0).saturating_mul(n.into()))
181 .saturating_add(T::DbWeight::get().reads(1_u64))
182 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
183 .saturating_add(T::DbWeight::get().writes(1_u64))
184 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
185 .saturating_add(Weight::from_parts(0, 2699).saturating_mul(n.into()))
186 }
187 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
188 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
189 /// Storage: `Domains::Operators` (r:1 w:1)
190 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
191 /// Storage: `Domains::OperatorIdOwner` (r:1 w:1)
192 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
193 /// Storage: `Domains::Deposits` (r:11 w:10)
194 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
195 /// Storage: `Balances::Holds` (r:10 w:10)
196 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
197 /// Storage: `Domains::OperatorEpochSharePrice` (r:2 w:2)
198 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
199 /// Storage: `Domains::Withdrawals` (r:10 w:0)
200 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
201 /// Storage: `System::Account` (r:12 w:12)
202 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
203 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
204 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
205 /// Storage: `Domains::NominatorCount` (r:1 w:1)
206 /// Proof: `Domains::NominatorCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
207 /// Storage: `Domains::OperatorSigningKey` (r:0 w:1)
208 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
209 /// The range of component `n` is `[0, 9]`.
210 fn slash_operator(n: u32, ) -> Weight {
211 // Proof Size summary in bytes:
212 // Measured: `1365 + n * (298 ±0)`
213 // Estimated: `9015 + n * (8025 ±0)`
214 // Minimum execution time: 236_187_000 picoseconds.
215 Weight::from_parts(271_847_200, 9015)
216 // Standard Error: 293_537
217 .saturating_add(Weight::from_parts(92_669_227, 0).saturating_mul(n.into()))
218 .saturating_add(T::DbWeight::get().reads(14_u64))
219 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
220 .saturating_add(T::DbWeight::get().writes(12_u64))
221 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into())))
222 .saturating_add(Weight::from_parts(0, 8025).saturating_mul(n.into()))
223 }
224 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
225 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
226 /// Storage: `Domains::LatestSubmittedER` (r:512 w:0)
227 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
228 /// Storage: `Domains::Operators` (r:512 w:512)
229 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
230 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
231 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
232 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:512)
233 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
234 /// The range of component `p` is `[0, 512]`.
235 fn finalize_domain_epoch_staking(p: u32, ) -> Weight {
236 // Proof Size summary in bytes:
237 // Measured: `116165`
238 // Estimated: `1384355`
239 // Minimum execution time: 3_726_400_000 picoseconds.
240 Weight::from_parts(3_900_459_490, 1384355)
241 // Standard Error: 10_021
242 .saturating_add(Weight::from_parts(3_667_131, 0).saturating_mul(p.into()))
243 .saturating_add(T::DbWeight::get().reads(1025_u64))
244 .saturating_add(T::DbWeight::get().writes(2_u64))
245 .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(p.into())))
246 }
247 /// Storage: `Domains::NextRuntimeId` (r:1 w:1)
248 /// Proof: `Domains::NextRuntimeId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
249 /// Storage: `Domains::RuntimeRegistry` (r:0 w:1)
250 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
251 fn register_domain_runtime() -> Weight {
252 // Proof Size summary in bytes:
253 // Measured: `0`
254 // Estimated: `1485`
255 // Minimum execution time: 34_365_019_000 picoseconds.
256 Weight::from_parts(34_417_998_000, 1485)
257 .saturating_add(T::DbWeight::get().reads(1_u64))
258 .saturating_add(T::DbWeight::get().writes(2_u64))
259 }
260 /// Storage: `Domains::RuntimeRegistry` (r:1 w:0)
261 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
262 /// Storage: `Domains::ScheduledRuntimeUpgrades` (r:0 w:1)
263 /// Proof: `Domains::ScheduledRuntimeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
264 fn upgrade_domain_runtime() -> Weight {
265 // Proof Size summary in bytes:
266 // Measured: `2481067`
267 // Estimated: `2484532`
268 // Minimum execution time: 37_943_257_000 picoseconds.
269 Weight::from_parts(38_175_433_000, 2484532)
270 .saturating_add(T::DbWeight::get().reads(1_u64))
271 .saturating_add(T::DbWeight::get().writes(1_u64))
272 }
273 /// Storage: `Domains::PermissionedActionAllowedBy` (r:1 w:0)
274 /// Proof: `Domains::PermissionedActionAllowedBy` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
275 /// Storage: `Domains::RuntimeRegistry` (r:1 w:1)
276 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
277 /// Storage: `System::Account` (r:1 w:1)
278 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
279 /// Storage: `Domains::NextDomainId` (r:1 w:1)
280 /// Proof: `Domains::NextDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
281 /// Storage: `Domains::NextEVMChainId` (r:1 w:1)
282 /// Proof: `Domains::NextEVMChainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
283 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
284 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
285 /// Storage: `Balances::Holds` (r:1 w:1)
286 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
287 /// Storage: `System::Digest` (r:1 w:1)
288 /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
289 /// Storage: `Domains::DomainSudoCalls` (r:0 w:1)
290 /// Proof: `Domains::DomainSudoCalls` (`max_values`: None, `max_size`: None, mode: `Measured`)
291 /// Storage: `Domains::DomainRegistry` (r:0 w:1)
292 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
293 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
294 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
295 /// Storage: `Domains::DomainStakingSummary` (r:0 w:1)
296 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
297 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:0 w:1)
298 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
299 /// Storage: `Domains::BlockTree` (r:0 w:1)
300 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
301 /// Storage: `Messenger::DomainChainAllowlistUpdate` (r:0 w:1)
302 /// Proof: `Messenger::DomainChainAllowlistUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`)
303 fn instantiate_domain() -> Weight {
304 // Proof Size summary in bytes:
305 // Measured: `2481139`
306 // Estimated: `2484604`
307 // Minimum execution time: 9_071_076_000 picoseconds.
308 Weight::from_parts(9_096_678_000, 2484604)
309 .saturating_add(T::DbWeight::get().reads(8_u64))
310 .saturating_add(T::DbWeight::get().writes(14_u64))
311 }
312 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
313 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
314 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
315 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
316 /// Storage: `Domains::OperatorSigningKey` (r:1 w:1)
317 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
318 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
319 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
320 /// Storage: `Domains::NextOperatorId` (r:1 w:1)
321 /// Proof: `Domains::NextOperatorId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
322 /// Storage: `System::Account` (r:2 w:2)
323 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
324 /// Storage: `Balances::Holds` (r:1 w:1)
325 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
326 /// Storage: `Domains::Deposits` (r:1 w:1)
327 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
328 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
329 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
330 /// Storage: `Domains::Operators` (r:0 w:1)
331 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
332 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
333 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
334 /// Storage: `Domains::OperatorIdOwner` (r:0 w:1)
335 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
336 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:1)
337 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
338 fn register_operator() -> Weight {
339 // Proof Size summary in bytes:
340 // Measured: `651`
341 // Estimated: `9015`
342 // Minimum execution time: 252_801_000 picoseconds.
343 Weight::from_parts(256_406_000, 9015)
344 .saturating_add(T::DbWeight::get().reads(10_u64))
345 .saturating_add(T::DbWeight::get().writes(12_u64))
346 }
347 /// Storage: `Domains::Operators` (r:1 w:1)
348 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
349 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
350 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
351 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
352 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
353 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
354 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
355 /// Storage: `System::Account` (r:2 w:2)
356 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
357 /// Storage: `Balances::Holds` (r:1 w:1)
358 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
359 /// Storage: `Domains::Deposits` (r:1 w:1)
360 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
361 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
362 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
363 fn nominate_operator() -> Weight {
364 // Proof Size summary in bytes:
365 // Measured: `1131`
366 // Estimated: `9015`
367 // Minimum execution time: 168_898_000 picoseconds.
368 Weight::from_parts(174_307_000, 9015)
369 .saturating_add(T::DbWeight::get().reads(9_u64))
370 .saturating_add(T::DbWeight::get().writes(6_u64))
371 }
372 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
373 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
374 /// Storage: `Domains::Operators` (r:1 w:1)
375 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
376 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
377 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
378 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
379 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
380 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
381 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
382 fn deregister_operator() -> Weight {
383 // Proof Size summary in bytes:
384 // Measured: `977`
385 // Estimated: `4442`
386 // Minimum execution time: 54_905_000 picoseconds.
387 Weight::from_parts(56_948_000, 4442)
388 .saturating_add(T::DbWeight::get().reads(5_u64))
389 .saturating_add(T::DbWeight::get().writes(2_u64))
390 }
391 /// Storage: `Domains::Operators` (r:1 w:1)
392 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
393 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
394 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
395 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
396 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
397 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
398 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
399 /// Storage: `Domains::Deposits` (r:1 w:1)
400 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
401 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
402 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
403 /// Storage: `Domains::Withdrawals` (r:1 w:1)
404 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
405 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
406 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
407 /// Storage: `System::Account` (r:2 w:2)
408 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
409 /// Storage: `Balances::Holds` (r:1 w:1)
410 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
411 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
412 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
413 fn withdraw_stake() -> Weight {
414 // Proof Size summary in bytes:
415 // Measured: `1674`
416 // Estimated: `9015`
417 // Minimum execution time: 152_234_000 picoseconds.
418 Weight::from_parts(156_823_000, 9015)
419 .saturating_add(T::DbWeight::get().reads(12_u64))
420 .saturating_add(T::DbWeight::get().writes(7_u64))
421 }
422 /// Storage: `Domains::Operators` (r:1 w:0)
423 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
424 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
425 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
426 /// Storage: `Domains::Withdrawals` (r:1 w:1)
427 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
428 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
429 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
430 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
431 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
432 /// Storage: `Balances::Holds` (r:1 w:1)
433 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
434 /// Storage: `System::Account` (r:1 w:1)
435 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
436 /// Storage: `Domains::Deposits` (r:1 w:1)
437 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
438 fn unlock_funds() -> Weight {
439 // Proof Size summary in bytes:
440 // Measured: `1290`
441 // Estimated: `9015`
442 // Minimum execution time: 144_271_000 picoseconds.
443 Weight::from_parts(147_196_000, 9015)
444 .saturating_add(T::DbWeight::get().reads(8_u64))
445 .saturating_add(T::DbWeight::get().writes(4_u64))
446 }
447 /// Storage: `Domains::Operators` (r:1 w:1)
448 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
449 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
450 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
451 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
452 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
453 /// Storage: `System::Account` (r:3 w:2)
454 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
455 /// Storage: `Domains::Deposits` (r:1 w:1)
456 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
457 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:1)
458 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
459 /// Storage: `Balances::Holds` (r:1 w:1)
460 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
461 /// Storage: `Domains::Withdrawals` (r:1 w:0)
462 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
463 /// Storage: `Domains::NominatorCount` (r:1 w:1)
464 /// Proof: `Domains::NominatorCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
465 /// Storage: `Domains::OperatorIdOwner` (r:1 w:1)
466 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
467 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
468 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
469 /// Storage: `Domains::OperatorSigningKey` (r:0 w:1)
470 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
471 fn unlock_nominator() -> Weight {
472 // Proof Size summary in bytes:
473 // Measured: `1491`
474 // Estimated: `9015`
475 // Minimum execution time: 262_655_000 picoseconds.
476 Weight::from_parts(269_561_000, 9015)
477 .saturating_add(T::DbWeight::get().reads(13_u64))
478 .saturating_add(T::DbWeight::get().writes(9_u64))
479 }
480 /// Storage: `Domains::DomainRegistry` (r:1 w:1)
481 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
482 fn update_domain_operator_allow_list() -> Weight {
483 // Proof Size summary in bytes:
484 // Measured: `438`
485 // Estimated: `3903`
486 // Minimum execution time: 32_711_000 picoseconds.
487 Weight::from_parts(34_742_000, 3903)
488 .saturating_add(T::DbWeight::get().reads(1_u64))
489 .saturating_add(T::DbWeight::get().writes(1_u64))
490 }
491 /// Storage: `System::Account` (r:2 w:2)
492 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
493 fn transfer_treasury_funds() -> Weight {
494 // Proof Size summary in bytes:
495 // Measured: `52`
496 // Estimated: `6196`
497 // Minimum execution time: 50_180_000 picoseconds.
498 Weight::from_parts(50_700_000, 6196)
499 .saturating_add(T::DbWeight::get().reads(2_u64))
500 .saturating_add(T::DbWeight::get().writes(2_u64))
501 }
502 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
503 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
504 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
505 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
506 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
507 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
508 /// Storage: `Domains::BlockTree` (r:1 w:1)
509 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
510 /// Storage: `Domains::LatestSubmittedER` (r:1 w:1)
511 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
512 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
513 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
514 fn submit_receipt() -> Weight {
515 // Proof Size summary in bytes:
516 // Measured: `655`
517 // Estimated: `4120`
518 // Minimum execution time: 59_509_000 picoseconds.
519 Weight::from_parts(61_214_000, 4120)
520 .saturating_add(T::DbWeight::get().reads(5_u64))
521 .saturating_add(T::DbWeight::get().writes(5_u64))
522 }
523}
524
525// For backwards compatibility and tests
526impl WeightInfo for () {
527 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
528 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
529 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
530 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
531 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:1)
532 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
533 /// Storage: `Domains::BlockTree` (r:2 w:2)
534 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
535 /// Storage: `Domains::BlockTreeNodes` (r:1 w:2)
536 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
537 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
538 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
539 /// Storage: `Domains::ExecutionInbox` (r:3 w:1)
540 /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`)
541 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
542 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
543 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
544 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
545 /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0)
546 /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`)
547 /// Storage: `Domains::SuccessfulBundles` (r:1 w:1)
548 /// Proof: `Domains::SuccessfulBundles` (`max_values`: None, `max_size`: None, mode: `Measured`)
549 /// Storage: `Domains::HeadDomainNumber` (r:1 w:1)
550 /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
551 /// Storage: `Domains::OperatorBundleSlot` (r:1 w:1)
552 /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`)
553 /// Storage: `Domains::InboxedBundleAuthor` (r:0 w:1)
554 /// Proof: `Domains::InboxedBundleAuthor` (`max_values`: None, `max_size`: None, mode: `Measured`)
555 /// Storage: `Domains::ConsensusBlockHash` (r:0 w:1)
556 /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
557 fn submit_bundle() -> Weight {
558 // Proof Size summary in bytes:
559 // Measured: `1751`
560 // Estimated: `10166`
561 // Minimum execution time: 172_846_000 picoseconds.
562 Weight::from_parts(174_992_000, 10166)
563 .saturating_add(ParityDbWeight::get().reads(16_u64))
564 .saturating_add(ParityDbWeight::get().writes(14_u64))
565 }
566 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
567 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
568 /// Storage: `Domains::BlockTreeNodes` (r:1 w:0)
569 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
570 fn submit_fraud_proof() -> Weight {
571 // Proof Size summary in bytes:
572 // Measured: `1008`
573 // Estimated: `4473`
574 // Minimum execution time: 38_692_000 picoseconds.
575 Weight::from_parts(41_247_000, 4473)
576 .saturating_add(ParityDbWeight::get().reads(2_u64))
577 .saturating_add(ParityDbWeight::get().writes(1_u64))
578 }
579 /// Storage: `Domains::BlockTree` (r:1 w:1)
580 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
581 /// Storage: `Domains::BlockTreeNodes` (r:1 w:1)
582 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
583 /// Storage: `Domains::LatestSubmittedER` (r:100 w:0)
584 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
585 /// Storage: `Domains::Operators` (r:100 w:100)
586 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
587 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
588 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
589 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
590 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
591 /// The range of component `n` is `[1, 100]`.
592 fn handle_bad_receipt(n: u32, ) -> Weight {
593 // Proof Size summary in bytes:
594 // Measured: `932 + n * (208 ±0)`
595 // Estimated: `4397 + n * (2683 ±0)`
596 // Minimum execution time: 56_216_000 picoseconds.
597 Weight::from_parts(56_940_000, 4397)
598 // Standard Error: 67_772
599 .saturating_add(Weight::from_parts(22_316_875, 0).saturating_mul(n.into()))
600 .saturating_add(ParityDbWeight::get().reads(4_u64))
601 .saturating_add(ParityDbWeight::get().reads((2_u64).saturating_mul(n.into())))
602 .saturating_add(ParityDbWeight::get().writes(4_u64))
603 .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(n.into())))
604 .saturating_add(Weight::from_parts(0, 2683).saturating_mul(n.into()))
605 }
606 /// Storage: `Domains::Operators` (r:200 w:100)
607 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
608 /// Storage: `System::Account` (r:100 w:100)
609 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
610 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
611 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
612 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
613 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
614 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
615 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
616 /// The range of component `n` is `[1, 100]`.
617 /// The range of component `s` is `[0, 100]`.
618 fn confirm_domain_block(n: u32, s: u32, ) -> Weight {
619 // Proof Size summary in bytes:
620 // Measured: `0 + n * (378 ±0) + s * (239 ±0)`
621 // Estimated: `271975 + n * (2588 ±0) + s * (979 ±0)`
622 // Minimum execution time: 2_284_894_000 picoseconds.
623 Weight::from_parts(2_292_775_000, 271975)
624 // Standard Error: 419_121
625 .saturating_add(Weight::from_parts(13_897_823, 0).saturating_mul(n.into()))
626 // Standard Error: 419_507
627 .saturating_add(Weight::from_parts(14_690_876, 0).saturating_mul(s.into()))
628 .saturating_add(ParityDbWeight::get().reads(3_u64))
629 .saturating_add(ParityDbWeight::get().reads((2_u64).saturating_mul(n.into())))
630 .saturating_add(ParityDbWeight::get().reads((1_u64).saturating_mul(s.into())))
631 .saturating_add(ParityDbWeight::get().writes(3_u64))
632 .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(n.into())))
633 .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(s.into())))
634 .saturating_add(Weight::from_parts(0, 2588).saturating_mul(n.into()))
635 .saturating_add(Weight::from_parts(0, 979).saturating_mul(s.into()))
636 }
637 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
638 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
639 /// Storage: `Domains::Operators` (r:100 w:100)
640 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
641 /// The range of component `n` is `[1, 100]`.
642 fn operator_reward_tax_and_restake(n: u32, ) -> Weight {
643 // Proof Size summary in bytes:
644 // Measured: `366 + n * (224 ±0)`
645 // Estimated: `3831 + n * (2699 ±0)`
646 // Minimum execution time: 22_997_000 picoseconds.
647 Weight::from_parts(33_679_642, 3831)
648 // Standard Error: 11_599
649 .saturating_add(Weight::from_parts(4_386_338, 0).saturating_mul(n.into()))
650 .saturating_add(ParityDbWeight::get().reads(1_u64))
651 .saturating_add(ParityDbWeight::get().reads((1_u64).saturating_mul(n.into())))
652 .saturating_add(ParityDbWeight::get().writes(1_u64))
653 .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(n.into())))
654 .saturating_add(Weight::from_parts(0, 2699).saturating_mul(n.into()))
655 }
656 /// Storage: `Domains::PendingSlashes` (r:1 w:1)
657 /// Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
658 /// Storage: `Domains::Operators` (r:1 w:1)
659 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
660 /// Storage: `Domains::OperatorIdOwner` (r:1 w:1)
661 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
662 /// Storage: `Domains::Deposits` (r:11 w:10)
663 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
664 /// Storage: `Balances::Holds` (r:10 w:10)
665 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
666 /// Storage: `Domains::OperatorEpochSharePrice` (r:2 w:2)
667 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
668 /// Storage: `Domains::Withdrawals` (r:10 w:0)
669 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
670 /// Storage: `System::Account` (r:12 w:12)
671 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
672 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
673 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
674 /// Storage: `Domains::NominatorCount` (r:1 w:1)
675 /// Proof: `Domains::NominatorCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
676 /// Storage: `Domains::OperatorSigningKey` (r:0 w:1)
677 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
678 /// The range of component `n` is `[0, 9]`.
679 fn slash_operator(n: u32, ) -> Weight {
680 // Proof Size summary in bytes:
681 // Measured: `1365 + n * (298 ±0)`
682 // Estimated: `9015 + n * (8025 ±0)`
683 // Minimum execution time: 236_187_000 picoseconds.
684 Weight::from_parts(271_847_200, 9015)
685 // Standard Error: 293_537
686 .saturating_add(Weight::from_parts(92_669_227, 0).saturating_mul(n.into()))
687 .saturating_add(ParityDbWeight::get().reads(14_u64))
688 .saturating_add(ParityDbWeight::get().reads((4_u64).saturating_mul(n.into())))
689 .saturating_add(ParityDbWeight::get().writes(12_u64))
690 .saturating_add(ParityDbWeight::get().writes((3_u64).saturating_mul(n.into())))
691 .saturating_add(Weight::from_parts(0, 8025).saturating_mul(n.into()))
692 }
693 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
694 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
695 /// Storage: `Domains::LatestSubmittedER` (r:512 w:0)
696 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
697 /// Storage: `Domains::Operators` (r:512 w:512)
698 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
699 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
700 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
701 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:512)
702 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
703 /// The range of component `p` is `[0, 512]`.
704 fn finalize_domain_epoch_staking(p: u32, ) -> Weight {
705 // Proof Size summary in bytes:
706 // Measured: `116165`
707 // Estimated: `1384355`
708 // Minimum execution time: 3_726_400_000 picoseconds.
709 Weight::from_parts(3_900_459_490, 1384355)
710 // Standard Error: 10_021
711 .saturating_add(Weight::from_parts(3_667_131, 0).saturating_mul(p.into()))
712 .saturating_add(ParityDbWeight::get().reads(1025_u64))
713 .saturating_add(ParityDbWeight::get().writes(2_u64))
714 .saturating_add(ParityDbWeight::get().writes((2_u64).saturating_mul(p.into())))
715 }
716 /// Storage: `Domains::NextRuntimeId` (r:1 w:1)
717 /// Proof: `Domains::NextRuntimeId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
718 /// Storage: `Domains::RuntimeRegistry` (r:0 w:1)
719 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
720 fn register_domain_runtime() -> Weight {
721 // Proof Size summary in bytes:
722 // Measured: `0`
723 // Estimated: `1485`
724 // Minimum execution time: 34_365_019_000 picoseconds.
725 Weight::from_parts(34_417_998_000, 1485)
726 .saturating_add(ParityDbWeight::get().reads(1_u64))
727 .saturating_add(ParityDbWeight::get().writes(2_u64))
728 }
729 /// Storage: `Domains::RuntimeRegistry` (r:1 w:0)
730 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
731 /// Storage: `Domains::ScheduledRuntimeUpgrades` (r:0 w:1)
732 /// Proof: `Domains::ScheduledRuntimeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`)
733 fn upgrade_domain_runtime() -> Weight {
734 // Proof Size summary in bytes:
735 // Measured: `2481067`
736 // Estimated: `2484532`
737 // Minimum execution time: 37_943_257_000 picoseconds.
738 Weight::from_parts(38_175_433_000, 2484532)
739 .saturating_add(ParityDbWeight::get().reads(1_u64))
740 .saturating_add(ParityDbWeight::get().writes(1_u64))
741 }
742 /// Storage: `Domains::PermissionedActionAllowedBy` (r:1 w:0)
743 /// Proof: `Domains::PermissionedActionAllowedBy` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
744 /// Storage: `Domains::RuntimeRegistry` (r:1 w:1)
745 /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
746 /// Storage: `System::Account` (r:1 w:1)
747 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
748 /// Storage: `Domains::NextDomainId` (r:1 w:1)
749 /// Proof: `Domains::NextDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
750 /// Storage: `Domains::NextEVMChainId` (r:1 w:1)
751 /// Proof: `Domains::NextEVMChainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
752 /// Storage: `Transporter::DomainBalances` (r:1 w:1)
753 /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`)
754 /// Storage: `Balances::Holds` (r:1 w:1)
755 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
756 /// Storage: `System::Digest` (r:1 w:1)
757 /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
758 /// Storage: `Domains::DomainSudoCalls` (r:0 w:1)
759 /// Proof: `Domains::DomainSudoCalls` (`max_values`: None, `max_size`: None, mode: `Measured`)
760 /// Storage: `Domains::DomainRegistry` (r:0 w:1)
761 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
762 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
763 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
764 /// Storage: `Domains::DomainStakingSummary` (r:0 w:1)
765 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
766 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:0 w:1)
767 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
768 /// Storage: `Domains::BlockTree` (r:0 w:1)
769 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
770 /// Storage: `Messenger::DomainChainAllowlistUpdate` (r:0 w:1)
771 /// Proof: `Messenger::DomainChainAllowlistUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`)
772 fn instantiate_domain() -> Weight {
773 // Proof Size summary in bytes:
774 // Measured: `2481139`
775 // Estimated: `2484604`
776 // Minimum execution time: 9_071_076_000 picoseconds.
777 Weight::from_parts(9_096_678_000, 2484604)
778 .saturating_add(ParityDbWeight::get().reads(8_u64))
779 .saturating_add(ParityDbWeight::get().writes(14_u64))
780 }
781 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
782 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
783 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
784 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
785 /// Storage: `Domains::OperatorSigningKey` (r:1 w:1)
786 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
787 /// Storage: `Domains::DomainRegistry` (r:1 w:0)
788 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
789 /// Storage: `Domains::NextOperatorId` (r:1 w:1)
790 /// Proof: `Domains::NextOperatorId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
791 /// Storage: `System::Account` (r:2 w:2)
792 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
793 /// Storage: `Balances::Holds` (r:1 w:1)
794 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
795 /// Storage: `Domains::Deposits` (r:1 w:1)
796 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
797 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
798 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
799 /// Storage: `Domains::Operators` (r:0 w:1)
800 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
801 /// Storage: `Domains::LastEpochStakingDistribution` (r:0 w:1)
802 /// Proof: `Domains::LastEpochStakingDistribution` (`max_values`: None, `max_size`: None, mode: `Measured`)
803 /// Storage: `Domains::OperatorIdOwner` (r:0 w:1)
804 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
805 /// Storage: `Domains::OperatorEpochSharePrice` (r:0 w:1)
806 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
807 fn register_operator() -> Weight {
808 // Proof Size summary in bytes:
809 // Measured: `651`
810 // Estimated: `9015`
811 // Minimum execution time: 252_801_000 picoseconds.
812 Weight::from_parts(256_406_000, 9015)
813 .saturating_add(ParityDbWeight::get().reads(10_u64))
814 .saturating_add(ParityDbWeight::get().writes(12_u64))
815 }
816 /// Storage: `Domains::Operators` (r:1 w:1)
817 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
818 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
819 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
820 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
821 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
822 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
823 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
824 /// Storage: `System::Account` (r:2 w:2)
825 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
826 /// Storage: `Balances::Holds` (r:1 w:1)
827 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
828 /// Storage: `Domains::Deposits` (r:1 w:1)
829 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
830 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
831 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
832 fn nominate_operator() -> Weight {
833 // Proof Size summary in bytes:
834 // Measured: `1131`
835 // Estimated: `9015`
836 // Minimum execution time: 168_898_000 picoseconds.
837 Weight::from_parts(174_307_000, 9015)
838 .saturating_add(ParityDbWeight::get().reads(9_u64))
839 .saturating_add(ParityDbWeight::get().writes(6_u64))
840 }
841 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
842 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
843 /// Storage: `Domains::Operators` (r:1 w:1)
844 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
845 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
846 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
847 /// Storage: `Domains::DomainStakingSummary` (r:1 w:1)
848 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
849 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
850 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
851 fn deregister_operator() -> Weight {
852 // Proof Size summary in bytes:
853 // Measured: `977`
854 // Estimated: `4442`
855 // Minimum execution time: 54_905_000 picoseconds.
856 Weight::from_parts(56_948_000, 4442)
857 .saturating_add(ParityDbWeight::get().reads(5_u64))
858 .saturating_add(ParityDbWeight::get().writes(2_u64))
859 }
860 /// Storage: `Domains::Operators` (r:1 w:1)
861 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
862 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
863 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
864 /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1)
865 /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
866 /// Storage: `Domains::DomainStakingSummary` (r:1 w:0)
867 /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`)
868 /// Storage: `Domains::Deposits` (r:1 w:1)
869 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
870 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
871 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
872 /// Storage: `Domains::Withdrawals` (r:1 w:1)
873 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
874 /// Storage: `Domains::OperatorIdOwner` (r:1 w:0)
875 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
876 /// Storage: `System::Account` (r:2 w:2)
877 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
878 /// Storage: `Balances::Holds` (r:1 w:1)
879 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
880 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
881 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
882 fn withdraw_stake() -> Weight {
883 // Proof Size summary in bytes:
884 // Measured: `1674`
885 // Estimated: `9015`
886 // Minimum execution time: 152_234_000 picoseconds.
887 Weight::from_parts(156_823_000, 9015)
888 .saturating_add(ParityDbWeight::get().reads(12_u64))
889 .saturating_add(ParityDbWeight::get().writes(7_u64))
890 }
891 /// Storage: `Domains::Operators` (r:1 w:0)
892 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
893 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
894 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
895 /// Storage: `Domains::Withdrawals` (r:1 w:1)
896 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
897 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0)
898 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
899 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
900 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
901 /// Storage: `Balances::Holds` (r:1 w:1)
902 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
903 /// Storage: `System::Account` (r:1 w:1)
904 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
905 /// Storage: `Domains::Deposits` (r:1 w:1)
906 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
907 fn unlock_funds() -> Weight {
908 // Proof Size summary in bytes:
909 // Measured: `1290`
910 // Estimated: `9015`
911 // Minimum execution time: 144_271_000 picoseconds.
912 Weight::from_parts(147_196_000, 9015)
913 .saturating_add(ParityDbWeight::get().reads(8_u64))
914 .saturating_add(ParityDbWeight::get().writes(4_u64))
915 }
916 /// Storage: `Domains::Operators` (r:1 w:1)
917 /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`)
918 /// Storage: `Domains::LatestSubmittedER` (r:1 w:0)
919 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
920 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
921 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
922 /// Storage: `System::Account` (r:3 w:2)
923 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
924 /// Storage: `Domains::Deposits` (r:1 w:1)
925 /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`)
926 /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:1)
927 /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`)
928 /// Storage: `Balances::Holds` (r:1 w:1)
929 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`)
930 /// Storage: `Domains::Withdrawals` (r:1 w:0)
931 /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`)
932 /// Storage: `Domains::NominatorCount` (r:1 w:1)
933 /// Proof: `Domains::NominatorCount` (`max_values`: None, `max_size`: None, mode: `Measured`)
934 /// Storage: `Domains::OperatorIdOwner` (r:1 w:1)
935 /// Proof: `Domains::OperatorIdOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
936 /// Storage: `Domains::AccumulatedTreasuryFunds` (r:1 w:0)
937 /// Proof: `Domains::AccumulatedTreasuryFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
938 /// Storage: `Domains::OperatorSigningKey` (r:0 w:1)
939 /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
940 fn unlock_nominator() -> Weight {
941 // Proof Size summary in bytes:
942 // Measured: `1491`
943 // Estimated: `9015`
944 // Minimum execution time: 262_655_000 picoseconds.
945 Weight::from_parts(269_561_000, 9015)
946 .saturating_add(ParityDbWeight::get().reads(13_u64))
947 .saturating_add(ParityDbWeight::get().writes(9_u64))
948 }
949 /// Storage: `Domains::DomainRegistry` (r:1 w:1)
950 /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`)
951 fn update_domain_operator_allow_list() -> Weight {
952 // Proof Size summary in bytes:
953 // Measured: `438`
954 // Estimated: `3903`
955 // Minimum execution time: 32_711_000 picoseconds.
956 Weight::from_parts(34_742_000, 3903)
957 .saturating_add(ParityDbWeight::get().reads(1_u64))
958 .saturating_add(ParityDbWeight::get().writes(1_u64))
959 }
960 /// Storage: `System::Account` (r:2 w:2)
961 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
962 fn transfer_treasury_funds() -> Weight {
963 // Proof Size summary in bytes:
964 // Measured: `52`
965 // Estimated: `6196`
966 // Minimum execution time: 50_180_000 picoseconds.
967 Weight::from_parts(50_700_000, 6196)
968 .saturating_add(ParityDbWeight::get().reads(2_u64))
969 .saturating_add(ParityDbWeight::get().writes(2_u64))
970 }
971 /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1)
972 /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`)
973 /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1)
974 /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
975 /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0)
976 /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`)
977 /// Storage: `Domains::BlockTree` (r:1 w:1)
978 /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`)
979 /// Storage: `Domains::LatestSubmittedER` (r:1 w:1)
980 /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`)
981 /// Storage: `Domains::BlockTreeNodes` (r:0 w:1)
982 /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
983 fn submit_receipt() -> Weight {
984 // Proof Size summary in bytes:
985 // Measured: `655`
986 // Estimated: `4120`
987 // Minimum execution time: 59_509_000 picoseconds.
988 Weight::from_parts(61_214_000, 4120)
989 .saturating_add(ParityDbWeight::get().reads(5_u64))
990 .saturating_add(ParityDbWeight::get().writes(5_u64))
991 }
992}