pallet_authors/weights.rs
1
2//! Autogenerated weights for `pallet_authors`
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
5//! DATE: 2026-05-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`,
6//! HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
8//! HOSTNAME: `Naveens-MacBook-Air.local`, CPU: `<UNKNOWN>`
9//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
10
11// Executed Command:
12// frame-omni-bencher
13// v1
14// benchmark
15// pallet
16// --runtime
17// target/release/wbuild/frame-suite-runtime/frame_suite_runtime.wasm
18// --pallet
19// pallet_authors
20// --extrinsic
21// *
22// --template
23// pallets/.maintain/frame-weight-template.hbs
24// --output
25// pallets/authors/src/weights.rs
26
27#![cfg_attr(rustfmt, rustfmt_skip)]
28#![allow(unused_parens)]
29#![allow(unused_imports)]
30#![allow(missing_docs)]
31
32use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
33use core::marker::PhantomData;
34
35/// Weight functions needed for `pallet_authors`.
36pub trait WeightInfo {
37fn enlist() -> Weight;
38fn demit() -> Weight;
39fn refill() -> Weight;
40fn my_collateral() -> Weight;
41fn direct_fund() -> Weight;
42fn index_fund() -> Weight;
43fn pool_fund() -> Weight;
44fn release_direct_fund() -> Weight;
45fn release_index_fund() -> Weight;
46fn release_pool_fund() -> Weight;
47fn confirm() -> Weight;
48fn create_index() -> Weight;
49fn create_pool() -> Weight;
50fn transfer_pool() -> Weight;
51fn update_commission() -> Weight;
52fn update_slot_shares() -> Weight;
53fn update_entry_shares() -> Weight;
54fn force_probation_period() -> Weight;
55fn force_reduce_probation_by() -> Weight;
56fn force_increase_probation_by() -> Weight;
57fn force_rewards_buffer() -> Weight;
58fn force_penalties_buffer() -> Weight;
59fn force_max_elected() -> Weight;
60fn force_min_elected() -> Weight;
61fn force_enforce_max_elected() -> Weight;
62fn force_min_fund() -> Weight;
63fn force_max_exposure() -> Weight;
64fn force_min_collateral() -> Weight;
65fn check_direct_fund() -> Weight;
66fn check_index_fund() -> Weight;
67fn check_index_fund_towards() -> Weight;
68fn check_pool_fund() -> Weight;
69fn check_pool_fund_towards() -> Weight;
70fn shed_rewards() -> Weight;
71fn shed_penalties() -> Weight;
72fn on_initialize_rewards_penalties(r: u32, p: u32, ) -> Weight;
73}
74
75/// Weights for `pallet_authors` using the Substrate node and recommended hardware.
76pub struct SubstrateWeight<T>(PhantomData<T>);
77 impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
78 /// Storage: `Authors::MinCollateral` (r:1 w:0)
79 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
80 /// Storage: `Authors::AuthorsMap` (r:1 w:1)
81 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
82 /// Storage: `Xp::ReservedXpOf` (r:1 w:0)
83 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
84 /// Storage: `Xp::XpOf` (r:1 w:1)
85 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
86 /// Storage: `System::Account` (r:1 w:0)
87 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
88 /// Storage: `Commitment::DigestMap` (r:1 w:1)
89 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
90 /// Storage: `Commitment::CommitMap` (r:1 w:1)
91 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
92 /// Storage: `Commitment::IndexMap` (r:1 w:0)
93 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
94 /// Storage: `Commitment::PoolMap` (r:1 w:0)
95 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
96 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
97 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
98 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
99 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
100 /// Storage: `Authors::AuthorsDigest` (r:0 w:1)
101 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
102 fn enlist() -> Weight {
103 // Proof Size summary in bytes:
104 // Measured: `1691`
105 // Estimated: `21799`
106 // Minimum execution time: 84_000_000 picoseconds.
107 Weight::from_parts(91_000_000,
108 21799)
109 .saturating_add(T::DbWeight::get().reads(11_u64))
110 .saturating_add(T::DbWeight::get().writes(7_u64))
111 }
112 /// Storage: `Authors::AuthorsMap` (r:1 w:1)
113 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
114 /// Storage: `Authors::PenaltiesUntil` (r:1 w:0)
115 /// Proof: `Authors::PenaltiesUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
116 /// Storage: `Commitment::CommitMap` (r:1 w:1)
117 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
118 /// Storage: `Commitment::DigestMap` (r:1 w:1)
119 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
120 /// Storage: `Xp::XpOf` (r:1 w:1)
121 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
122 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
123 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
124 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
125 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
126 fn demit() -> Weight {
127 // Proof Size summary in bytes:
128 // Measured: `2248`
129 // Estimated: `5065`
130 // Minimum execution time: 78_000_000 picoseconds.
131 Weight::from_parts(82_000_000,
132 5065)
133 .saturating_add(T::DbWeight::get().reads(7_u64))
134 .saturating_add(T::DbWeight::get().writes(6_u64))
135 }
136 /// Storage: `Commitment::CommitMap` (r:1 w:1)
137 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
138 /// Storage: `Commitment::DigestMap` (r:1 w:1)
139 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
140 /// Storage: `Authors::MinCollateral` (r:1 w:0)
141 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
142 /// Storage: `Xp::ReservedXpOf` (r:1 w:0)
143 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
144 /// Storage: `Xp::XpOf` (r:1 w:1)
145 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
146 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
147 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
148 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
149 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
150 fn refill() -> Weight {
151 // Proof Size summary in bytes:
152 // Measured: `2138`
153 // Estimated: `5065`
154 // Minimum execution time: 93_000_000 picoseconds.
155 Weight::from_parts(97_000_000,
156 5065)
157 .saturating_add(T::DbWeight::get().reads(7_u64))
158 .saturating_add(T::DbWeight::get().writes(5_u64))
159 }
160 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
161 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
162 /// Storage: `Commitment::CommitMap` (r:1 w:0)
163 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
164 /// Storage: `Commitment::DigestMap` (r:1 w:0)
165 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
166 fn my_collateral() -> Weight {
167 // Proof Size summary in bytes:
168 // Measured: `768`
169 // Estimated: `5065`
170 // Minimum execution time: 31_000_000 picoseconds.
171 Weight::from_parts(33_000_000,
172 5065)
173 .saturating_add(T::DbWeight::get().reads(3_u64))
174 }
175 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
176 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
177 /// Storage: `Commitment::CommitMap` (r:2 w:1)
178 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
179 /// Storage: `Commitment::DigestMap` (r:2 w:1)
180 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
181 /// Storage: `Authors::MinCollateral` (r:1 w:0)
182 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
183 /// Storage: `Authors::MinFund` (r:1 w:0)
184 /// Proof: `Authors::MinFund` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
185 /// Storage: `Authors::MaxExposure` (r:1 w:0)
186 /// Proof: `Authors::MaxExposure` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
187 /// Storage: `Commitment::IndexMap` (r:1 w:0)
188 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
189 /// Storage: `Commitment::PoolMap` (r:1 w:0)
190 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
191 /// Storage: `Xp::ReservedXpOf` (r:1 w:0)
192 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
193 /// Storage: `Xp::XpOf` (r:1 w:1)
194 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
195 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
196 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
197 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
198 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
199 /// Storage: `Authors::AuthorFunders` (r:0 w:1)
200 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
201 fn direct_fund() -> Weight {
202 // Proof Size summary in bytes:
203 // Measured: `2205`
204 // Estimated: `21799`
205 // Minimum execution time: 129_000_000 picoseconds.
206 Weight::from_parts(133_000_000,
207 21799)
208 .saturating_add(T::DbWeight::get().reads(14_u64))
209 .saturating_add(T::DbWeight::get().writes(6_u64))
210 }
211 /// Storage: `Commitment::IndexMap` (r:1 w:1)
212 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
213 /// Storage: `Authors::AuthorsDigest` (r:2 w:0)
214 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
215 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
216 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
217 /// Storage: `Commitment::CommitMap` (r:2 w:1)
218 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
219 /// Storage: `Commitment::DigestMap` (r:4 w:2)
220 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
221 /// Storage: `Authors::MinCollateral` (r:1 w:0)
222 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
223 /// Storage: `Authors::MinFund` (r:1 w:0)
224 /// Proof: `Authors::MinFund` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
225 /// Storage: `Authors::MaxExposure` (r:1 w:0)
226 /// Proof: `Authors::MaxExposure` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
227 /// Storage: `Xp::ReservedXpOf` (r:1 w:0)
228 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
229 /// Storage: `Xp::XpOf` (r:1 w:1)
230 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
231 /// Storage: `Commitment::EntryMap` (r:2 w:2)
232 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
233 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
234 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
235 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
236 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
237 /// Storage: `Authors::AuthorFunders` (r:0 w:2)
238 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
239 fn index_fund() -> Weight {
240 // Proof Size summary in bytes:
241 // Measured: `3313`
242 // Estimated: `11806`
243 // Minimum execution time: 174_000_000 picoseconds.
244 Weight::from_parts(181_000_000,
245 11806)
246 .saturating_add(T::DbWeight::get().reads(19_u64))
247 .saturating_add(T::DbWeight::get().writes(11_u64))
248 }
249 /// Storage: `Commitment::PoolMap` (r:1 w:1)
250 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
251 /// Storage: `Authors::AuthorsDigest` (r:2 w:0)
252 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
253 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
254 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
255 /// Storage: `Commitment::CommitMap` (r:2 w:1)
256 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
257 /// Storage: `Commitment::DigestMap` (r:4 w:2)
258 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
259 /// Storage: `Authors::MinCollateral` (r:1 w:0)
260 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
261 /// Storage: `Authors::MinFund` (r:1 w:0)
262 /// Proof: `Authors::MinFund` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
263 /// Storage: `Authors::MaxExposure` (r:1 w:0)
264 /// Proof: `Authors::MaxExposure` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
265 /// Storage: `Commitment::IndexMap` (r:1 w:0)
266 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
267 /// Storage: `Xp::ReservedXpOf` (r:1 w:0)
268 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
269 /// Storage: `Xp::XpOf` (r:1 w:1)
270 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
271 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
272 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
273 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
274 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
275 /// Storage: `Authors::AuthorFunders` (r:0 w:2)
276 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
277 fn pool_fund() -> Weight {
278 // Proof Size summary in bytes:
279 // Measured: `3460`
280 // Estimated: `21799`
281 // Minimum execution time: 171_000_000 picoseconds.
282 Weight::from_parts(178_000_000,
283 21799)
284 .saturating_add(T::DbWeight::get().reads(18_u64))
285 .saturating_add(T::DbWeight::get().writes(9_u64))
286 }
287 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
288 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
289 /// Storage: `Commitment::CommitMap` (r:1 w:1)
290 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
291 /// Storage: `Commitment::DigestMap` (r:1 w:1)
292 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
293 /// Storage: `Xp::XpOf` (r:1 w:1)
294 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
295 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
296 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
297 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
298 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
299 /// Storage: `Authors::AuthorFunders` (r:0 w:1)
300 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
301 fn release_direct_fund() -> Weight {
302 // Proof Size summary in bytes:
303 // Measured: `2295`
304 // Estimated: `5065`
305 // Minimum execution time: 83_000_000 picoseconds.
306 Weight::from_parts(87_000_000,
307 5065)
308 .saturating_add(T::DbWeight::get().reads(6_u64))
309 .saturating_add(T::DbWeight::get().writes(6_u64))
310 }
311 /// Storage: `Commitment::IndexMap` (r:1 w:1)
312 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
313 /// Storage: `Authors::AuthorsDigest` (r:2 w:0)
314 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
315 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
316 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
317 /// Storage: `Commitment::CommitMap` (r:1 w:1)
318 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
319 /// Storage: `Commitment::DigestMap` (r:3 w:2)
320 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
321 /// Storage: `Commitment::EntryMap` (r:2 w:2)
322 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
323 /// Storage: `Xp::XpOf` (r:1 w:1)
324 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
325 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
326 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
327 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
328 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
329 /// Storage: `Authors::AuthorFunders` (r:0 w:2)
330 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
331 fn release_index_fund() -> Weight {
332 // Proof Size summary in bytes:
333 // Measured: `3576`
334 // Estimated: `11757`
335 // Minimum execution time: 147_000_000 picoseconds.
336 Weight::from_parts(152_000_000,
337 11757)
338 .saturating_add(T::DbWeight::get().reads(13_u64))
339 .saturating_add(T::DbWeight::get().writes(11_u64))
340 }
341 /// Storage: `Commitment::PoolMap` (r:1 w:1)
342 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
343 /// Storage: `Authors::AuthorsDigest` (r:2 w:0)
344 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
345 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
346 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
347 /// Storage: `Commitment::CommitMap` (r:1 w:1)
348 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
349 /// Storage: `Commitment::DigestMap` (r:3 w:2)
350 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
351 /// Storage: `Commitment::IndexMap` (r:1 w:0)
352 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
353 /// Storage: `Commitment::PoolManager` (r:1 w:0)
354 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
355 /// Storage: `Commitment::AssetToReap` (r:1 w:1)
356 /// Proof: `Commitment::AssetToReap` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
357 /// Storage: `Xp::XpOf` (r:1 w:1)
358 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
359 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
360 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
361 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
362 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
363 /// Storage: `Authors::AuthorFunders` (r:0 w:2)
364 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
365 fn release_pool_fund() -> Weight {
366 // Proof Size summary in bytes:
367 // Measured: `3601`
368 // Estimated: `21799`
369 // Minimum execution time: 170_000_000 picoseconds.
370 Weight::from_parts(175_000_000,
371 21799)
372 .saturating_add(T::DbWeight::get().reads(14_u64))
373 .saturating_add(T::DbWeight::get().writes(10_u64))
374 }
375 /// Storage: `Authors::AuthorsMap` (r:1 w:1)
376 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
377 /// Storage: `Authors::ProbationPeriod` (r:1 w:0)
378 /// Proof: `Authors::ProbationPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
379 fn confirm() -> Weight {
380 // Proof Size summary in bytes:
381 // Measured: `415`
382 // Estimated: `3592`
383 // Minimum execution time: 20_000_000 picoseconds.
384 Weight::from_parts(22_000_000,
385 3592)
386 .saturating_add(T::DbWeight::get().reads(2_u64))
387 .saturating_add(T::DbWeight::get().writes(1_u64))
388 }
389 /// Storage: `Commitment::CommitMap` (r:2 w:0)
390 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
391 /// Storage: `System::Account` (r:1 w:0)
392 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
393 /// Storage: `Commitment::IndexMap` (r:1 w:1)
394 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
395 fn create_index() -> Weight {
396 // Proof Size summary in bytes:
397 // Measured: `541`
398 // Estimated: `11757`
399 // Minimum execution time: 31_000_000 picoseconds.
400 Weight::from_parts(32_000_000,
401 11757)
402 .saturating_add(T::DbWeight::get().reads(4_u64))
403 .saturating_add(T::DbWeight::get().writes(1_u64))
404 }
405 /// Storage: `Commitment::IndexMap` (r:1 w:0)
406 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
407 /// Storage: `System::Account` (r:1 w:0)
408 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
409 /// Storage: `Commitment::PoolMap` (r:1 w:1)
410 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
411 /// Storage: `Commitment::PoolManager` (r:0 w:1)
412 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
413 fn create_pool() -> Weight {
414 // Proof Size summary in bytes:
415 // Measured: `370`
416 // Estimated: `21799`
417 // Minimum execution time: 35_000_000 picoseconds.
418 Weight::from_parts(37_000_000,
419 21799)
420 .saturating_add(T::DbWeight::get().reads(3_u64))
421 .saturating_add(T::DbWeight::get().writes(2_u64))
422 }
423 /// Storage: `Commitment::PoolMap` (r:1 w:0)
424 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
425 /// Storage: `Commitment::PoolManager` (r:1 w:1)
426 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
427 fn transfer_pool() -> Weight {
428 // Proof Size summary in bytes:
429 // Measured: `392`
430 // Estimated: `21799`
431 // Minimum execution time: 21_000_000 picoseconds.
432 Weight::from_parts(22_000_000,
433 21799)
434 .saturating_add(T::DbWeight::get().reads(2_u64))
435 .saturating_add(T::DbWeight::get().writes(1_u64))
436 }
437 /// Storage: `Commitment::IndexMap` (r:1 w:0)
438 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
439 /// Storage: `System::Account` (r:1 w:0)
440 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
441 /// Storage: `Commitment::PoolMap` (r:1 w:1)
442 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
443 /// Storage: `Commitment::PoolManager` (r:0 w:1)
444 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
445 fn update_commission() -> Weight {
446 // Proof Size summary in bytes:
447 // Measured: `522`
448 // Estimated: `21799`
449 // Minimum execution time: 36_000_000 picoseconds.
450 Weight::from_parts(38_000_000,
451 21799)
452 .saturating_add(T::DbWeight::get().reads(3_u64))
453 .saturating_add(T::DbWeight::get().writes(2_u64))
454 }
455 /// Storage: `Commitment::PoolMap` (r:1 w:1)
456 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
457 /// Storage: `Commitment::PoolManager` (r:1 w:0)
458 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
459 fn update_slot_shares() -> Weight {
460 // Proof Size summary in bytes:
461 // Measured: `468`
462 // Estimated: `21799`
463 // Minimum execution time: 34_000_000 picoseconds.
464 Weight::from_parts(35_000_000,
465 21799)
466 .saturating_add(T::DbWeight::get().reads(2_u64))
467 .saturating_add(T::DbWeight::get().writes(1_u64))
468 }
469 /// Storage: `Commitment::IndexMap` (r:2 w:1)
470 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
471 /// Storage: `System::Account` (r:1 w:0)
472 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
473 fn update_entry_shares() -> Weight {
474 // Proof Size summary in bytes:
475 // Measured: `370`
476 // Estimated: `22524`
477 // Minimum execution time: 30_000_000 picoseconds.
478 Weight::from_parts(32_000_000,
479 22524)
480 .saturating_add(T::DbWeight::get().reads(3_u64))
481 .saturating_add(T::DbWeight::get().writes(1_u64))
482 }
483 /// Storage: `Authors::ProbationPeriod` (r:0 w:1)
484 /// Proof: `Authors::ProbationPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
485 fn force_probation_period() -> Weight {
486 // Proof Size summary in bytes:
487 // Measured: `0`
488 // Estimated: `0`
489 // Minimum execution time: 4_000_000 picoseconds.
490 Weight::from_parts(5_000_000,
491 0)
492 .saturating_add(T::DbWeight::get().writes(1_u64))
493 }
494 /// Storage: `Authors::ReduceProbationBy` (r:0 w:1)
495 /// Proof: `Authors::ReduceProbationBy` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
496 fn force_reduce_probation_by() -> Weight {
497 // Proof Size summary in bytes:
498 // Measured: `0`
499 // Estimated: `0`
500 // Minimum execution time: 4_000_000 picoseconds.
501 Weight::from_parts(5_000_000,
502 0)
503 .saturating_add(T::DbWeight::get().writes(1_u64))
504 }
505 /// Storage: `Authors::IncreaseProbationBy` (r:0 w:1)
506 /// Proof: `Authors::IncreaseProbationBy` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
507 fn force_increase_probation_by() -> Weight {
508 // Proof Size summary in bytes:
509 // Measured: `0`
510 // Estimated: `0`
511 // Minimum execution time: 4_000_000 picoseconds.
512 Weight::from_parts(5_000_000,
513 0)
514 .saturating_add(T::DbWeight::get().writes(1_u64))
515 }
516 /// Storage: `Authors::RewardsBuffer` (r:0 w:1)
517 /// Proof: `Authors::RewardsBuffer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
518 fn force_rewards_buffer() -> Weight {
519 // Proof Size summary in bytes:
520 // Measured: `0`
521 // Estimated: `0`
522 // Minimum execution time: 4_000_000 picoseconds.
523 Weight::from_parts(5_000_000,
524 0)
525 .saturating_add(T::DbWeight::get().writes(1_u64))
526 }
527 /// Storage: `Authors::PenaltiesBuffer` (r:0 w:1)
528 /// Proof: `Authors::PenaltiesBuffer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
529 fn force_penalties_buffer() -> Weight {
530 // Proof Size summary in bytes:
531 // Measured: `0`
532 // Estimated: `0`
533 // Minimum execution time: 4_000_000 picoseconds.
534 Weight::from_parts(5_000_000,
535 0)
536 .saturating_add(T::DbWeight::get().writes(1_u64))
537 }
538 /// Storage: `Authors::MinElected` (r:1 w:0)
539 /// Proof: `Authors::MinElected` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
540 /// Storage: `Authors::MaxElected` (r:0 w:1)
541 /// Proof: `Authors::MaxElected` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
542 fn force_max_elected() -> Weight {
543 // Proof Size summary in bytes:
544 // Measured: `292`
545 // Estimated: `1489`
546 // Minimum execution time: 9_000_000 picoseconds.
547 Weight::from_parts(10_000_000,
548 1489)
549 .saturating_add(T::DbWeight::get().reads(1_u64))
550 .saturating_add(T::DbWeight::get().writes(1_u64))
551 }
552 /// Storage: `Authors::MaxElected` (r:1 w:0)
553 /// Proof: `Authors::MaxElected` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
554 /// Storage: `Authors::MinElected` (r:0 w:1)
555 /// Proof: `Authors::MinElected` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
556 fn force_min_elected() -> Weight {
557 // Proof Size summary in bytes:
558 // Measured: `290`
559 // Estimated: `1489`
560 // Minimum execution time: 9_000_000 picoseconds.
561 Weight::from_parts(10_000_000,
562 1489)
563 .saturating_add(T::DbWeight::get().reads(1_u64))
564 .saturating_add(T::DbWeight::get().writes(1_u64))
565 }
566 /// Storage: `Authors::ForceMaxElected` (r:0 w:1)
567 /// Proof: `Authors::ForceMaxElected` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
568 fn force_enforce_max_elected() -> Weight {
569 // Proof Size summary in bytes:
570 // Measured: `0`
571 // Estimated: `0`
572 // Minimum execution time: 4_000_000 picoseconds.
573 Weight::from_parts(5_000_000,
574 0)
575 .saturating_add(T::DbWeight::get().writes(1_u64))
576 }
577 /// Storage: `Authors::MaxExposure` (r:1 w:0)
578 /// Proof: `Authors::MaxExposure` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
579 /// Storage: `Authors::MinFund` (r:0 w:1)
580 /// Proof: `Authors::MinFund` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
581 fn force_min_fund() -> Weight {
582 // Proof Size summary in bytes:
583 // Measured: `305`
584 // Estimated: `1501`
585 // Minimum execution time: 9_000_000 picoseconds.
586 Weight::from_parts(11_000_000,
587 1501)
588 .saturating_add(T::DbWeight::get().reads(1_u64))
589 .saturating_add(T::DbWeight::get().writes(1_u64))
590 }
591 /// Storage: `Authors::MinFund` (r:1 w:0)
592 /// Proof: `Authors::MinFund` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
593 /// Storage: `Authors::MaxExposure` (r:0 w:1)
594 /// Proof: `Authors::MaxExposure` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
595 fn force_max_exposure() -> Weight {
596 // Proof Size summary in bytes:
597 // Measured: `279`
598 // Estimated: `1501`
599 // Minimum execution time: 8_000_000 picoseconds.
600 Weight::from_parts(10_000_000,
601 1501)
602 .saturating_add(T::DbWeight::get().reads(1_u64))
603 .saturating_add(T::DbWeight::get().writes(1_u64))
604 }
605 /// Storage: `Authors::MinCollateral` (r:0 w:1)
606 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
607 fn force_min_collateral() -> Weight {
608 // Proof Size summary in bytes:
609 // Measured: `0`
610 // Estimated: `0`
611 // Minimum execution time: 4_000_000 picoseconds.
612 Weight::from_parts(5_000_000,
613 0)
614 .saturating_add(T::DbWeight::get().writes(1_u64))
615 }
616 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
617 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
618 /// Storage: `Commitment::CommitMap` (r:1 w:0)
619 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
620 /// Storage: `Authors::AuthorsDigest` (r:1 w:0)
621 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
622 /// Storage: `Commitment::DigestMap` (r:1 w:0)
623 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
624 fn check_direct_fund() -> Weight {
625 // Proof Size summary in bytes:
626 // Measured: `1013`
627 // Estimated: `5065`
628 // Minimum execution time: 43_000_000 picoseconds.
629 Weight::from_parts(48_000_000,
630 5065)
631 .saturating_add(T::DbWeight::get().reads(4_u64))
632 }
633 /// Storage: `Commitment::CommitMap` (r:1 w:0)
634 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
635 /// Storage: `Commitment::IndexMap` (r:1 w:0)
636 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
637 /// Storage: `Commitment::DigestMap` (r:3 w:0)
638 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
639 /// Storage: `Commitment::EntryMap` (r:2 w:0)
640 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
641 fn check_index_fund() -> Weight {
642 // Proof Size summary in bytes:
643 // Measured: `1210`
644 // Estimated: `11757`
645 // Minimum execution time: 58_000_000 picoseconds.
646 Weight::from_parts(61_000_000,
647 11757)
648 .saturating_add(T::DbWeight::get().reads(7_u64))
649 }
650 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
651 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
652 /// Storage: `Commitment::CommitMap` (r:1 w:0)
653 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
654 /// Storage: `Commitment::IndexMap` (r:1 w:0)
655 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
656 /// Storage: `Commitment::EntryMap` (r:1 w:0)
657 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
658 /// Storage: `Commitment::DigestMap` (r:1 w:0)
659 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
660 fn check_index_fund_towards() -> Weight {
661 // Proof Size summary in bytes:
662 // Measured: `1466`
663 // Estimated: `11757`
664 // Minimum execution time: 48_000_000 picoseconds.
665 Weight::from_parts(50_000_000,
666 11757)
667 .saturating_add(T::DbWeight::get().reads(5_u64))
668 }
669 /// Storage: `Commitment::CommitMap` (r:1 w:0)
670 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
671 /// Storage: `Commitment::PoolMap` (r:1 w:0)
672 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
673 /// Storage: `Commitment::DigestMap` (r:3 w:0)
674 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
675 /// Storage: `Commitment::IndexMap` (r:1 w:0)
676 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
677 fn check_pool_fund() -> Weight {
678 // Proof Size summary in bytes:
679 // Measured: `1147`
680 // Estimated: `21799`
681 // Minimum execution time: 54_000_000 picoseconds.
682 Weight::from_parts(57_000_000,
683 21799)
684 .saturating_add(T::DbWeight::get().reads(6_u64))
685 }
686 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
687 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
688 /// Storage: `Commitment::CommitMap` (r:1 w:0)
689 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
690 /// Storage: `Commitment::PoolMap` (r:1 w:0)
691 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
692 /// Storage: `Commitment::DigestMap` (r:2 w:0)
693 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
694 fn check_pool_fund_towards() -> Weight {
695 // Proof Size summary in bytes:
696 // Measured: `1513`
697 // Estimated: `21799`
698 // Minimum execution time: 58_000_000 picoseconds.
699 Weight::from_parts(61_000_000,
700 21799)
701 .saturating_add(T::DbWeight::get().reads(5_u64))
702 }
703 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
704 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
705 /// Storage: `Authors::RewardsUntil` (r:1 w:0)
706 /// Proof: `Authors::RewardsUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
707 /// Storage: `Authors::AuthorRewards` (r:2 w:0)
708 /// Proof: `Authors::AuthorRewards` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
709 fn shed_rewards() -> Weight {
710 // Proof Size summary in bytes:
711 // Measured: `597`
712 // Estimated: `6108`
713 // Minimum execution time: 28_000_000 picoseconds.
714 Weight::from_parts(30_000_000,
715 6108)
716 .saturating_add(T::DbWeight::get().reads(4_u64))
717 }
718 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
719 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
720 /// Storage: `Authors::PenaltiesUntil` (r:1 w:0)
721 /// Proof: `Authors::PenaltiesUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
722 /// Storage: `Authors::AuthorPenalties` (r:4 w:0)
723 /// Proof: `Authors::AuthorPenalties` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
724 fn shed_penalties() -> Weight {
725 // Proof Size summary in bytes:
726 // Measured: `600`
727 // Estimated: `11178`
728 // Minimum execution time: 36_000_000 picoseconds.
729 Weight::from_parts(38_000_000,
730 11178)
731 .saturating_add(T::DbWeight::get().reads(6_u64))
732 }
733 /// Storage: `Authors::AuthorRewards` (r:101 w:100)
734 /// Proof: `Authors::AuthorRewards` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
735 /// Storage: `Authors::AuthorsMap` (r:200 w:0)
736 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
737 /// Storage: `Commitment::DigestMap` (r:400 w:400)
738 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
739 /// Storage: `Commitment::AssetToIssue` (r:1 w:1)
740 /// Proof: `Commitment::AssetToIssue` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
741 /// Storage: `Commitment::ReasonValue` (r:2 w:2)
742 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
743 /// Storage: `Authors::AuthorPenalties` (r:101 w:100)
744 /// Proof: `Authors::AuthorPenalties` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
745 /// Storage: `Commitment::AssetToReap` (r:1 w:1)
746 /// Proof: `Commitment::AssetToReap` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
747 /// The range of component `r` is `[1, 100]`.
748 /// The range of component `p` is `[1, 100]`.
749 fn on_initialize_rewards_penalties(r: u32, p: u32, ) -> Weight {
750 // Proof Size summary in bytes:
751 // Measured: `819 + p * (378 ±0) + r * (391 ±0)`
752 // Estimated: `6008 + p * (5408 ±0) + r * (5408 ±0)`
753 // Minimum execution time: 5_050_000_000 picoseconds.
754 Weight::from_parts(318_103_730,
755 6008)
756 // Standard Error: 165_864
757 .saturating_add(Weight::from_parts(49_638_070,
758 0).saturating_mul(r.into()))
759 // Standard Error: 165_864
760 .saturating_add(Weight::from_parts(48_380_490,
761 0).saturating_mul(p.into()))
762 .saturating_add(T::DbWeight::get().reads(6_u64))
763 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(r.into())))
764 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(p.into())))
765 .saturating_add(T::DbWeight::get().writes(4_u64))
766 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into())))
767 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into())))
768 .saturating_add(Weight::from_parts(0, 5408).saturating_mul(p.into()))
769 .saturating_add(Weight::from_parts(0, 5408).saturating_mul(r.into()))
770 }
771 }
772
773 // For backwards compatibility and tests.
774 impl WeightInfo for () {
775 /// Storage: `Authors::MinCollateral` (r:1 w:0)
776 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
777 /// Storage: `Authors::AuthorsMap` (r:1 w:1)
778 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
779 /// Storage: `Xp::ReservedXpOf` (r:1 w:0)
780 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
781 /// Storage: `Xp::XpOf` (r:1 w:1)
782 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
783 /// Storage: `System::Account` (r:1 w:0)
784 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
785 /// Storage: `Commitment::DigestMap` (r:1 w:1)
786 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
787 /// Storage: `Commitment::CommitMap` (r:1 w:1)
788 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
789 /// Storage: `Commitment::IndexMap` (r:1 w:0)
790 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
791 /// Storage: `Commitment::PoolMap` (r:1 w:0)
792 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
793 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
794 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
795 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
796 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
797 /// Storage: `Authors::AuthorsDigest` (r:0 w:1)
798 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
799 fn enlist() -> Weight {
800 // Proof Size summary in bytes:
801 // Measured: `1691`
802 // Estimated: `21799`
803 // Minimum execution time: 84_000_000 picoseconds.
804 Weight::from_parts(91_000_000,
805 21799)
806 .saturating_add(RocksDbWeight::get().reads(11_u64))
807 .saturating_add(RocksDbWeight::get().writes(7_u64))
808 }
809 /// Storage: `Authors::AuthorsMap` (r:1 w:1)
810 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
811 /// Storage: `Authors::PenaltiesUntil` (r:1 w:0)
812 /// Proof: `Authors::PenaltiesUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
813 /// Storage: `Commitment::CommitMap` (r:1 w:1)
814 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
815 /// Storage: `Commitment::DigestMap` (r:1 w:1)
816 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
817 /// Storage: `Xp::XpOf` (r:1 w:1)
818 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
819 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
820 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
821 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
822 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
823 fn demit() -> Weight {
824 // Proof Size summary in bytes:
825 // Measured: `2248`
826 // Estimated: `5065`
827 // Minimum execution time: 78_000_000 picoseconds.
828 Weight::from_parts(82_000_000,
829 5065)
830 .saturating_add(RocksDbWeight::get().reads(7_u64))
831 .saturating_add(RocksDbWeight::get().writes(6_u64))
832 }
833 /// Storage: `Commitment::CommitMap` (r:1 w:1)
834 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
835 /// Storage: `Commitment::DigestMap` (r:1 w:1)
836 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
837 /// Storage: `Authors::MinCollateral` (r:1 w:0)
838 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
839 /// Storage: `Xp::ReservedXpOf` (r:1 w:0)
840 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
841 /// Storage: `Xp::XpOf` (r:1 w:1)
842 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
843 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
844 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
845 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
846 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
847 fn refill() -> Weight {
848 // Proof Size summary in bytes:
849 // Measured: `2138`
850 // Estimated: `5065`
851 // Minimum execution time: 93_000_000 picoseconds.
852 Weight::from_parts(97_000_000,
853 5065)
854 .saturating_add(RocksDbWeight::get().reads(7_u64))
855 .saturating_add(RocksDbWeight::get().writes(5_u64))
856 }
857 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
858 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
859 /// Storage: `Commitment::CommitMap` (r:1 w:0)
860 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
861 /// Storage: `Commitment::DigestMap` (r:1 w:0)
862 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
863 fn my_collateral() -> Weight {
864 // Proof Size summary in bytes:
865 // Measured: `768`
866 // Estimated: `5065`
867 // Minimum execution time: 31_000_000 picoseconds.
868 Weight::from_parts(33_000_000,
869 5065)
870 .saturating_add(RocksDbWeight::get().reads(3_u64))
871 }
872 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
873 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
874 /// Storage: `Commitment::CommitMap` (r:2 w:1)
875 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
876 /// Storage: `Commitment::DigestMap` (r:2 w:1)
877 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
878 /// Storage: `Authors::MinCollateral` (r:1 w:0)
879 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
880 /// Storage: `Authors::MinFund` (r:1 w:0)
881 /// Proof: `Authors::MinFund` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
882 /// Storage: `Authors::MaxExposure` (r:1 w:0)
883 /// Proof: `Authors::MaxExposure` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
884 /// Storage: `Commitment::IndexMap` (r:1 w:0)
885 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
886 /// Storage: `Commitment::PoolMap` (r:1 w:0)
887 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
888 /// Storage: `Xp::ReservedXpOf` (r:1 w:0)
889 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
890 /// Storage: `Xp::XpOf` (r:1 w:1)
891 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
892 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
893 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
894 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
895 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
896 /// Storage: `Authors::AuthorFunders` (r:0 w:1)
897 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
898 fn direct_fund() -> Weight {
899 // Proof Size summary in bytes:
900 // Measured: `2205`
901 // Estimated: `21799`
902 // Minimum execution time: 129_000_000 picoseconds.
903 Weight::from_parts(133_000_000,
904 21799)
905 .saturating_add(RocksDbWeight::get().reads(14_u64))
906 .saturating_add(RocksDbWeight::get().writes(6_u64))
907 }
908 /// Storage: `Commitment::IndexMap` (r:1 w:1)
909 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
910 /// Storage: `Authors::AuthorsDigest` (r:2 w:0)
911 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
912 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
913 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
914 /// Storage: `Commitment::CommitMap` (r:2 w:1)
915 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
916 /// Storage: `Commitment::DigestMap` (r:4 w:2)
917 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
918 /// Storage: `Authors::MinCollateral` (r:1 w:0)
919 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
920 /// Storage: `Authors::MinFund` (r:1 w:0)
921 /// Proof: `Authors::MinFund` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
922 /// Storage: `Authors::MaxExposure` (r:1 w:0)
923 /// Proof: `Authors::MaxExposure` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
924 /// Storage: `Xp::ReservedXpOf` (r:1 w:0)
925 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
926 /// Storage: `Xp::XpOf` (r:1 w:1)
927 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
928 /// Storage: `Commitment::EntryMap` (r:2 w:2)
929 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
930 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
931 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
932 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
933 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
934 /// Storage: `Authors::AuthorFunders` (r:0 w:2)
935 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
936 fn index_fund() -> Weight {
937 // Proof Size summary in bytes:
938 // Measured: `3313`
939 // Estimated: `11806`
940 // Minimum execution time: 174_000_000 picoseconds.
941 Weight::from_parts(181_000_000,
942 11806)
943 .saturating_add(RocksDbWeight::get().reads(19_u64))
944 .saturating_add(RocksDbWeight::get().writes(11_u64))
945 }
946 /// Storage: `Commitment::PoolMap` (r:1 w:1)
947 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
948 /// Storage: `Authors::AuthorsDigest` (r:2 w:0)
949 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
950 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
951 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
952 /// Storage: `Commitment::CommitMap` (r:2 w:1)
953 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
954 /// Storage: `Commitment::DigestMap` (r:4 w:2)
955 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
956 /// Storage: `Authors::MinCollateral` (r:1 w:0)
957 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
958 /// Storage: `Authors::MinFund` (r:1 w:0)
959 /// Proof: `Authors::MinFund` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
960 /// Storage: `Authors::MaxExposure` (r:1 w:0)
961 /// Proof: `Authors::MaxExposure` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
962 /// Storage: `Commitment::IndexMap` (r:1 w:0)
963 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
964 /// Storage: `Xp::ReservedXpOf` (r:1 w:0)
965 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
966 /// Storage: `Xp::XpOf` (r:1 w:1)
967 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
968 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
969 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
970 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
971 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
972 /// Storage: `Authors::AuthorFunders` (r:0 w:2)
973 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
974 fn pool_fund() -> Weight {
975 // Proof Size summary in bytes:
976 // Measured: `3460`
977 // Estimated: `21799`
978 // Minimum execution time: 171_000_000 picoseconds.
979 Weight::from_parts(178_000_000,
980 21799)
981 .saturating_add(RocksDbWeight::get().reads(18_u64))
982 .saturating_add(RocksDbWeight::get().writes(9_u64))
983 }
984 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
985 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
986 /// Storage: `Commitment::CommitMap` (r:1 w:1)
987 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
988 /// Storage: `Commitment::DigestMap` (r:1 w:1)
989 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
990 /// Storage: `Xp::XpOf` (r:1 w:1)
991 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
992 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
993 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
994 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
995 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
996 /// Storage: `Authors::AuthorFunders` (r:0 w:1)
997 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
998 fn release_direct_fund() -> Weight {
999 // Proof Size summary in bytes:
1000 // Measured: `2295`
1001 // Estimated: `5065`
1002 // Minimum execution time: 83_000_000 picoseconds.
1003 Weight::from_parts(87_000_000,
1004 5065)
1005 .saturating_add(RocksDbWeight::get().reads(6_u64))
1006 .saturating_add(RocksDbWeight::get().writes(6_u64))
1007 }
1008 /// Storage: `Commitment::IndexMap` (r:1 w:1)
1009 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
1010 /// Storage: `Authors::AuthorsDigest` (r:2 w:0)
1011 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
1012 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
1013 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
1014 /// Storage: `Commitment::CommitMap` (r:1 w:1)
1015 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
1016 /// Storage: `Commitment::DigestMap` (r:3 w:2)
1017 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
1018 /// Storage: `Commitment::EntryMap` (r:2 w:2)
1019 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
1020 /// Storage: `Xp::XpOf` (r:1 w:1)
1021 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
1022 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
1023 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
1024 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
1025 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
1026 /// Storage: `Authors::AuthorFunders` (r:0 w:2)
1027 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
1028 fn release_index_fund() -> Weight {
1029 // Proof Size summary in bytes:
1030 // Measured: `3576`
1031 // Estimated: `11757`
1032 // Minimum execution time: 147_000_000 picoseconds.
1033 Weight::from_parts(152_000_000,
1034 11757)
1035 .saturating_add(RocksDbWeight::get().reads(13_u64))
1036 .saturating_add(RocksDbWeight::get().writes(11_u64))
1037 }
1038 /// Storage: `Commitment::PoolMap` (r:1 w:1)
1039 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
1040 /// Storage: `Authors::AuthorsDigest` (r:2 w:0)
1041 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
1042 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
1043 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
1044 /// Storage: `Commitment::CommitMap` (r:1 w:1)
1045 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
1046 /// Storage: `Commitment::DigestMap` (r:3 w:2)
1047 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
1048 /// Storage: `Commitment::IndexMap` (r:1 w:0)
1049 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
1050 /// Storage: `Commitment::PoolManager` (r:1 w:0)
1051 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
1052 /// Storage: `Commitment::AssetToReap` (r:1 w:1)
1053 /// Proof: `Commitment::AssetToReap` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1054 /// Storage: `Xp::XpOf` (r:1 w:1)
1055 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
1056 /// Storage: `Commitment::ReasonValue` (r:1 w:1)
1057 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
1058 /// Storage: `Xp::LockedXpOf` (r:1 w:1)
1059 /// Proof: `Xp::LockedXpOf` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
1060 /// Storage: `Authors::AuthorFunders` (r:0 w:2)
1061 /// Proof: `Authors::AuthorFunders` (`max_values`: None, `max_size`: Some(161), added: 2636, mode: `MaxEncodedLen`)
1062 fn release_pool_fund() -> Weight {
1063 // Proof Size summary in bytes:
1064 // Measured: `3601`
1065 // Estimated: `21799`
1066 // Minimum execution time: 170_000_000 picoseconds.
1067 Weight::from_parts(175_000_000,
1068 21799)
1069 .saturating_add(RocksDbWeight::get().reads(14_u64))
1070 .saturating_add(RocksDbWeight::get().writes(10_u64))
1071 }
1072 /// Storage: `Authors::AuthorsMap` (r:1 w:1)
1073 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
1074 /// Storage: `Authors::ProbationPeriod` (r:1 w:0)
1075 /// Proof: `Authors::ProbationPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1076 fn confirm() -> Weight {
1077 // Proof Size summary in bytes:
1078 // Measured: `415`
1079 // Estimated: `3592`
1080 // Minimum execution time: 20_000_000 picoseconds.
1081 Weight::from_parts(22_000_000,
1082 3592)
1083 .saturating_add(RocksDbWeight::get().reads(2_u64))
1084 .saturating_add(RocksDbWeight::get().writes(1_u64))
1085 }
1086 /// Storage: `Commitment::CommitMap` (r:2 w:0)
1087 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
1088 /// Storage: `System::Account` (r:1 w:0)
1089 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1090 /// Storage: `Commitment::IndexMap` (r:1 w:1)
1091 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
1092 fn create_index() -> Weight {
1093 // Proof Size summary in bytes:
1094 // Measured: `541`
1095 // Estimated: `11757`
1096 // Minimum execution time: 31_000_000 picoseconds.
1097 Weight::from_parts(32_000_000,
1098 11757)
1099 .saturating_add(RocksDbWeight::get().reads(4_u64))
1100 .saturating_add(RocksDbWeight::get().writes(1_u64))
1101 }
1102 /// Storage: `Commitment::IndexMap` (r:1 w:0)
1103 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
1104 /// Storage: `System::Account` (r:1 w:0)
1105 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1106 /// Storage: `Commitment::PoolMap` (r:1 w:1)
1107 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
1108 /// Storage: `Commitment::PoolManager` (r:0 w:1)
1109 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
1110 fn create_pool() -> Weight {
1111 // Proof Size summary in bytes:
1112 // Measured: `370`
1113 // Estimated: `21799`
1114 // Minimum execution time: 35_000_000 picoseconds.
1115 Weight::from_parts(37_000_000,
1116 21799)
1117 .saturating_add(RocksDbWeight::get().reads(3_u64))
1118 .saturating_add(RocksDbWeight::get().writes(2_u64))
1119 }
1120 /// Storage: `Commitment::PoolMap` (r:1 w:0)
1121 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
1122 /// Storage: `Commitment::PoolManager` (r:1 w:1)
1123 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
1124 fn transfer_pool() -> Weight {
1125 // Proof Size summary in bytes:
1126 // Measured: `392`
1127 // Estimated: `21799`
1128 // Minimum execution time: 21_000_000 picoseconds.
1129 Weight::from_parts(22_000_000,
1130 21799)
1131 .saturating_add(RocksDbWeight::get().reads(2_u64))
1132 .saturating_add(RocksDbWeight::get().writes(1_u64))
1133 }
1134 /// Storage: `Commitment::IndexMap` (r:1 w:0)
1135 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
1136 /// Storage: `System::Account` (r:1 w:0)
1137 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1138 /// Storage: `Commitment::PoolMap` (r:1 w:1)
1139 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
1140 /// Storage: `Commitment::PoolManager` (r:0 w:1)
1141 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
1142 fn update_commission() -> Weight {
1143 // Proof Size summary in bytes:
1144 // Measured: `522`
1145 // Estimated: `21799`
1146 // Minimum execution time: 36_000_000 picoseconds.
1147 Weight::from_parts(38_000_000,
1148 21799)
1149 .saturating_add(RocksDbWeight::get().reads(3_u64))
1150 .saturating_add(RocksDbWeight::get().writes(2_u64))
1151 }
1152 /// Storage: `Commitment::PoolMap` (r:1 w:1)
1153 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
1154 /// Storage: `Commitment::PoolManager` (r:1 w:0)
1155 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
1156 fn update_slot_shares() -> Weight {
1157 // Proof Size summary in bytes:
1158 // Measured: `468`
1159 // Estimated: `21799`
1160 // Minimum execution time: 34_000_000 picoseconds.
1161 Weight::from_parts(35_000_000,
1162 21799)
1163 .saturating_add(RocksDbWeight::get().reads(2_u64))
1164 .saturating_add(RocksDbWeight::get().writes(1_u64))
1165 }
1166 /// Storage: `Commitment::IndexMap` (r:2 w:1)
1167 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
1168 /// Storage: `System::Account` (r:1 w:0)
1169 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1170 fn update_entry_shares() -> Weight {
1171 // Proof Size summary in bytes:
1172 // Measured: `370`
1173 // Estimated: `22524`
1174 // Minimum execution time: 30_000_000 picoseconds.
1175 Weight::from_parts(32_000_000,
1176 22524)
1177 .saturating_add(RocksDbWeight::get().reads(3_u64))
1178 .saturating_add(RocksDbWeight::get().writes(1_u64))
1179 }
1180 /// Storage: `Authors::ProbationPeriod` (r:0 w:1)
1181 /// Proof: `Authors::ProbationPeriod` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1182 fn force_probation_period() -> Weight {
1183 // Proof Size summary in bytes:
1184 // Measured: `0`
1185 // Estimated: `0`
1186 // Minimum execution time: 4_000_000 picoseconds.
1187 Weight::from_parts(5_000_000,
1188 0)
1189 .saturating_add(RocksDbWeight::get().writes(1_u64))
1190 }
1191 /// Storage: `Authors::ReduceProbationBy` (r:0 w:1)
1192 /// Proof: `Authors::ReduceProbationBy` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1193 fn force_reduce_probation_by() -> Weight {
1194 // Proof Size summary in bytes:
1195 // Measured: `0`
1196 // Estimated: `0`
1197 // Minimum execution time: 4_000_000 picoseconds.
1198 Weight::from_parts(5_000_000,
1199 0)
1200 .saturating_add(RocksDbWeight::get().writes(1_u64))
1201 }
1202 /// Storage: `Authors::IncreaseProbationBy` (r:0 w:1)
1203 /// Proof: `Authors::IncreaseProbationBy` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1204 fn force_increase_probation_by() -> Weight {
1205 // Proof Size summary in bytes:
1206 // Measured: `0`
1207 // Estimated: `0`
1208 // Minimum execution time: 4_000_000 picoseconds.
1209 Weight::from_parts(5_000_000,
1210 0)
1211 .saturating_add(RocksDbWeight::get().writes(1_u64))
1212 }
1213 /// Storage: `Authors::RewardsBuffer` (r:0 w:1)
1214 /// Proof: `Authors::RewardsBuffer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1215 fn force_rewards_buffer() -> Weight {
1216 // Proof Size summary in bytes:
1217 // Measured: `0`
1218 // Estimated: `0`
1219 // Minimum execution time: 4_000_000 picoseconds.
1220 Weight::from_parts(5_000_000,
1221 0)
1222 .saturating_add(RocksDbWeight::get().writes(1_u64))
1223 }
1224 /// Storage: `Authors::PenaltiesBuffer` (r:0 w:1)
1225 /// Proof: `Authors::PenaltiesBuffer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1226 fn force_penalties_buffer() -> Weight {
1227 // Proof Size summary in bytes:
1228 // Measured: `0`
1229 // Estimated: `0`
1230 // Minimum execution time: 4_000_000 picoseconds.
1231 Weight::from_parts(5_000_000,
1232 0)
1233 .saturating_add(RocksDbWeight::get().writes(1_u64))
1234 }
1235 /// Storage: `Authors::MinElected` (r:1 w:0)
1236 /// Proof: `Authors::MinElected` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1237 /// Storage: `Authors::MaxElected` (r:0 w:1)
1238 /// Proof: `Authors::MaxElected` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1239 fn force_max_elected() -> Weight {
1240 // Proof Size summary in bytes:
1241 // Measured: `292`
1242 // Estimated: `1489`
1243 // Minimum execution time: 9_000_000 picoseconds.
1244 Weight::from_parts(10_000_000,
1245 1489)
1246 .saturating_add(RocksDbWeight::get().reads(1_u64))
1247 .saturating_add(RocksDbWeight::get().writes(1_u64))
1248 }
1249 /// Storage: `Authors::MaxElected` (r:1 w:0)
1250 /// Proof: `Authors::MaxElected` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1251 /// Storage: `Authors::MinElected` (r:0 w:1)
1252 /// Proof: `Authors::MinElected` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1253 fn force_min_elected() -> Weight {
1254 // Proof Size summary in bytes:
1255 // Measured: `290`
1256 // Estimated: `1489`
1257 // Minimum execution time: 9_000_000 picoseconds.
1258 Weight::from_parts(10_000_000,
1259 1489)
1260 .saturating_add(RocksDbWeight::get().reads(1_u64))
1261 .saturating_add(RocksDbWeight::get().writes(1_u64))
1262 }
1263 /// Storage: `Authors::ForceMaxElected` (r:0 w:1)
1264 /// Proof: `Authors::ForceMaxElected` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1265 fn force_enforce_max_elected() -> Weight {
1266 // Proof Size summary in bytes:
1267 // Measured: `0`
1268 // Estimated: `0`
1269 // Minimum execution time: 4_000_000 picoseconds.
1270 Weight::from_parts(5_000_000,
1271 0)
1272 .saturating_add(RocksDbWeight::get().writes(1_u64))
1273 }
1274 /// Storage: `Authors::MaxExposure` (r:1 w:0)
1275 /// Proof: `Authors::MaxExposure` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1276 /// Storage: `Authors::MinFund` (r:0 w:1)
1277 /// Proof: `Authors::MinFund` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1278 fn force_min_fund() -> Weight {
1279 // Proof Size summary in bytes:
1280 // Measured: `305`
1281 // Estimated: `1501`
1282 // Minimum execution time: 9_000_000 picoseconds.
1283 Weight::from_parts(11_000_000,
1284 1501)
1285 .saturating_add(RocksDbWeight::get().reads(1_u64))
1286 .saturating_add(RocksDbWeight::get().writes(1_u64))
1287 }
1288 /// Storage: `Authors::MinFund` (r:1 w:0)
1289 /// Proof: `Authors::MinFund` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1290 /// Storage: `Authors::MaxExposure` (r:0 w:1)
1291 /// Proof: `Authors::MaxExposure` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1292 fn force_max_exposure() -> Weight {
1293 // Proof Size summary in bytes:
1294 // Measured: `279`
1295 // Estimated: `1501`
1296 // Minimum execution time: 8_000_000 picoseconds.
1297 Weight::from_parts(10_000_000,
1298 1501)
1299 .saturating_add(RocksDbWeight::get().reads(1_u64))
1300 .saturating_add(RocksDbWeight::get().writes(1_u64))
1301 }
1302 /// Storage: `Authors::MinCollateral` (r:0 w:1)
1303 /// Proof: `Authors::MinCollateral` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1304 fn force_min_collateral() -> Weight {
1305 // Proof Size summary in bytes:
1306 // Measured: `0`
1307 // Estimated: `0`
1308 // Minimum execution time: 4_000_000 picoseconds.
1309 Weight::from_parts(5_000_000,
1310 0)
1311 .saturating_add(RocksDbWeight::get().writes(1_u64))
1312 }
1313 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
1314 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
1315 /// Storage: `Commitment::CommitMap` (r:1 w:0)
1316 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
1317 /// Storage: `Authors::AuthorsDigest` (r:1 w:0)
1318 /// Proof: `Authors::AuthorsDigest` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
1319 /// Storage: `Commitment::DigestMap` (r:1 w:0)
1320 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
1321 fn check_direct_fund() -> Weight {
1322 // Proof Size summary in bytes:
1323 // Measured: `1013`
1324 // Estimated: `5065`
1325 // Minimum execution time: 43_000_000 picoseconds.
1326 Weight::from_parts(48_000_000,
1327 5065)
1328 .saturating_add(RocksDbWeight::get().reads(4_u64))
1329 }
1330 /// Storage: `Commitment::CommitMap` (r:1 w:0)
1331 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
1332 /// Storage: `Commitment::IndexMap` (r:1 w:0)
1333 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
1334 /// Storage: `Commitment::DigestMap` (r:3 w:0)
1335 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
1336 /// Storage: `Commitment::EntryMap` (r:2 w:0)
1337 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
1338 fn check_index_fund() -> Weight {
1339 // Proof Size summary in bytes:
1340 // Measured: `1210`
1341 // Estimated: `11757`
1342 // Minimum execution time: 58_000_000 picoseconds.
1343 Weight::from_parts(61_000_000,
1344 11757)
1345 .saturating_add(RocksDbWeight::get().reads(7_u64))
1346 }
1347 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
1348 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
1349 /// Storage: `Commitment::CommitMap` (r:1 w:0)
1350 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
1351 /// Storage: `Commitment::IndexMap` (r:1 w:0)
1352 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
1353 /// Storage: `Commitment::EntryMap` (r:1 w:0)
1354 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
1355 /// Storage: `Commitment::DigestMap` (r:1 w:0)
1356 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
1357 fn check_index_fund_towards() -> Weight {
1358 // Proof Size summary in bytes:
1359 // Measured: `1466`
1360 // Estimated: `11757`
1361 // Minimum execution time: 48_000_000 picoseconds.
1362 Weight::from_parts(50_000_000,
1363 11757)
1364 .saturating_add(RocksDbWeight::get().reads(5_u64))
1365 }
1366 /// Storage: `Commitment::CommitMap` (r:1 w:0)
1367 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
1368 /// Storage: `Commitment::PoolMap` (r:1 w:0)
1369 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
1370 /// Storage: `Commitment::DigestMap` (r:3 w:0)
1371 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
1372 /// Storage: `Commitment::IndexMap` (r:1 w:0)
1373 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
1374 fn check_pool_fund() -> Weight {
1375 // Proof Size summary in bytes:
1376 // Measured: `1147`
1377 // Estimated: `21799`
1378 // Minimum execution time: 54_000_000 picoseconds.
1379 Weight::from_parts(57_000_000,
1380 21799)
1381 .saturating_add(RocksDbWeight::get().reads(6_u64))
1382 }
1383 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
1384 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
1385 /// Storage: `Commitment::CommitMap` (r:1 w:0)
1386 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
1387 /// Storage: `Commitment::PoolMap` (r:1 w:0)
1388 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
1389 /// Storage: `Commitment::DigestMap` (r:2 w:0)
1390 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
1391 fn check_pool_fund_towards() -> Weight {
1392 // Proof Size summary in bytes:
1393 // Measured: `1513`
1394 // Estimated: `21799`
1395 // Minimum execution time: 58_000_000 picoseconds.
1396 Weight::from_parts(61_000_000,
1397 21799)
1398 .saturating_add(RocksDbWeight::get().reads(5_u64))
1399 }
1400 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
1401 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
1402 /// Storage: `Authors::RewardsUntil` (r:1 w:0)
1403 /// Proof: `Authors::RewardsUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1404 /// Storage: `Authors::AuthorRewards` (r:2 w:0)
1405 /// Proof: `Authors::AuthorRewards` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
1406 fn shed_rewards() -> Weight {
1407 // Proof Size summary in bytes:
1408 // Measured: `597`
1409 // Estimated: `6108`
1410 // Minimum execution time: 28_000_000 picoseconds.
1411 Weight::from_parts(30_000_000,
1412 6108)
1413 .saturating_add(RocksDbWeight::get().reads(4_u64))
1414 }
1415 /// Storage: `Authors::AuthorsMap` (r:1 w:0)
1416 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
1417 /// Storage: `Authors::PenaltiesUntil` (r:1 w:0)
1418 /// Proof: `Authors::PenaltiesUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1419 /// Storage: `Authors::AuthorPenalties` (r:4 w:0)
1420 /// Proof: `Authors::AuthorPenalties` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1421 fn shed_penalties() -> Weight {
1422 // Proof Size summary in bytes:
1423 // Measured: `600`
1424 // Estimated: `11178`
1425 // Minimum execution time: 36_000_000 picoseconds.
1426 Weight::from_parts(38_000_000,
1427 11178)
1428 .saturating_add(RocksDbWeight::get().reads(6_u64))
1429 }
1430 /// Storage: `Authors::AuthorRewards` (r:101 w:100)
1431 /// Proof: `Authors::AuthorRewards` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
1432 /// Storage: `Authors::AuthorsMap` (r:200 w:0)
1433 /// Proof: `Authors::AuthorsMap` (`max_values`: None, `max_size`: Some(127), added: 2602, mode: `MaxEncodedLen`)
1434 /// Storage: `Commitment::DigestMap` (r:400 w:400)
1435 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
1436 /// Storage: `Commitment::AssetToIssue` (r:1 w:1)
1437 /// Proof: `Commitment::AssetToIssue` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1438 /// Storage: `Commitment::ReasonValue` (r:2 w:2)
1439 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
1440 /// Storage: `Authors::AuthorPenalties` (r:101 w:100)
1441 /// Proof: `Authors::AuthorPenalties` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1442 /// Storage: `Commitment::AssetToReap` (r:1 w:1)
1443 /// Proof: `Commitment::AssetToReap` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1444 /// The range of component `r` is `[1, 100]`.
1445 /// The range of component `p` is `[1, 100]`.
1446 fn on_initialize_rewards_penalties(r: u32, p: u32, ) -> Weight {
1447 // Proof Size summary in bytes:
1448 // Measured: `819 + p * (378 ±0) + r * (391 ±0)`
1449 // Estimated: `6008 + p * (5408 ±0) + r * (5408 ±0)`
1450 // Minimum execution time: 5_050_000_000 picoseconds.
1451 Weight::from_parts(318_103_730,
1452 6008)
1453 // Standard Error: 165_864
1454 .saturating_add(Weight::from_parts(49_638_070,
1455 0).saturating_mul(r.into()))
1456 // Standard Error: 165_864
1457 .saturating_add(Weight::from_parts(48_380_490,
1458 0).saturating_mul(p.into()))
1459 .saturating_add(RocksDbWeight::get().reads(6_u64))
1460 .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(r.into())))
1461 .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(p.into())))
1462 .saturating_add(RocksDbWeight::get().writes(4_u64))
1463 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(r.into())))
1464 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(p.into())))
1465 .saturating_add(Weight::from_parts(0, 5408).saturating_mul(p.into()))
1466 .saturating_add(Weight::from_parts(0, 5408).saturating_mul(r.into()))
1467 }
1468 }