git.delta.rocks / unique-network / refs/commits / 8613e5ea84e4

difftreelog

fixup identity

Igor Kozyrev2023-04-20parent: #bdedd28.patch.diff
in: master

1 file changed

modifiedpallets/identity/src/weights.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs
2// This file is part of Unique Network.
32
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
17// Original license:
18// This file is part of Substrate.
19
20// Copyright (C) 2022 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_identity3//! Autogenerated weights for pallet_identity
36//!4//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
38//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`7//! WORST CASE MAP SIZE: `1000000`
8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
40//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 10249//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
4110
42// Executed Command:11// Executed Command:
43// ./target/production/substrate12// target/release/unique-collator
44// benchmark13// benchmark
45// pallet14// pallet
46// --chain=dev15// --pallet
16// pallet-identity
17// --wasm-execution
18// compiled
19// --extrinsic
20// *
21// --template=.maintain/frame-weight-template.hbs
47// --steps=5022// --steps=50
48// --repeat=2023// --repeat=80
49// --pallet=pallet_identity
50// --extrinsic=*
51// --execution=wasm
52// --wasm-execution=compiled
53// --heap-pages=409624// --heap-pages=4096
54// --output=./frame/identity/src/weights.rs25// --output=./pallets/identity/src/weights.rs
55// --header=./HEADER-APACHE2
56// --template=./.maintain/frame-weight-template.hbs
5726
58#![cfg_attr(rustfmt, rustfmt_skip)]27#![cfg_attr(rustfmt, rustfmt_skip)]
59#![allow(unused_parens)]28#![allow(unused_parens)]
88/// Weights for pallet_identity using the Substrate node and recommended hardware.57/// Weights for pallet_identity using the Substrate node and recommended hardware.
89pub struct SubstrateWeight<T>(PhantomData<T>);58pub struct SubstrateWeight<T>(PhantomData<T>);
90impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
91 // Storage: Identity Registrars (r:1 w:1)60 /// Storage: Identity Registrars (r:1 w:1)
61 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
92 /// The range of component `r` is `[1, 19]`.62 /// The range of component `r` is `[1, 19]`.
93 fn add_registrar(r: u32, ) -> Weight {63 fn add_registrar(r: u32, ) -> Weight {
94 // Minimum execution time: 20_269 nanoseconds.64 // Proof Size summary in bytes:
65 // Measured: `31 + r * (57 ±0)`
66 // Estimated: `2626`
67 // Minimum execution time: 9_094_000 picoseconds.
95 Weight::from_ref_time(21_910_543 as u64)68 Weight::from_parts(10_431_627, 2626)
96 // Standard Error: 4_60469 // Standard Error: 1_046
97 .saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))70 .saturating_add(Weight::from_parts(99_468, 0).saturating_mul(r.into()))
98 .saturating_add(T::DbWeight::get().reads(1 as u64))71 .saturating_add(T::DbWeight::get().reads(1_u64))
99 .saturating_add(T::DbWeight::get().writes(1 as u64))72 .saturating_add(T::DbWeight::get().writes(1_u64))
100 }73 }
101 // Storage: Identity IdentityOf (r:1 w:1)74 /// Storage: Identity IdentityOf (r:1 w:1)
75 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
102 /// The range of component `r` is `[1, 20]`.76 /// The range of component `r` is `[1, 20]`.
103 /// The range of component `x` is `[0, 100]`.77 /// The range of component `x` is `[0, 100]`.
104 fn set_identity(r: u32, x: u32, ) -> Weight {78 fn set_identity(r: u32, x: u32, ) -> Weight {
105 // Minimum execution time: 41_872 nanoseconds.79 // Proof Size summary in bytes:
80 // Measured: `441 + r * (5 ±0)`
81 // Estimated: `11003`
82 // Minimum execution time: 18_662_000 picoseconds.
106 Weight::from_ref_time(40_230_216 as u64)83 Weight::from_parts(17_939_760, 11003)
107 // Standard Error: 2_34284 // Standard Error: 2_371
108 .saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))85 .saturating_add(Weight::from_parts(22_184, 0).saturating_mul(r.into()))
109 // Standard Error: 45786 // Standard Error: 462
110 .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))87 .saturating_add(Weight::from_parts(151_368, 0).saturating_mul(x.into()))
111 .saturating_add(T::DbWeight::get().reads(1 as u64))88 .saturating_add(T::DbWeight::get().reads(1_u64))
112 .saturating_add(T::DbWeight::get().writes(1 as u64))89 .saturating_add(T::DbWeight::get().writes(1_u64))
113 }90 }
114 // Storage: Identity IdentityOf (r:1 w:0)91 /// Storage: Identity IdentityOf (r:1 w:0)
115 // Storage: Identity SubsOf (r:1 w:1)92 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
93 /// Storage: Identity SubsOf (r:1 w:1)
116 // Storage: Identity SuperOf (r:2 w:2)94 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
95 /// Storage: Identity SuperOf (r:100 w:100)
96 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
117 /// The range of component `s` is `[0, 100]`.97 /// The range of component `s` is `[0, 100]`.
118 fn set_subs_new(s: u32, ) -> Weight {98 fn set_subs_new(s: u32, ) -> Weight {
119 // Minimum execution time: 12_024 nanoseconds.99 // Proof Size summary in bytes:
100 // Measured: `100`
101 // Estimated: `18716 + s * (2589 ±0)`
102 // Minimum execution time: 6_921_000 picoseconds.
120 Weight::from_ref_time(32_550_819 as u64)103 Weight::from_parts(16_118_195, 18716)
121 // Standard Error: 5_057104 // Standard Error: 1_786
122 .saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))105 .saturating_add(Weight::from_parts(1_350_155, 0).saturating_mul(s.into()))
123 .saturating_add(T::DbWeight::get().reads(2 as u64))106 .saturating_add(T::DbWeight::get().reads(2_u64))
124 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))107 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
125 .saturating_add(T::DbWeight::get().writes(1 as u64))108 .saturating_add(T::DbWeight::get().writes(1_u64))
126 .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))109 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
110 .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))
127 }111 }
128 // Storage: Identity IdentityOf (r:1 w:0)112 /// Storage: Identity IdentityOf (r:1 w:0)
129 // Storage: Identity SubsOf (r:1 w:1)113 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
114 /// Storage: Identity SubsOf (r:1 w:1)
130 // Storage: Identity SuperOf (r:0 w:2)115 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
116 /// Storage: Identity SuperOf (r:0 w:100)
117 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
131 /// The range of component `p` is `[0, 100]`.118 /// The range of component `p` is `[0, 100]`.
132 fn set_subs_old(p: u32, ) -> Weight {119 fn set_subs_old(p: u32, ) -> Weight {
133 // Minimum execution time: 12_232 nanoseconds.120 // Proof Size summary in bytes:
121 // Measured: `193 + p * (32 ±0)`
122 // Estimated: `17726`
123 // Minimum execution time: 6_858_000 picoseconds.
134 Weight::from_ref_time(34_009_761 as u64)124 Weight::from_parts(16_222_054, 17726)
135 // Standard Error: 5_047125 // Standard Error: 1_409
136 .saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))126 .saturating_add(Weight::from_parts(593_588, 0).saturating_mul(p.into()))
137 .saturating_add(T::DbWeight::get().reads(2 as u64))127 .saturating_add(T::DbWeight::get().reads(2_u64))
138 .saturating_add(T::DbWeight::get().writes(1 as u64))128 .saturating_add(T::DbWeight::get().writes(1_u64))
139 .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))129 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
140 }130 }
141 // Storage: Identity SubsOf (r:1 w:1)131 /// Storage: Identity SubsOf (r:1 w:1)
142 // Storage: Identity IdentityOf (r:1 w:1)132 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
133 /// Storage: Identity IdentityOf (r:1 w:1)
143 // Storage: Identity SuperOf (r:0 w:100)134 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
135 /// Storage: Identity SuperOf (r:0 w:100)
136 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
144 /// The range of component `r` is `[1, 20]`.137 /// The range of component `r` is `[1, 20]`.
145 /// The range of component `s` is `[0, 100]`.138 /// The range of component `s` is `[0, 100]`.
146 /// The range of component `x` is `[0, 100]`.139 /// The range of component `x` is `[0, 100]`.
147 fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {140 fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
148 // Minimum execution time: 57_144 nanoseconds.141 // Proof Size summary in bytes:
142 // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
143 // Estimated: `17726`
144 // Minimum execution time: 27_212_000 picoseconds.
149 Weight::from_ref_time(41_559_247 as u64)145 Weight::from_parts(19_030_840, 17726)
150 // Standard Error: 9_996146 // Standard Error: 3_118
151 .saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))147 .saturating_add(Weight::from_parts(29_836, 0).saturating_mul(r.into()))
152 // Standard Error: 1_952148 // Standard Error: 608
153 .saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))149 .saturating_add(Weight::from_parts(590_661, 0).saturating_mul(s.into()))
154 // Standard Error: 1_952150 // Standard Error: 608
155 .saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))151 .saturating_add(Weight::from_parts(110_108, 0).saturating_mul(x.into()))
156 .saturating_add(T::DbWeight::get().reads(2 as u64))152 .saturating_add(T::DbWeight::get().reads(2_u64))
157 .saturating_add(T::DbWeight::get().writes(2 as u64))153 .saturating_add(T::DbWeight::get().writes(2_u64))
158 .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))154 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
159 }155 }
160 // Storage: Identity Registrars (r:1 w:0)156 /// Storage: Identity Registrars (r:1 w:0)
161 // Storage: Identity IdentityOf (r:1 w:1)157 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
158 /// Storage: Identity IdentityOf (r:1 w:1)
159 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
162 /// The range of component `r` is `[1, 20]`.160 /// The range of component `r` is `[1, 20]`.
163 /// The range of component `x` is `[0, 100]`.161 /// The range of component `x` is `[0, 100]`.
164 fn request_judgement(r: u32, x: u32, ) -> Weight {162 fn request_judgement(r: u32, x: u32, ) -> Weight {
165 // Minimum execution time: 44_726 nanoseconds.163 // Proof Size summary in bytes:
164 // Measured: `366 + r * (57 ±0) + x * (66 ±0)`
165 // Estimated: `13629`
166 // Minimum execution time: 19_771_000 picoseconds.
166 Weight::from_ref_time(41_637_308 as u64)167 Weight::from_parts(18_917_892, 13629)
167 // Standard Error: 1_907168 // Standard Error: 1_957
168 .saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))169 .saturating_add(Weight::from_parts(57_465, 0).saturating_mul(r.into()))
169 // Standard Error: 372170 // Standard Error: 381
170 .saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))171 .saturating_add(Weight::from_parts(168_586, 0).saturating_mul(x.into()))
171 .saturating_add(T::DbWeight::get().reads(2 as u64))172 .saturating_add(T::DbWeight::get().reads(2_u64))
172 .saturating_add(T::DbWeight::get().writes(1 as u64))173 .saturating_add(T::DbWeight::get().writes(1_u64))
173 }174 }
174 // Storage: Identity IdentityOf (r:1 w:1)175 /// Storage: Identity IdentityOf (r:1 w:1)
176 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
175 /// The range of component `r` is `[1, 20]`.177 /// The range of component `r` is `[1, 20]`.
176 /// The range of component `x` is `[0, 100]`.178 /// The range of component `x` is `[0, 100]`.
177 fn cancel_request(r: u32, x: u32, ) -> Weight {179 fn cancel_request(r: u32, x: u32, ) -> Weight {
178 // Minimum execution time: 39_719 nanoseconds.180 // Proof Size summary in bytes:
181 // Measured: `397 + x * (66 ±0)`
182 // Estimated: `11003`
183 // Minimum execution time: 17_411_000 picoseconds.
179 Weight::from_ref_time(38_008_751 as u64)184 Weight::from_parts(16_856_331, 11003)
180 // Standard Error: 2_394185 // Standard Error: 7_002
181 .saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))186 .saturating_add(Weight::from_parts(34_389, 0).saturating_mul(r.into()))
182 // Standard Error: 467187 // Standard Error: 1_366
183 .saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))188 .saturating_add(Weight::from_parts(165_686, 0).saturating_mul(x.into()))
184 .saturating_add(T::DbWeight::get().reads(1 as u64))189 .saturating_add(T::DbWeight::get().reads(1_u64))
185 .saturating_add(T::DbWeight::get().writes(1 as u64))190 .saturating_add(T::DbWeight::get().writes(1_u64))
186 }191 }
187 // Storage: Identity Registrars (r:1 w:1)192 /// Storage: Identity Registrars (r:1 w:1)
193 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
188 /// The range of component `r` is `[1, 19]`.194 /// The range of component `r` is `[1, 19]`.
189 fn set_fee(r: u32, ) -> Weight {195 fn set_fee(r: u32, ) -> Weight {
190 // Minimum execution time: 10_634 nanoseconds.196 // Proof Size summary in bytes:
197 // Measured: `88 + r * (57 ±0)`
198 // Estimated: `2626`
199 // Minimum execution time: 7_089_000 picoseconds.
191 Weight::from_ref_time(11_383_704 as u64)200 Weight::from_parts(7_750_487, 2626)
192 // Standard Error: 2_250201 // Standard Error: 1_625
193 .saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))202 .saturating_add(Weight::from_parts(101_135, 0).saturating_mul(r.into()))
194 .saturating_add(T::DbWeight::get().reads(1 as u64))203 .saturating_add(T::DbWeight::get().reads(1_u64))
195 .saturating_add(T::DbWeight::get().writes(1 as u64))204 .saturating_add(T::DbWeight::get().writes(1_u64))
196 }205 }
197 // Storage: Identity Registrars (r:1 w:1)206 /// Storage: Identity Registrars (r:1 w:1)
207 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
198 /// The range of component `r` is `[1, 19]`.208 /// The range of component `r` is `[1, 19]`.
199 fn set_account_id(r: u32, ) -> Weight {209 fn set_account_id(r: u32, ) -> Weight {
200 // Minimum execution time: 10_840 nanoseconds.210 // Proof Size summary in bytes:
211 // Measured: `88 + r * (57 ±0)`
212 // Estimated: `2626`
213 // Minimum execution time: 6_300_000 picoseconds.
201 Weight::from_ref_time(11_638_740 as u64)214 Weight::from_parts(6_836_140, 2626)
202 // Standard Error: 1_985215 // Standard Error: 655
203 .saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))216 .saturating_add(Weight::from_parts(102_284, 0).saturating_mul(r.into()))
204 .saturating_add(T::DbWeight::get().reads(1 as u64))217 .saturating_add(T::DbWeight::get().reads(1_u64))
205 .saturating_add(T::DbWeight::get().writes(1 as u64))218 .saturating_add(T::DbWeight::get().writes(1_u64))
206 }219 }
207 // Storage: Identity Registrars (r:1 w:1)220 /// Storage: Identity Registrars (r:1 w:1)
221 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
208 /// The range of component `r` is `[1, 19]`.222 /// The range of component `r` is `[1, 19]`.
209 fn set_fields(r: u32, ) -> Weight {223 fn set_fields(r: u32, ) -> Weight {
210 // Minimum execution time: 10_748 nanoseconds.224 // Proof Size summary in bytes:
225 // Measured: `88 + r * (57 ±0)`
226 // Estimated: `2626`
227 // Minimum execution time: 6_257_000 picoseconds.
211 Weight::from_ref_time(11_346_901 as u64)228 Weight::from_parts(6_917_052, 2626)
212 // Standard Error: 2_132229 // Standard Error: 2_628
213 .saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))230 .saturating_add(Weight::from_parts(71_362, 0).saturating_mul(r.into()))
214 .saturating_add(T::DbWeight::get().reads(1 as u64))231 .saturating_add(T::DbWeight::get().reads(1_u64))
215 .saturating_add(T::DbWeight::get().writes(1 as u64))232 .saturating_add(T::DbWeight::get().writes(1_u64))
216 }233 }
217 // Storage: Identity Registrars (r:1 w:0)234 /// Storage: Identity Registrars (r:1 w:0)
218 // Storage: Identity IdentityOf (r:1 w:1)235 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
236 /// Storage: Identity IdentityOf (r:1 w:1)
237 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
219 /// The range of component `r` is `[1, 19]`.238 /// The range of component `r` is `[1, 19]`.
220 /// The range of component `x` is `[0, 100]`.239 /// The range of component `x` is `[0, 100]`.
221 fn provide_judgement(r: u32, x: u32, ) -> Weight {240 fn provide_judgement(r: u32, x: u32, ) -> Weight {
222 // Minimum execution time: 33_682 nanoseconds.241 // Proof Size summary in bytes:
242 // Measured: `444 + r * (57 ±0) + x * (66 ±0)`
243 // Estimated: `13629`
244 // Minimum execution time: 16_021_000 picoseconds.
223 Weight::from_ref_time(31_336_603 as u64)245 Weight::from_parts(15_553_670, 13629)
224 // Standard Error: 3_056246 // Standard Error: 5_797
225 .saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))247 .saturating_add(Weight::from_parts(42_423, 0).saturating_mul(r.into()))
226 // Standard Error: 565248 // Standard Error: 1_072
227 .saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))249 .saturating_add(Weight::from_parts(252_721, 0).saturating_mul(x.into()))
228 .saturating_add(T::DbWeight::get().reads(2 as u64))250 .saturating_add(T::DbWeight::get().reads(2_u64))
229 .saturating_add(T::DbWeight::get().writes(1 as u64))251 .saturating_add(T::DbWeight::get().writes(1_u64))
230 }252 }
231 // Storage: Identity SubsOf (r:1 w:1)253 /// Storage: Identity SubsOf (r:1 w:1)
232 // Storage: Identity IdentityOf (r:1 w:1)254 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
255 /// Storage: Identity IdentityOf (r:1 w:1)
233 // Storage: System Account (r:1 w:1)256 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
257 /// Storage: System Account (r:2 w:2)
234 // Storage: Identity SuperOf (r:0 w:100)258 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
259 /// Storage: Identity SuperOf (r:0 w:100)
260 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
235 /// The range of component `r` is `[1, 20]`.261 /// The range of component `r` is `[1, 20]`.
236 /// The range of component `s` is `[0, 100]`.262 /// The range of component `s` is `[0, 100]`.
237 /// The range of component `x` is `[0, 100]`.263 /// The range of component `x` is `[0, 100]`.
238 fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {264 fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
239 // Minimum execution time: 68_794 nanoseconds.265 // Proof Size summary in bytes:
266 // Measured: `665 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)`
267 // Estimated: `23922`
268 // Minimum execution time: 40_801_000 picoseconds.
240 Weight::from_ref_time(52_114_486 as u64)269 Weight::from_parts(34_079_397, 23922)
241 // Standard Error: 4_808270 // Standard Error: 3_750
242 .saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))271 .saturating_add(Weight::from_parts(31_496, 0).saturating_mul(r.into()))
243 // Standard Error: 939272 // Standard Error: 732
244 .saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))273 .saturating_add(Weight::from_parts(599_691, 0).saturating_mul(s.into()))
245 // Standard Error: 939274 // Standard Error: 732
246 .saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))275 .saturating_add(Weight::from_parts(101_683, 0).saturating_mul(x.into()))
247 .saturating_add(T::DbWeight::get().reads(3 as u64))276 .saturating_add(T::DbWeight::get().reads(4_u64))
248 .saturating_add(T::DbWeight::get().writes(3 as u64))277 .saturating_add(T::DbWeight::get().writes(4_u64))
249 .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))278 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
250 }279 }
251 // Storage: Identity IdentityOf (r:1 w:1)280 /// Storage: Identity IdentityOf (r:0 w:600)
281 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
252 /// The range of component `x` is `[0, 100]`.282 /// The range of component `x` is `[0, 100]`.
253 /// The range of component `n` is `[0, 600]`.283 /// The range of component `n` is `[0, 600]`.
254 fn force_insert_identities(x: u32, n: u32) -> Weight {284 fn force_insert_identities(x: u32, n: u32, ) -> Weight {
255 // Minimum execution time: 41_872 nanoseconds.285 // Proof Size summary in bytes:
286 // Measured: `0`
287 // Estimated: `0`
288 // Minimum execution time: 4_412_000 picoseconds.
256 Weight::from_ref_time(40_230_216 as u64)289 Weight::from_parts(4_592_000, 0)
257 // Standard Error: 2_342290 // Standard Error: 703_509
258 .saturating_add(Weight::from_ref_time(145_168 as u64))291 .saturating_add(Weight::from_parts(43_647_925, 0).saturating_mul(x.into()))
259 // Standard Error: 457292 // Standard Error: 117_043
260 .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))293 .saturating_add(Weight::from_parts(9_312_431, 0).saturating_mul(n.into()))
261 .saturating_add(T::DbWeight::get().reads(1 as u64))
262 .saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))294 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
263 }295 }
264 // Storage: Identity IdentityOf (r:1 w:1)296 /// Storage: Identity SubsOf (r:600 w:0)
297 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
298 /// Storage: Identity IdentityOf (r:0 w:600)
299 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
265 /// The range of component `x` is `[0, 100]`.300 /// The range of component `x` is `[0, 100]`.
266 /// The range of component `n` is `[0, 600]`.301 /// The range of component `n` is `[0, 600]`.
267 fn force_remove_identities(x: u32, n: u32) -> Weight {302 fn force_remove_identities(x: u32, n: u32, ) -> Weight {
268 // Minimum execution time: 41_872 nanoseconds.303 // Proof Size summary in bytes:
304 // Measured: `41`
305 // Estimated: `990 + n * (5733 ±0)`
306 // Minimum execution time: 3_824_000 picoseconds.
269 Weight::from_ref_time(40_230_216 as u64)307 Weight::from_parts(3_950_000, 990)
270 // Standard Error: 2_342308 // Standard Error: 2_864
271 .saturating_add(Weight::from_ref_time(145_168 as u64))309 .saturating_add(Weight::from_parts(55_678, 0).saturating_mul(x.into()))
272 // Standard Error: 457310 // Standard Error: 476
273 .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))311 .saturating_add(Weight::from_parts(1_138_349, 0).saturating_mul(n.into()))
274 .saturating_add(T::DbWeight::get().reads(1 as u64))312 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
275 .saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))313 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
314 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))
276 }315 }
277 // Storage: Identity IdentityOf (r:1 w:1)316 /// Storage: Identity SubsOf (r:600 w:600)
278 // todo:collator317 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
318 /// Storage: Identity SuperOf (r:0 w:100)
319 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
279 /// The range of component `s` is `[0, 100]`.320 /// The range of component `s` is `[0, 100]`.
280 /// The range of component `n` is `[0, 600]`.321 /// The range of component `n` is `[0, 600]`.
281 fn force_set_subs(s: u32, n: u32) -> Weight {322 fn force_set_subs(s: u32, n: u32, ) -> Weight {
282 // Minimum execution time: 41_872 nanoseconds.323 // Proof Size summary in bytes:
324 // Measured: `41`
325 // Estimated: `990 + n * (5733 ±0)`
326 // Minimum execution time: 4_196_000 picoseconds.
283 Weight::from_ref_time(40_230_216 as u64)327 Weight::from_parts(4_340_000, 990)
284 // Standard Error: 2_342328 // Standard Error: 2_081_979
285 .saturating_add(Weight::from_ref_time(145_168 as u64))329 .saturating_add(Weight::from_parts(130_653_903, 0).saturating_mul(s.into()))
286 // Standard Error: 457330 // Standard Error: 346_381
287 .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(s as u64))331 .saturating_add(Weight::from_parts(23_046_001, 0).saturating_mul(n.into()))
288 .saturating_add(T::DbWeight::get().reads(1 as u64))332 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
289 .saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))333 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
334 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
335 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))
290 }336 }
291 // Storage: Identity IdentityOf (r:1 w:0)337 /// Storage: Identity IdentityOf (r:1 w:0)
292 // Storage: Identity SuperOf (r:1 w:1)338 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
339 /// Storage: Identity SuperOf (r:1 w:1)
293 // Storage: Identity SubsOf (r:1 w:1)340 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
341 /// Storage: Identity SubsOf (r:1 w:1)
342 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
294 /// The range of component `s` is `[0, 99]`.343 /// The range of component `s` is `[0, 99]`.
295 fn add_sub(s: u32, ) -> Weight {344 fn add_sub(s: u32, ) -> Weight {
296 // Minimum execution time: 37_914 nanoseconds.345 // Proof Size summary in bytes:
346 // Measured: `474 + s * (36 ±0)`
347 // Estimated: `21305`
348 // Minimum execution time: 15_289_000 picoseconds.
297 Weight::from_ref_time(43_488_083 as u64)349 Weight::from_parts(21_319_844, 21305)
298 // Standard Error: 1_631350 // Standard Error: 893
299 .saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))351 .saturating_add(Weight::from_parts(53_159, 0).saturating_mul(s.into()))
300 .saturating_add(T::DbWeight::get().reads(3 as u64))352 .saturating_add(T::DbWeight::get().reads(3_u64))
301 .saturating_add(T::DbWeight::get().writes(2 as u64))353 .saturating_add(T::DbWeight::get().writes(2_u64))
302 }354 }
303 // Storage: Identity IdentityOf (r:1 w:0)355 /// Storage: Identity IdentityOf (r:1 w:0)
304 // Storage: Identity SuperOf (r:1 w:1)356 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
357 /// Storage: Identity SuperOf (r:1 w:1)
358 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
305 /// The range of component `s` is `[1, 100]`.359 /// The range of component `s` is `[1, 100]`.
306 fn rename_sub(s: u32, ) -> Weight {360 fn rename_sub(s: u32, ) -> Weight {
307 // Minimum execution time: 16_124 nanoseconds.361 // Proof Size summary in bytes:
362 // Measured: `590 + s * (3 ±0)`
363 // Estimated: `14582`
364 // Minimum execution time: 9_867_000 picoseconds.
308 Weight::from_ref_time(18_580_462 as u64)365 Weight::from_parts(12_546_245, 14582)
309 // Standard Error: 688366 // Standard Error: 509
310 .saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))367 .saturating_add(Weight::from_parts(10_078, 0).saturating_mul(s.into()))
311 .saturating_add(T::DbWeight::get().reads(2 as u64))368 .saturating_add(T::DbWeight::get().reads(2_u64))
312 .saturating_add(T::DbWeight::get().writes(1 as u64))369 .saturating_add(T::DbWeight::get().writes(1_u64))
313 }370 }
314 // Storage: Identity IdentityOf (r:1 w:0)371 /// Storage: Identity IdentityOf (r:1 w:0)
315 // Storage: Identity SuperOf (r:1 w:1)372 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
373 /// Storage: Identity SuperOf (r:1 w:1)
316 // Storage: Identity SubsOf (r:1 w:1)374 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
375 /// Storage: Identity SubsOf (r:1 w:1)
376 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
317 /// The range of component `s` is `[1, 100]`.377 /// The range of component `s` is `[1, 100]`.
318 fn remove_sub(s: u32, ) -> Weight {378 fn remove_sub(s: u32, ) -> Weight {
319 // Minimum execution time: 41_517 nanoseconds.379 // Proof Size summary in bytes:
380 // Measured: `637 + s * (35 ±0)`
381 // Estimated: `21305`
382 // Minimum execution time: 19_299_000 picoseconds.
320 Weight::from_ref_time(45_123_530 as u64)383 Weight::from_parts(24_125_576, 21305)
321 // Standard Error: 1_530384 // Standard Error: 1_479
322 .saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))385 .saturating_add(Weight::from_parts(22_611, 0).saturating_mul(s.into()))
323 .saturating_add(T::DbWeight::get().reads(3 as u64))386 .saturating_add(T::DbWeight::get().reads(3_u64))
324 .saturating_add(T::DbWeight::get().writes(2 as u64))387 .saturating_add(T::DbWeight::get().writes(2_u64))
325 }388 }
326 // Storage: Identity SuperOf (r:1 w:1)389 /// Storage: Identity SuperOf (r:1 w:1)
327 // Storage: Identity SubsOf (r:1 w:1)390 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
391 /// Storage: Identity SubsOf (r:1 w:1)
392 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
328 /// The range of component `s` is `[0, 99]`.393 /// The range of component `s` is `[0, 99]`.
329 fn quit_sub(s: u32, ) -> Weight {394 fn quit_sub(s: u32, ) -> Weight {
330 // Minimum execution time: 30_171 nanoseconds.395 // Proof Size summary in bytes:
396 // Measured: `563 + s * (37 ±0)`
397 // Estimated: `10302`
398 // Minimum execution time: 14_183_000 picoseconds.
331 Weight::from_ref_time(33_355_514 as u64)399 Weight::from_parts(17_343_547, 10302)
332 // Standard Error: 1_286400 // Standard Error: 454
333 .saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))401 .saturating_add(Weight::from_parts(45_925, 0).saturating_mul(s.into()))
334 .saturating_add(T::DbWeight::get().reads(2 as u64))402 .saturating_add(T::DbWeight::get().reads(2_u64))
335 .saturating_add(T::DbWeight::get().writes(2 as u64))403 .saturating_add(T::DbWeight::get().writes(2_u64))
336 }404 }
337}405}
338406
339// For backwards compatibility and tests407// For backwards compatibility and tests
340impl WeightInfo for () {408impl WeightInfo for () {
341 // Storage: Identity Registrars (r:1 w:1)409 /// Storage: Identity Registrars (r:1 w:1)
410 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
342 /// The range of component `r` is `[1, 19]`.411 /// The range of component `r` is `[1, 19]`.
343 fn add_registrar(r: u32, ) -> Weight {412 fn add_registrar(r: u32, ) -> Weight {
344 // Minimum execution time: 20_269 nanoseconds.413 // Proof Size summary in bytes:
414 // Measured: `31 + r * (57 ±0)`
415 // Estimated: `2626`
416 // Minimum execution time: 9_094_000 picoseconds.
345 Weight::from_ref_time(21_910_543 as u64)417 Weight::from_parts(10_431_627, 2626)
346 // Standard Error: 4_604418 // Standard Error: 1_046
347 .saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))419 .saturating_add(Weight::from_parts(99_468, 0).saturating_mul(r.into()))
348 .saturating_add(RocksDbWeight::get().reads(1 as u64))420 .saturating_add(RocksDbWeight::get().reads(1_u64))
349 .saturating_add(RocksDbWeight::get().writes(1 as u64))421 .saturating_add(RocksDbWeight::get().writes(1_u64))
350 }422 }
351 // Storage: Identity IdentityOf (r:1 w:1)423 /// Storage: Identity IdentityOf (r:1 w:1)
424 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
352 /// The range of component `r` is `[1, 20]`.425 /// The range of component `r` is `[1, 20]`.
353 /// The range of component `x` is `[0, 100]`.426 /// The range of component `x` is `[0, 100]`.
354 fn set_identity(r: u32, x: u32, ) -> Weight {427 fn set_identity(r: u32, x: u32, ) -> Weight {
355 // Minimum execution time: 41_872 nanoseconds.428 // Proof Size summary in bytes:
429 // Measured: `441 + r * (5 ±0)`
430 // Estimated: `11003`
431 // Minimum execution time: 18_662_000 picoseconds.
356 Weight::from_ref_time(40_230_216 as u64)432 Weight::from_parts(17_939_760, 11003)
357 // Standard Error: 2_342433 // Standard Error: 2_371
358 .saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))434 .saturating_add(Weight::from_parts(22_184, 0).saturating_mul(r.into()))
359 // Standard Error: 457435 // Standard Error: 462
360 .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))436 .saturating_add(Weight::from_parts(151_368, 0).saturating_mul(x.into()))
361 .saturating_add(RocksDbWeight::get().reads(1 as u64))437 .saturating_add(RocksDbWeight::get().reads(1_u64))
362 .saturating_add(RocksDbWeight::get().writes(1 as u64))438 .saturating_add(RocksDbWeight::get().writes(1_u64))
363 }439 }
364 // Storage: Identity IdentityOf (r:1 w:0)440 /// Storage: Identity IdentityOf (r:1 w:0)
365 // Storage: Identity SubsOf (r:1 w:1)441 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
442 /// Storage: Identity SubsOf (r:1 w:1)
366 // Storage: Identity SuperOf (r:2 w:2)443 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
444 /// Storage: Identity SuperOf (r:100 w:100)
445 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
367 /// The range of component `s` is `[0, 100]`.446 /// The range of component `s` is `[0, 100]`.
368 fn set_subs_new(s: u32, ) -> Weight {447 fn set_subs_new(s: u32, ) -> Weight {
369 // Minimum execution time: 12_024 nanoseconds.448 // Proof Size summary in bytes:
449 // Measured: `100`
450 // Estimated: `18716 + s * (2589 ±0)`
451 // Minimum execution time: 6_921_000 picoseconds.
370 Weight::from_ref_time(32_550_819 as u64)452 Weight::from_parts(16_118_195, 18716)
371 // Standard Error: 5_057453 // Standard Error: 1_786
372 .saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))454 .saturating_add(Weight::from_parts(1_350_155, 0).saturating_mul(s.into()))
373 .saturating_add(RocksDbWeight::get().reads(2 as u64))455 .saturating_add(RocksDbWeight::get().reads(2_u64))
374 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(s as u64)))456 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(s.into())))
375 .saturating_add(RocksDbWeight::get().writes(1 as u64))457 .saturating_add(RocksDbWeight::get().writes(1_u64))
376 .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))458 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
459 .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))
377 }460 }
378 // Storage: Identity IdentityOf (r:1 w:0)461 /// Storage: Identity IdentityOf (r:1 w:0)
379 // Storage: Identity SubsOf (r:1 w:1)462 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
463 /// Storage: Identity SubsOf (r:1 w:1)
380 // Storage: Identity SuperOf (r:0 w:2)464 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
465 /// Storage: Identity SuperOf (r:0 w:100)
466 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
381 /// The range of component `p` is `[0, 100]`.467 /// The range of component `p` is `[0, 100]`.
382 fn set_subs_old(p: u32, ) -> Weight {468 fn set_subs_old(p: u32, ) -> Weight {
383 // Minimum execution time: 12_232 nanoseconds.469 // Proof Size summary in bytes:
470 // Measured: `193 + p * (32 ±0)`
471 // Estimated: `17726`
472 // Minimum execution time: 6_858_000 picoseconds.
384 Weight::from_ref_time(34_009_761 as u64)473 Weight::from_parts(16_222_054, 17726)
385 // Standard Error: 5_047474 // Standard Error: 1_409
386 .saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))475 .saturating_add(Weight::from_parts(593_588, 0).saturating_mul(p.into()))
387 .saturating_add(RocksDbWeight::get().reads(2 as u64))476 .saturating_add(RocksDbWeight::get().reads(2_u64))
388 .saturating_add(RocksDbWeight::get().writes(1 as u64))477 .saturating_add(RocksDbWeight::get().writes(1_u64))
389 .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(p as u64)))478 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into())))
390 }479 }
391 // Storage: Identity SubsOf (r:1 w:1)480 /// Storage: Identity SubsOf (r:1 w:1)
392 // Storage: Identity IdentityOf (r:1 w:1)481 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
482 /// Storage: Identity IdentityOf (r:1 w:1)
393 // Storage: Identity SuperOf (r:0 w:100)483 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
484 /// Storage: Identity SuperOf (r:0 w:100)
485 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
394 /// The range of component `r` is `[1, 20]`.486 /// The range of component `r` is `[1, 20]`.
395 /// The range of component `s` is `[0, 100]`.487 /// The range of component `s` is `[0, 100]`.
396 /// The range of component `x` is `[0, 100]`.488 /// The range of component `x` is `[0, 100]`.
397 fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {489 fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
398 // Minimum execution time: 57_144 nanoseconds.490 // Proof Size summary in bytes:
491 // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
492 // Estimated: `17726`
493 // Minimum execution time: 27_212_000 picoseconds.
399 Weight::from_ref_time(41_559_247 as u64)494 Weight::from_parts(19_030_840, 17726)
400 // Standard Error: 9_996495 // Standard Error: 3_118
401 .saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))496 .saturating_add(Weight::from_parts(29_836, 0).saturating_mul(r.into()))
402 // Standard Error: 1_952497 // Standard Error: 608
403 .saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))498 .saturating_add(Weight::from_parts(590_661, 0).saturating_mul(s.into()))
404 // Standard Error: 1_952499 // Standard Error: 608
405 .saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))500 .saturating_add(Weight::from_parts(110_108, 0).saturating_mul(x.into()))
406 .saturating_add(RocksDbWeight::get().reads(2 as u64))501 .saturating_add(RocksDbWeight::get().reads(2_u64))
407 .saturating_add(RocksDbWeight::get().writes(2 as u64))502 .saturating_add(RocksDbWeight::get().writes(2_u64))
408 .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))503 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
409 }504 }
410 // Storage: Identity Registrars (r:1 w:0)505 /// Storage: Identity Registrars (r:1 w:0)
411 // Storage: Identity IdentityOf (r:1 w:1)506 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
507 /// Storage: Identity IdentityOf (r:1 w:1)
508 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
412 /// The range of component `r` is `[1, 20]`.509 /// The range of component `r` is `[1, 20]`.
413 /// The range of component `x` is `[0, 100]`.510 /// The range of component `x` is `[0, 100]`.
414 fn request_judgement(r: u32, x: u32, ) -> Weight {511 fn request_judgement(r: u32, x: u32, ) -> Weight {
415 // Minimum execution time: 44_726 nanoseconds.512 // Proof Size summary in bytes:
513 // Measured: `366 + r * (57 ±0) + x * (66 ±0)`
514 // Estimated: `13629`
515 // Minimum execution time: 19_771_000 picoseconds.
416 Weight::from_ref_time(41_637_308 as u64)516 Weight::from_parts(18_917_892, 13629)
417 // Standard Error: 1_907517 // Standard Error: 1_957
418 .saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))518 .saturating_add(Weight::from_parts(57_465, 0).saturating_mul(r.into()))
419 // Standard Error: 372519 // Standard Error: 381
420 .saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))520 .saturating_add(Weight::from_parts(168_586, 0).saturating_mul(x.into()))
421 .saturating_add(RocksDbWeight::get().reads(2 as u64))521 .saturating_add(RocksDbWeight::get().reads(2_u64))
422 .saturating_add(RocksDbWeight::get().writes(1 as u64))522 .saturating_add(RocksDbWeight::get().writes(1_u64))
423 }523 }
424 // Storage: Identity IdentityOf (r:1 w:1)524 /// Storage: Identity IdentityOf (r:1 w:1)
525 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
425 /// The range of component `r` is `[1, 20]`.526 /// The range of component `r` is `[1, 20]`.
426 /// The range of component `x` is `[0, 100]`.527 /// The range of component `x` is `[0, 100]`.
427 fn cancel_request(r: u32, x: u32, ) -> Weight {528 fn cancel_request(r: u32, x: u32, ) -> Weight {
428 // Minimum execution time: 39_719 nanoseconds.529 // Proof Size summary in bytes:
530 // Measured: `397 + x * (66 ±0)`
531 // Estimated: `11003`
532 // Minimum execution time: 17_411_000 picoseconds.
429 Weight::from_ref_time(38_008_751 as u64)533 Weight::from_parts(16_856_331, 11003)
430 // Standard Error: 2_394534 // Standard Error: 7_002
431 .saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))535 .saturating_add(Weight::from_parts(34_389, 0).saturating_mul(r.into()))
432 // Standard Error: 467536 // Standard Error: 1_366
433 .saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))537 .saturating_add(Weight::from_parts(165_686, 0).saturating_mul(x.into()))
434 .saturating_add(RocksDbWeight::get().reads(1 as u64))538 .saturating_add(RocksDbWeight::get().reads(1_u64))
435 .saturating_add(RocksDbWeight::get().writes(1 as u64))539 .saturating_add(RocksDbWeight::get().writes(1_u64))
436 }540 }
437 // Storage: Identity Registrars (r:1 w:1)541 /// Storage: Identity Registrars (r:1 w:1)
542 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
438 /// The range of component `r` is `[1, 19]`.543 /// The range of component `r` is `[1, 19]`.
439 fn set_fee(r: u32, ) -> Weight {544 fn set_fee(r: u32, ) -> Weight {
440 // Minimum execution time: 10_634 nanoseconds.545 // Proof Size summary in bytes:
546 // Measured: `88 + r * (57 ±0)`
547 // Estimated: `2626`
548 // Minimum execution time: 7_089_000 picoseconds.
441 Weight::from_ref_time(11_383_704 as u64)549 Weight::from_parts(7_750_487, 2626)
442 // Standard Error: 2_250550 // Standard Error: 1_625
443 .saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))551 .saturating_add(Weight::from_parts(101_135, 0).saturating_mul(r.into()))
444 .saturating_add(RocksDbWeight::get().reads(1 as u64))552 .saturating_add(RocksDbWeight::get().reads(1_u64))
445 .saturating_add(RocksDbWeight::get().writes(1 as u64))553 .saturating_add(RocksDbWeight::get().writes(1_u64))
446 }554 }
447 // Storage: Identity Registrars (r:1 w:1)555 /// Storage: Identity Registrars (r:1 w:1)
556 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
448 /// The range of component `r` is `[1, 19]`.557 /// The range of component `r` is `[1, 19]`.
449 fn set_account_id(r: u32, ) -> Weight {558 fn set_account_id(r: u32, ) -> Weight {
450 // Minimum execution time: 10_840 nanoseconds.559 // Proof Size summary in bytes:
560 // Measured: `88 + r * (57 ±0)`
561 // Estimated: `2626`
562 // Minimum execution time: 6_300_000 picoseconds.
451 Weight::from_ref_time(11_638_740 as u64)563 Weight::from_parts(6_836_140, 2626)
452 // Standard Error: 1_985564 // Standard Error: 655
453 .saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))565 .saturating_add(Weight::from_parts(102_284, 0).saturating_mul(r.into()))
454 .saturating_add(RocksDbWeight::get().reads(1 as u64))566 .saturating_add(RocksDbWeight::get().reads(1_u64))
455 .saturating_add(RocksDbWeight::get().writes(1 as u64))567 .saturating_add(RocksDbWeight::get().writes(1_u64))
456 }568 }
457 // Storage: Identity Registrars (r:1 w:1)569 /// Storage: Identity Registrars (r:1 w:1)
570 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
458 /// The range of component `r` is `[1, 19]`.571 /// The range of component `r` is `[1, 19]`.
459 fn set_fields(r: u32, ) -> Weight {572 fn set_fields(r: u32, ) -> Weight {
460 // Minimum execution time: 10_748 nanoseconds.573 // Proof Size summary in bytes:
574 // Measured: `88 + r * (57 ±0)`
575 // Estimated: `2626`
576 // Minimum execution time: 6_257_000 picoseconds.
461 Weight::from_ref_time(11_346_901 as u64)577 Weight::from_parts(6_917_052, 2626)
462 // Standard Error: 2_132578 // Standard Error: 2_628
463 .saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))579 .saturating_add(Weight::from_parts(71_362, 0).saturating_mul(r.into()))
464 .saturating_add(RocksDbWeight::get().reads(1 as u64))580 .saturating_add(RocksDbWeight::get().reads(1_u64))
465 .saturating_add(RocksDbWeight::get().writes(1 as u64))581 .saturating_add(RocksDbWeight::get().writes(1_u64))
466 }582 }
467 // Storage: Identity Registrars (r:1 w:0)583 /// Storage: Identity Registrars (r:1 w:0)
468 // Storage: Identity IdentityOf (r:1 w:1)584 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
585 /// Storage: Identity IdentityOf (r:1 w:1)
586 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
469 /// The range of component `r` is `[1, 19]`.587 /// The range of component `r` is `[1, 19]`.
470 /// The range of component `x` is `[0, 100]`.588 /// The range of component `x` is `[0, 100]`.
471 fn provide_judgement(r: u32, x: u32, ) -> Weight {589 fn provide_judgement(r: u32, x: u32, ) -> Weight {
472 // Minimum execution time: 33_682 nanoseconds.590 // Proof Size summary in bytes:
591 // Measured: `444 + r * (57 ±0) + x * (66 ±0)`
592 // Estimated: `13629`
593 // Minimum execution time: 16_021_000 picoseconds.
473 Weight::from_ref_time(31_336_603 as u64)594 Weight::from_parts(15_553_670, 13629)
474 // Standard Error: 3_056595 // Standard Error: 5_797
475 .saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))596 .saturating_add(Weight::from_parts(42_423, 0).saturating_mul(r.into()))
476 // Standard Error: 565597 // Standard Error: 1_072
477 .saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))598 .saturating_add(Weight::from_parts(252_721, 0).saturating_mul(x.into()))
478 .saturating_add(RocksDbWeight::get().reads(2 as u64))599 .saturating_add(RocksDbWeight::get().reads(2_u64))
479 .saturating_add(RocksDbWeight::get().writes(1 as u64))600 .saturating_add(RocksDbWeight::get().writes(1_u64))
480 }601 }
481 // Storage: Identity SubsOf (r:1 w:1)602 /// Storage: Identity SubsOf (r:1 w:1)
482 // Storage: Identity IdentityOf (r:1 w:1)603 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
604 /// Storage: Identity IdentityOf (r:1 w:1)
483 // Storage: System Account (r:1 w:1)605 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
606 /// Storage: System Account (r:2 w:2)
484 // Storage: Identity SuperOf (r:0 w:100)607 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
608 /// Storage: Identity SuperOf (r:0 w:100)
609 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
485 /// The range of component `r` is `[1, 20]`.610 /// The range of component `r` is `[1, 20]`.
486 /// The range of component `s` is `[0, 100]`.611 /// The range of component `s` is `[0, 100]`.
487 /// The range of component `x` is `[0, 100]`.612 /// The range of component `x` is `[0, 100]`.
488 fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {613 fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
489 // Minimum execution time: 68_794 nanoseconds.614 // Proof Size summary in bytes:
615 // Measured: `665 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)`
616 // Estimated: `23922`
617 // Minimum execution time: 40_801_000 picoseconds.
490 Weight::from_ref_time(52_114_486 as u64)618 Weight::from_parts(34_079_397, 23922)
491 // Standard Error: 4_808619 // Standard Error: 3_750
492 .saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))620 .saturating_add(Weight::from_parts(31_496, 0).saturating_mul(r.into()))
493 // Standard Error: 939621 // Standard Error: 732
494 .saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))622 .saturating_add(Weight::from_parts(599_691, 0).saturating_mul(s.into()))
495 // Standard Error: 939623 // Standard Error: 732
496 .saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))624 .saturating_add(Weight::from_parts(101_683, 0).saturating_mul(x.into()))
497 .saturating_add(RocksDbWeight::get().reads(3 as u64))625 .saturating_add(RocksDbWeight::get().reads(4_u64))
498 .saturating_add(RocksDbWeight::get().writes(3 as u64))626 .saturating_add(RocksDbWeight::get().writes(4_u64))
499 .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))627 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
500 }628 }
501 // Storage: Identity IdentityOf (r:1 w:1)629 /// Storage: Identity IdentityOf (r:0 w:600)
630 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
502 /// The range of component `x` is `[0, 100]`.631 /// The range of component `x` is `[0, 100]`.
503 /// The range of component `n` is `[0, 600]`.632 /// The range of component `n` is `[0, 600]`.
504 fn force_insert_identities(x: u32, n: u32) -> Weight {633 fn force_insert_identities(x: u32, n: u32, ) -> Weight {
505 // Minimum execution time: 41_872 nanoseconds.634 // Proof Size summary in bytes:
635 // Measured: `0`
636 // Estimated: `0`
637 // Minimum execution time: 4_412_000 picoseconds.
506 Weight::from_ref_time(40_230_216 as u64)638 Weight::from_parts(4_592_000, 0)
507 // Standard Error: 2_342639 // Standard Error: 703_509
508 .saturating_add(Weight::from_ref_time(145_168 as u64))640 .saturating_add(Weight::from_parts(43_647_925, 0).saturating_mul(x.into()))
509 // Standard Error: 457641 // Standard Error: 117_043
510 .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))642 .saturating_add(Weight::from_parts(9_312_431, 0).saturating_mul(n.into()))
511 .saturating_add(RocksDbWeight::get().reads(1 as u64))
512 .saturating_add(RocksDbWeight::get().writes(1 as u64).saturating_mul(n as u64))643 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
513 }644 }
514 // Storage: Identity IdentityOf (r:1 w:1)645 /// Storage: Identity SubsOf (r:600 w:0)
646 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
647 /// Storage: Identity IdentityOf (r:0 w:600)
648 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
515 /// The range of component `x` is `[0, 100]`.649 /// The range of component `x` is `[0, 100]`.
516 /// The range of component `n` is `[0, 600]`.650 /// The range of component `n` is `[0, 600]`.
517 fn force_remove_identities(x: u32, n: u32) -> Weight {651 fn force_remove_identities(x: u32, n: u32, ) -> Weight {
518 // Minimum execution time: 41_872 nanoseconds.652 // Proof Size summary in bytes:
653 // Measured: `41`
654 // Estimated: `990 + n * (5733 ±0)`
655 // Minimum execution time: 3_824_000 picoseconds.
519 Weight::from_ref_time(40_230_216 as u64)656 Weight::from_parts(3_950_000, 990)
520 // Standard Error: 2_342657 // Standard Error: 2_864
521 .saturating_add(Weight::from_ref_time(145_168 as u64))658 .saturating_add(Weight::from_parts(55_678, 0).saturating_mul(x.into()))
522 // Standard Error: 457659 // Standard Error: 476
523 .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))660 .saturating_add(Weight::from_parts(1_138_349, 0).saturating_mul(n.into()))
524 .saturating_add(RocksDbWeight::get().reads(1 as u64))661 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
525 .saturating_add(RocksDbWeight::get().writes(1 as u64).saturating_mul(n as u64))662 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
663 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))
526 }664 }
527 // Storage: Identity IdentityOf (r:1 w:1)665 /// Storage: Identity SubsOf (r:600 w:600)
528 // todo:collator666 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
529 /// The range of component `xs is `[0, 100]`.667 /// Storage: Identity SuperOf (r:0 w:100)
668 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
669 /// The range of component `s` is `[0, 100]`.
530 /// The range of component `n` is `[0, 600]`.670 /// The range of component `n` is `[0, 600]`.
531 fn force_set_subs(s: u32, n: u32) -> Weight {671 fn force_set_subs(s: u32, n: u32, ) -> Weight {
532 // Minimum execution time: 41_872 nanoseconds.672 // Proof Size summary in bytes:
673 // Measured: `41`
674 // Estimated: `990 + n * (5733 ±0)`
675 // Minimum execution time: 4_196_000 picoseconds.
533 Weight::from_ref_time(40_230_216 as u64)676 Weight::from_parts(4_340_000, 990)
534 // Standard Error: 2_342677 // Standard Error: 2_081_979
535 .saturating_add(Weight::from_ref_time(145_168 as u64))678 .saturating_add(Weight::from_parts(130_653_903, 0).saturating_mul(s.into()))
536 // Standard Error: 457679 // Standard Error: 346_381
537 .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(s as u64))680 .saturating_add(Weight::from_parts(23_046_001, 0).saturating_mul(n.into()))
538 .saturating_add(RocksDbWeight::get().reads(1 as u64))681 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
539 .saturating_add(RocksDbWeight::get().writes(1 as u64).saturating_mul(n as u64))682 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
683 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
684 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))
540 }685 }
541 // Storage: Identity IdentityOf (r:1 w:0)686 /// Storage: Identity IdentityOf (r:1 w:0)
542 // Storage: Identity SuperOf (r:1 w:1)687 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
688 /// Storage: Identity SuperOf (r:1 w:1)
543 // Storage: Identity SubsOf (r:1 w:1)689 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
690 /// Storage: Identity SubsOf (r:1 w:1)
691 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
544 /// The range of component `s` is `[0, 99]`.692 /// The range of component `s` is `[0, 99]`.
545 fn add_sub(s: u32, ) -> Weight {693 fn add_sub(s: u32, ) -> Weight {
546 // Minimum execution time: 37_914 nanoseconds.694 // Proof Size summary in bytes:
695 // Measured: `474 + s * (36 ±0)`
696 // Estimated: `21305`
697 // Minimum execution time: 15_289_000 picoseconds.
547 Weight::from_ref_time(43_488_083 as u64)698 Weight::from_parts(21_319_844, 21305)
548 // Standard Error: 1_631699 // Standard Error: 893
549 .saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))700 .saturating_add(Weight::from_parts(53_159, 0).saturating_mul(s.into()))
550 .saturating_add(RocksDbWeight::get().reads(3 as u64))701 .saturating_add(RocksDbWeight::get().reads(3_u64))
551 .saturating_add(RocksDbWeight::get().writes(2 as u64))702 .saturating_add(RocksDbWeight::get().writes(2_u64))
552 }703 }
553 // Storage: Identity IdentityOf (r:1 w:0)704 /// Storage: Identity IdentityOf (r:1 w:0)
554 // Storage: Identity SuperOf (r:1 w:1)705 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
706 /// Storage: Identity SuperOf (r:1 w:1)
707 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
555 /// The range of component `s` is `[1, 100]`.708 /// The range of component `s` is `[1, 100]`.
556 fn rename_sub(s: u32, ) -> Weight {709 fn rename_sub(s: u32, ) -> Weight {
557 // Minimum execution time: 16_124 nanoseconds.710 // Proof Size summary in bytes:
711 // Measured: `590 + s * (3 ±0)`
712 // Estimated: `14582`
713 // Minimum execution time: 9_867_000 picoseconds.
558 Weight::from_ref_time(18_580_462 as u64)714 Weight::from_parts(12_546_245, 14582)
559 // Standard Error: 688715 // Standard Error: 509
560 .saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))716 .saturating_add(Weight::from_parts(10_078, 0).saturating_mul(s.into()))
561 .saturating_add(RocksDbWeight::get().reads(2 as u64))717 .saturating_add(RocksDbWeight::get().reads(2_u64))
562 .saturating_add(RocksDbWeight::get().writes(1 as u64))718 .saturating_add(RocksDbWeight::get().writes(1_u64))
563 }719 }
564 // Storage: Identity IdentityOf (r:1 w:0)720 /// Storage: Identity IdentityOf (r:1 w:0)
565 // Storage: Identity SuperOf (r:1 w:1)721 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
722 /// Storage: Identity SuperOf (r:1 w:1)
566 // Storage: Identity SubsOf (r:1 w:1)723 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
724 /// Storage: Identity SubsOf (r:1 w:1)
725 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
567 /// The range of component `s` is `[1, 100]`.726 /// The range of component `s` is `[1, 100]`.
568 fn remove_sub(s: u32, ) -> Weight {727 fn remove_sub(s: u32, ) -> Weight {
569 // Minimum execution time: 41_517 nanoseconds.728 // Proof Size summary in bytes:
729 // Measured: `637 + s * (35 ±0)`
730 // Estimated: `21305`
731 // Minimum execution time: 19_299_000 picoseconds.
570 Weight::from_ref_time(45_123_530 as u64)732 Weight::from_parts(24_125_576, 21305)
571 // Standard Error: 1_530733 // Standard Error: 1_479
572 .saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))734 .saturating_add(Weight::from_parts(22_611, 0).saturating_mul(s.into()))
573 .saturating_add(RocksDbWeight::get().reads(3 as u64))735 .saturating_add(RocksDbWeight::get().reads(3_u64))
574 .saturating_add(RocksDbWeight::get().writes(2 as u64))736 .saturating_add(RocksDbWeight::get().writes(2_u64))
575 }737 }
576 // Storage: Identity SuperOf (r:1 w:1)738 /// Storage: Identity SuperOf (r:1 w:1)
577 // Storage: Identity SubsOf (r:1 w:1)739 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
740 /// Storage: Identity SubsOf (r:1 w:1)
741 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
578 /// The range of component `s` is `[0, 99]`.742 /// The range of component `s` is `[0, 99]`.
579 fn quit_sub(s: u32, ) -> Weight {743 fn quit_sub(s: u32, ) -> Weight {
580 // Minimum execution time: 30_171 nanoseconds.744 // Proof Size summary in bytes:
745 // Measured: `563 + s * (37 ±0)`
746 // Estimated: `10302`
747 // Minimum execution time: 14_183_000 picoseconds.
581 Weight::from_ref_time(33_355_514 as u64)748 Weight::from_parts(17_343_547, 10302)
582 // Standard Error: 1_286749 // Standard Error: 454
583 .saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))750 .saturating_add(Weight::from_parts(45_925, 0).saturating_mul(s.into()))
584 .saturating_add(RocksDbWeight::get().reads(2 as u64))751 .saturating_add(RocksDbWeight::get().reads(2_u64))
585 .saturating_add(RocksDbWeight::get().writes(2 as u64))752 .saturating_add(RocksDbWeight::get().writes(2_u64))
586 }753 }
587}754}
755
588756