pallet_child_bounties/weights.rs
1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_child_bounties`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `4563561839a5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_child_bounties
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/child-bounties/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --genesis-builder-policy=none
62// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
63
64#![cfg_attr(rustfmt, rustfmt_skip)]
65#![allow(unused_parens)]
66#![allow(unused_imports)]
67#![allow(missing_docs)]
68#![allow(dead_code)]
69
70use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
71use core::marker::PhantomData;
72
73/// Weight functions needed for `pallet_child_bounties`.
74pub trait WeightInfo {
75 fn add_child_bounty(d: u32, ) -> Weight;
76 fn propose_curator() -> Weight;
77 fn accept_curator() -> Weight;
78 fn unassign_curator() -> Weight;
79 fn award_child_bounty() -> Weight;
80 fn claim_child_bounty() -> Weight;
81 fn close_child_bounty_added() -> Weight;
82 fn close_child_bounty_active() -> Weight;
83}
84
85/// Weights for `pallet_child_bounties` using the Substrate node and recommended hardware.
86pub struct SubstrateWeight<T>(PhantomData<T>);
87impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
88 /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1)
89 /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
90 /// Storage: `Bounties::Bounties` (r:1 w:0)
91 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
92 /// Storage: `System::Account` (r:2 w:2)
93 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
94 /// Storage: `ChildBounties::ParentTotalChildBounties` (r:1 w:1)
95 /// Proof: `ChildBounties::ParentTotalChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
96 /// Storage: `ChildBounties::ChildBountyDescriptionsV1` (r:0 w:1)
97 /// Proof: `ChildBounties::ChildBountyDescriptionsV1` (`max_values`: None, `max_size`: Some(326), added: 2801, mode: `MaxEncodedLen`)
98 /// Storage: `ChildBounties::ChildBounties` (r:0 w:1)
99 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
100 /// The range of component `d` is `[0, 300]`.
101 fn add_child_bounty(_d: u32, ) -> Weight {
102 // Proof Size summary in bytes:
103 // Measured: `335`
104 // Estimated: `6196`
105 // Minimum execution time: 63_099_000 picoseconds.
106 Weight::from_parts(65_468_602, 6196)
107 .saturating_add(T::DbWeight::get().reads(5_u64))
108 .saturating_add(T::DbWeight::get().writes(6_u64))
109 }
110 /// Storage: `Bounties::Bounties` (r:1 w:0)
111 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
112 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
113 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
114 /// Storage: `ChildBounties::ChildrenCuratorFees` (r:1 w:1)
115 /// Proof: `ChildBounties::ChildrenCuratorFees` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
116 fn propose_curator() -> Weight {
117 // Proof Size summary in bytes:
118 // Measured: `420`
119 // Estimated: `3642`
120 // Minimum execution time: 16_789_000 picoseconds.
121 Weight::from_parts(17_457_000, 3642)
122 .saturating_add(T::DbWeight::get().reads(3_u64))
123 .saturating_add(T::DbWeight::get().writes(2_u64))
124 }
125 /// Storage: `Bounties::Bounties` (r:1 w:0)
126 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
127 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
128 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
129 /// Storage: `System::Account` (r:1 w:1)
130 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
131 fn accept_curator() -> Weight {
132 // Proof Size summary in bytes:
133 // Measured: `589`
134 // Estimated: `3642`
135 // Minimum execution time: 31_248_000 picoseconds.
136 Weight::from_parts(32_220_000, 3642)
137 .saturating_add(T::DbWeight::get().reads(3_u64))
138 .saturating_add(T::DbWeight::get().writes(2_u64))
139 }
140 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
141 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
142 /// Storage: `Bounties::Bounties` (r:1 w:0)
143 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
144 /// Storage: `System::Account` (r:1 w:1)
145 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
146 fn unassign_curator() -> Weight {
147 // Proof Size summary in bytes:
148 // Measured: `589`
149 // Estimated: `3642`
150 // Minimum execution time: 41_761_000 picoseconds.
151 Weight::from_parts(42_828_000, 3642)
152 .saturating_add(T::DbWeight::get().reads(3_u64))
153 .saturating_add(T::DbWeight::get().writes(2_u64))
154 }
155 /// Storage: `Bounties::Bounties` (r:1 w:0)
156 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
157 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
158 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
159 fn award_child_bounty() -> Weight {
160 // Proof Size summary in bytes:
161 // Measured: `486`
162 // Estimated: `3642`
163 // Minimum execution time: 18_804_000 picoseconds.
164 Weight::from_parts(19_178_000, 3642)
165 .saturating_add(T::DbWeight::get().reads(2_u64))
166 .saturating_add(T::DbWeight::get().writes(1_u64))
167 }
168 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
169 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
170 /// Storage: `System::Account` (r:3 w:3)
171 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
172 /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1)
173 /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
174 /// Storage: `ChildBounties::ChildBountyDescriptionsV1` (r:0 w:1)
175 /// Proof: `ChildBounties::ChildBountyDescriptionsV1` (`max_values`: None, `max_size`: Some(326), added: 2801, mode: `MaxEncodedLen`)
176 fn claim_child_bounty() -> Weight {
177 // Proof Size summary in bytes:
178 // Measured: `499`
179 // Estimated: `8799`
180 // Minimum execution time: 104_497_000 picoseconds.
181 Weight::from_parts(106_660_000, 8799)
182 .saturating_add(T::DbWeight::get().reads(5_u64))
183 .saturating_add(T::DbWeight::get().writes(6_u64))
184 }
185 /// Storage: `Bounties::Bounties` (r:1 w:0)
186 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
187 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
188 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
189 /// Storage: `ChildBounties::ChildrenCuratorFees` (r:1 w:1)
190 /// Proof: `ChildBounties::ChildrenCuratorFees` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
191 /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1)
192 /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
193 /// Storage: `System::Account` (r:2 w:2)
194 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
195 /// Storage: `ChildBounties::ChildBountyDescriptionsV1` (r:0 w:1)
196 /// Proof: `ChildBounties::ChildBountyDescriptionsV1` (`max_values`: None, `max_size`: Some(326), added: 2801, mode: `MaxEncodedLen`)
197 fn close_child_bounty_added() -> Weight {
198 // Proof Size summary in bytes:
199 // Measured: `629`
200 // Estimated: `6196`
201 // Minimum execution time: 69_986_000 picoseconds.
202 Weight::from_parts(72_530_000, 6196)
203 .saturating_add(T::DbWeight::get().reads(6_u64))
204 .saturating_add(T::DbWeight::get().writes(6_u64))
205 }
206 /// Storage: `Bounties::Bounties` (r:1 w:0)
207 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
208 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
209 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
210 /// Storage: `System::Account` (r:3 w:3)
211 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
212 /// Storage: `ChildBounties::ChildrenCuratorFees` (r:1 w:1)
213 /// Proof: `ChildBounties::ChildrenCuratorFees` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
214 /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1)
215 /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
216 /// Storage: `ChildBounties::ChildBountyDescriptionsV1` (r:0 w:1)
217 /// Proof: `ChildBounties::ChildBountyDescriptionsV1` (`max_values`: None, `max_size`: Some(326), added: 2801, mode: `MaxEncodedLen`)
218 fn close_child_bounty_active() -> Weight {
219 // Proof Size summary in bytes:
220 // Measured: `812`
221 // Estimated: `8799`
222 // Minimum execution time: 85_462_000 picoseconds.
223 Weight::from_parts(86_891_000, 8799)
224 .saturating_add(T::DbWeight::get().reads(7_u64))
225 .saturating_add(T::DbWeight::get().writes(7_u64))
226 }
227}
228
229// For backwards compatibility and tests.
230impl WeightInfo for () {
231 /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1)
232 /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
233 /// Storage: `Bounties::Bounties` (r:1 w:0)
234 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
235 /// Storage: `System::Account` (r:2 w:2)
236 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
237 /// Storage: `ChildBounties::ParentTotalChildBounties` (r:1 w:1)
238 /// Proof: `ChildBounties::ParentTotalChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
239 /// Storage: `ChildBounties::ChildBountyDescriptionsV1` (r:0 w:1)
240 /// Proof: `ChildBounties::ChildBountyDescriptionsV1` (`max_values`: None, `max_size`: Some(326), added: 2801, mode: `MaxEncodedLen`)
241 /// Storage: `ChildBounties::ChildBounties` (r:0 w:1)
242 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
243 /// The range of component `d` is `[0, 300]`.
244 fn add_child_bounty(_d: u32, ) -> Weight {
245 // Proof Size summary in bytes:
246 // Measured: `335`
247 // Estimated: `6196`
248 // Minimum execution time: 63_099_000 picoseconds.
249 Weight::from_parts(65_468_602, 6196)
250 .saturating_add(RocksDbWeight::get().reads(5_u64))
251 .saturating_add(RocksDbWeight::get().writes(6_u64))
252 }
253 /// Storage: `Bounties::Bounties` (r:1 w:0)
254 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
255 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
256 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
257 /// Storage: `ChildBounties::ChildrenCuratorFees` (r:1 w:1)
258 /// Proof: `ChildBounties::ChildrenCuratorFees` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
259 fn propose_curator() -> Weight {
260 // Proof Size summary in bytes:
261 // Measured: `420`
262 // Estimated: `3642`
263 // Minimum execution time: 16_789_000 picoseconds.
264 Weight::from_parts(17_457_000, 3642)
265 .saturating_add(RocksDbWeight::get().reads(3_u64))
266 .saturating_add(RocksDbWeight::get().writes(2_u64))
267 }
268 /// Storage: `Bounties::Bounties` (r:1 w:0)
269 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
270 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
271 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
272 /// Storage: `System::Account` (r:1 w:1)
273 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
274 fn accept_curator() -> Weight {
275 // Proof Size summary in bytes:
276 // Measured: `589`
277 // Estimated: `3642`
278 // Minimum execution time: 31_248_000 picoseconds.
279 Weight::from_parts(32_220_000, 3642)
280 .saturating_add(RocksDbWeight::get().reads(3_u64))
281 .saturating_add(RocksDbWeight::get().writes(2_u64))
282 }
283 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
284 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
285 /// Storage: `Bounties::Bounties` (r:1 w:0)
286 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
287 /// Storage: `System::Account` (r:1 w:1)
288 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
289 fn unassign_curator() -> Weight {
290 // Proof Size summary in bytes:
291 // Measured: `589`
292 // Estimated: `3642`
293 // Minimum execution time: 41_761_000 picoseconds.
294 Weight::from_parts(42_828_000, 3642)
295 .saturating_add(RocksDbWeight::get().reads(3_u64))
296 .saturating_add(RocksDbWeight::get().writes(2_u64))
297 }
298 /// Storage: `Bounties::Bounties` (r:1 w:0)
299 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
300 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
301 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
302 fn award_child_bounty() -> Weight {
303 // Proof Size summary in bytes:
304 // Measured: `486`
305 // Estimated: `3642`
306 // Minimum execution time: 18_804_000 picoseconds.
307 Weight::from_parts(19_178_000, 3642)
308 .saturating_add(RocksDbWeight::get().reads(2_u64))
309 .saturating_add(RocksDbWeight::get().writes(1_u64))
310 }
311 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
312 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
313 /// Storage: `System::Account` (r:3 w:3)
314 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
315 /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1)
316 /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
317 /// Storage: `ChildBounties::ChildBountyDescriptionsV1` (r:0 w:1)
318 /// Proof: `ChildBounties::ChildBountyDescriptionsV1` (`max_values`: None, `max_size`: Some(326), added: 2801, mode: `MaxEncodedLen`)
319 fn claim_child_bounty() -> Weight {
320 // Proof Size summary in bytes:
321 // Measured: `499`
322 // Estimated: `8799`
323 // Minimum execution time: 104_497_000 picoseconds.
324 Weight::from_parts(106_660_000, 8799)
325 .saturating_add(RocksDbWeight::get().reads(5_u64))
326 .saturating_add(RocksDbWeight::get().writes(6_u64))
327 }
328 /// Storage: `Bounties::Bounties` (r:1 w:0)
329 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
330 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
331 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
332 /// Storage: `ChildBounties::ChildrenCuratorFees` (r:1 w:1)
333 /// Proof: `ChildBounties::ChildrenCuratorFees` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
334 /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1)
335 /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
336 /// Storage: `System::Account` (r:2 w:2)
337 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
338 /// Storage: `ChildBounties::ChildBountyDescriptionsV1` (r:0 w:1)
339 /// Proof: `ChildBounties::ChildBountyDescriptionsV1` (`max_values`: None, `max_size`: Some(326), added: 2801, mode: `MaxEncodedLen`)
340 fn close_child_bounty_added() -> Weight {
341 // Proof Size summary in bytes:
342 // Measured: `629`
343 // Estimated: `6196`
344 // Minimum execution time: 69_986_000 picoseconds.
345 Weight::from_parts(72_530_000, 6196)
346 .saturating_add(RocksDbWeight::get().reads(6_u64))
347 .saturating_add(RocksDbWeight::get().writes(6_u64))
348 }
349 /// Storage: `Bounties::Bounties` (r:1 w:0)
350 /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`)
351 /// Storage: `ChildBounties::ChildBounties` (r:1 w:1)
352 /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`)
353 /// Storage: `System::Account` (r:3 w:3)
354 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
355 /// Storage: `ChildBounties::ChildrenCuratorFees` (r:1 w:1)
356 /// Proof: `ChildBounties::ChildrenCuratorFees` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
357 /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1)
358 /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
359 /// Storage: `ChildBounties::ChildBountyDescriptionsV1` (r:0 w:1)
360 /// Proof: `ChildBounties::ChildBountyDescriptionsV1` (`max_values`: None, `max_size`: Some(326), added: 2801, mode: `MaxEncodedLen`)
361 fn close_child_bounty_active() -> Weight {
362 // Proof Size summary in bytes:
363 // Measured: `812`
364 // Estimated: `8799`
365 // Minimum execution time: 85_462_000 picoseconds.
366 Weight::from_parts(86_891_000, 8799)
367 .saturating_add(RocksDbWeight::get().reads(7_u64))
368 .saturating_add(RocksDbWeight::get().writes(7_u64))
369 }
370}