referrerpolicy=no-referrer-when-downgrade

pallet_people/
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//! Autogenerated weights for pallet_ranked_collective
19//!
20//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
21//! DATE: 2022-05-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
22//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
23
24// Executed Command:
25// /Users/gav/Core/substrate/target/release/substrate
26// benchmark
27// pallet
28// --pallet
29// pallet-ranked-collective
30// --extrinsic=*
31// --chain=dev
32// --steps=50
33// --repeat=20
34// --output=../../../frame/ranked-collective/src/weights.rs
35// --template=../../../.maintain/frame-weight-template.hbs
36// --header=../../../HEADER-APACHE2
37// --record-proof
38
39#![cfg_attr(rustfmt, rustfmt_skip)]
40#![allow(unused_parens)]
41#![allow(unused_imports)]
42
43use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
44use core::marker::PhantomData;
45
46/// Weight functions needed for pallet_ranked_collective.
47pub trait WeightInfo {
48	fn under_alias() -> Weight;
49	fn set_alias_account() -> Weight;
50	fn unset_alias_account() -> Weight;
51	fn reset_root() -> Weight;
52	fn force_recognize_personhood() -> Weight;
53	fn set_personal_id_account() -> Weight;
54	fn unset_personal_id_account() -> Weight;
55	fn set_onboarding_size() -> Weight;
56	fn merge_rings() -> Weight;
57	fn migrate_included_key() -> Weight;
58	fn migrate_onboarding_key() -> Weight;
59	fn should_build_ring(n: u32) -> Weight;
60	fn build_ring(n: u32) -> Weight;
61	fn onboard_people() -> Weight;
62	fn remove_suspended_people(n: u32) -> Weight;
63	fn pending_suspensions_iteration() -> Weight;
64	fn migrate_keys_single_included_key() -> Weight;
65	fn merge_queue_pages() -> Weight;
66	fn as_person_alias_with_account() -> Weight;
67	fn as_person_identity_with_account() -> Weight;
68	fn as_person_alias_with_proof() -> Weight;
69	fn as_person_identity_with_proof() -> Weight;
70	fn on_poll_base() -> Weight;
71	fn on_idle_base() -> Weight;
72}
73
74pub struct SubstrateWeight<T>(PhantomData<T>);
75impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
76	fn under_alias() -> Weight {
77		Weight::zero()
78	}
79
80	fn set_alias_account() -> Weight {
81		Weight::zero()
82	}
83
84	fn unset_alias_account() -> Weight {
85		Weight::zero()
86	}
87
88	fn reset_root() -> Weight {
89		Weight::zero()
90	}
91
92	fn force_recognize_personhood() -> Weight {
93		Weight::zero()
94	}
95
96	fn set_personal_id_account() -> Weight {
97		Weight::zero()
98	}
99
100	fn unset_personal_id_account() -> Weight {
101		Weight::zero()
102	}
103
104	fn set_onboarding_size() -> Weight {
105		Weight::zero()
106	}
107
108	fn merge_rings() -> Weight {
109		Weight::zero()
110	}
111
112	fn migrate_included_key() -> Weight {
113		Weight::zero()
114	}
115
116	fn migrate_onboarding_key() -> Weight {
117		Weight::zero()
118	}
119
120	fn should_build_ring(_n: u32) -> Weight {
121		Weight::zero()
122	}
123
124	fn build_ring(_n: u32) -> Weight {
125		Weight::zero()
126	}
127
128	fn onboard_people() -> Weight {
129		Weight::zero()
130	}
131
132	fn remove_suspended_people(_n: u32) -> Weight {
133		Weight::zero()
134	}
135
136	fn pending_suspensions_iteration() -> Weight {
137		Weight::zero()
138	}
139
140	fn migrate_keys_single_included_key() -> Weight {
141		Weight::zero()
142	}
143
144	fn merge_queue_pages() -> Weight {
145		Weight::zero()
146	}
147
148	fn as_person_alias_with_account() -> Weight {
149		Weight::zero()
150	}
151
152	fn as_person_identity_with_account() -> Weight {
153		Weight::zero()
154	}
155
156	fn as_person_alias_with_proof() -> Weight {
157		Weight::zero()
158	}
159
160	fn as_person_identity_with_proof() -> Weight {
161		Weight::zero()
162	}
163
164	fn on_poll_base() -> Weight {
165		Weight::zero()
166	}
167
168	fn on_idle_base() -> Weight {
169		Weight::zero()
170	}
171}
172
173// For backwards compatibility and tests
174impl WeightInfo for () {
175	fn under_alias() -> Weight {
176		Weight::zero()
177	}
178
179	fn set_alias_account() -> Weight {
180		Weight::zero()
181	}
182
183	fn unset_alias_account() -> Weight {
184		Weight::zero()
185	}
186
187	fn reset_root() -> Weight {
188		Weight::zero()
189	}
190
191	fn force_recognize_personhood() -> Weight {
192		Weight::zero()
193	}
194
195	fn set_personal_id_account() -> Weight {
196		Weight::zero()
197	}
198
199	fn unset_personal_id_account() -> Weight {
200		Weight::zero()
201	}
202
203	fn set_onboarding_size() -> Weight {
204		Weight::zero()
205	}
206
207	fn merge_rings() -> Weight {
208		Weight::zero()
209	}
210
211	fn migrate_included_key() -> Weight {
212		Weight::zero()
213	}
214
215	fn migrate_onboarding_key() -> Weight {
216		Weight::zero()
217	}
218
219	fn should_build_ring(_n: u32) -> Weight {
220		Weight::zero()
221	}
222
223	fn build_ring(_n: u32) -> Weight {
224		Weight::zero()
225	}
226
227	fn onboard_people() -> Weight {
228		Weight::zero()
229	}
230
231	fn remove_suspended_people(_n: u32) -> Weight {
232		Weight::zero()
233	}
234
235	fn pending_suspensions_iteration() -> Weight {
236		Weight::zero()
237	}
238
239	fn migrate_keys_single_included_key() -> Weight {
240		Weight::zero()
241	}
242
243	fn merge_queue_pages() -> Weight {
244		Weight::zero()
245	}
246
247	fn as_person_alias_with_account() -> Weight {
248		Weight::zero()
249	}
250	
251	fn as_person_identity_with_account() -> Weight {
252		Weight::zero()
253	}
254
255	fn as_person_alias_with_proof() -> Weight {
256		Weight::zero()
257	}
258
259	fn as_person_identity_with_proof() -> Weight {
260		Weight::zero()
261	}
262
263	fn on_poll_base() -> Weight {
264		Weight::zero()
265	}
266
267	fn on_idle_base() -> Weight {
268		Weight::zero()
269	}
270}