pallet_permission0/
weights.rs

1
2//! Autogenerated weights for `pallet_permission0`
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0
5//! DATE: 2025-08-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
6//! WORST CASE MAP SIZE: `1000000`
7//! HOSTNAME: `Luizs-MacBook-Pro.local`, CPU: `<UNKNOWN>`
8//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
9
10// Executed Command:
11// ./target/release/torus-node
12// benchmark
13// pallet
14// --pallet
15// pallet_permission0
16// --chain
17// dev
18// --extrinsic
19// *
20// --steps
21// 50
22// --repeat
23// 20
24// --output
25// pallets/permission0/src/weights.rs
26// --template=./.maintain/frame-weight-template.hbs
27
28#![cfg_attr(rustfmt, rustfmt_skip)]
29#![allow(unused_parens)]
30#![allow(unused_imports)]
31#![allow(missing_docs)]
32
33use polkadot_sdk::{
34    frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}},
35    *,
36};
37use core::marker::PhantomData;
38
39/// Weight functions needed for `pallet_permission0`.
40pub trait WeightInfo {
41	fn delegate_stream_permission() -> Weight;
42	fn revoke_permission() -> Weight;
43	fn execute_permission() -> Weight;
44	fn toggle_permission_accumulation() -> Weight;
45	fn enforcement_execute_permission() -> Weight;
46	fn set_enforcement_authority() -> Weight;
47	fn delegate_curator_permission() -> Weight;
48	fn update_namespace_permission() -> Weight;
49	fn delegate_namespace_permission() -> Weight;
50}
51
52/// Weights for `pallet_permission0` using the Substrate node and recommended hardware.
53pub struct SubstrateWeight<T>(PhantomData<T>);
54impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
55	/// Storage: `Torus0::Agents` (r:2 w:0)
56	/// Proof: `Torus0::Agents` (`max_values`: None, `max_size`: Some(857), added: 3332, mode: `MaxEncodedLen`)
57	/// Storage: `Permission0::AccumulatedStreamAmounts` (r:1 w:1)
58	/// Proof: `Permission0::AccumulatedStreamAmounts` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`)
59	/// Storage: `Permission0::Permissions` (r:1 w:1)
60	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
61	/// Storage: `Permission0::PermissionsByParticipants` (r:1 w:1)
62	/// Proof: `Permission0::PermissionsByParticipants` (`max_values`: None, `max_size`: Some(3266), added: 5741, mode: `MaxEncodedLen`)
63	/// Storage: `Permission0::PermissionsByRecipient` (r:1 w:1)
64	/// Proof: `Permission0::PermissionsByRecipient` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
65	/// Storage: `Permission0::PermissionsByDelegator` (r:1 w:1)
66	/// Proof: `Permission0::PermissionsByDelegator` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
67	fn delegate_stream_permission() -> Weight {
68		// Proof Size summary in bytes:
69		//  Measured:  `275`
70		//  Estimated: `71354`
71		// Minimum execution time: 28_000_000 picoseconds.
72		Weight::from_parts(28_000_000, 71354)
73			.saturating_add(T::DbWeight::get().reads(7_u64))
74			.saturating_add(T::DbWeight::get().writes(5_u64))
75	}
76	/// Storage: `Permission0::Permissions` (r:1 w:1)
77	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
78	/// Storage: `Permission0::PermissionsByParticipants` (r:1 w:1)
79	/// Proof: `Permission0::PermissionsByParticipants` (`max_values`: None, `max_size`: Some(3266), added: 5741, mode: `MaxEncodedLen`)
80	/// Storage: `Permission0::PermissionsByRecipient` (r:1 w:1)
81	/// Proof: `Permission0::PermissionsByRecipient` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
82	/// Storage: `Permission0::PermissionsByDelegator` (r:1 w:1)
83	/// Proof: `Permission0::PermissionsByDelegator` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
84	/// Storage: `Permission0::AccumulatedStreamAmounts` (r:0 w:1)
85	/// Proof: `Permission0::AccumulatedStreamAmounts` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`)
86	/// Storage: `Permission0::RevocationTracking` (r:0 w:1)
87	/// Proof: `Permission0::RevocationTracking` (`max_values`: None, `max_size`: Some(353), added: 2828, mode: `MaxEncodedLen`)
88	fn revoke_permission() -> Weight {
89		// Proof Size summary in bytes:
90		//  Measured:  `625`
91		//  Estimated: `71354`
92		// Minimum execution time: 25_000_000 picoseconds.
93		Weight::from_parts(26_000_000, 71354)
94			.saturating_add(T::DbWeight::get().reads(4_u64))
95			.saturating_add(T::DbWeight::get().writes(6_u64))
96	}
97	/// Storage: `Permission0::Permissions` (r:1 w:1)
98	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
99	/// Storage: `Permission0::AccumulatedStreamAmounts` (r:2 w:1)
100	/// Proof: `Permission0::AccumulatedStreamAmounts` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`)
101	/// Storage: `System::Account` (r:1 w:0)
102	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
103	fn execute_permission() -> Weight {
104		// Proof Size summary in bytes:
105		//  Measured:  `580`
106		//  Estimated: `71354`
107		// Minimum execution time: 34_000_000 picoseconds.
108		Weight::from_parts(35_000_000, 71354)
109			.saturating_add(T::DbWeight::get().reads(4_u64))
110			.saturating_add(T::DbWeight::get().writes(2_u64))
111	}
112	/// Storage: `Permission0::Permissions` (r:1 w:1)
113	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
114	/// Storage: `Permission0::EnforcementTracking` (r:0 w:1)
115	/// Proof: `Permission0::EnforcementTracking` (`max_values`: None, `max_size`: Some(355), added: 2830, mode: `MaxEncodedLen`)
116	fn toggle_permission_accumulation() -> Weight {
117		// Proof Size summary in bytes:
118		//  Measured:  `427`
119		//  Estimated: `71354`
120		// Minimum execution time: 12_000_000 picoseconds.
121		Weight::from_parts(13_000_000, 71354)
122			.saturating_add(T::DbWeight::get().reads(1_u64))
123			.saturating_add(T::DbWeight::get().writes(2_u64))
124	}
125	/// Storage: `Permission0::Permissions` (r:1 w:1)
126	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
127	/// Storage: `Permission0::EnforcementTracking` (r:1 w:1)
128	/// Proof: `Permission0::EnforcementTracking` (`max_values`: None, `max_size`: Some(355), added: 2830, mode: `MaxEncodedLen`)
129	/// Storage: `Permission0::AccumulatedStreamAmounts` (r:2 w:1)
130	/// Proof: `Permission0::AccumulatedStreamAmounts` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`)
131	/// Storage: `System::Account` (r:1 w:0)
132	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
133	fn enforcement_execute_permission() -> Weight {
134		// Proof Size summary in bytes:
135		//  Measured:  `617`
136		//  Estimated: `71354`
137		// Minimum execution time: 40_000_000 picoseconds.
138		Weight::from_parts(41_000_000, 71354)
139			.saturating_add(T::DbWeight::get().reads(5_u64))
140			.saturating_add(T::DbWeight::get().writes(3_u64))
141	}
142	/// Storage: `Permission0::Permissions` (r:1 w:1)
143	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
144	fn set_enforcement_authority() -> Weight {
145		// Proof Size summary in bytes:
146		//  Measured:  `427`
147		//  Estimated: `71354`
148		// Minimum execution time: 14_000_000 picoseconds.
149		Weight::from_parts(14_000_000, 71354)
150			.saturating_add(T::DbWeight::get().reads(1_u64))
151			.saturating_add(T::DbWeight::get().writes(1_u64))
152	}
153	/// Storage: `Permission0::Permissions` (r:1 w:1)
154	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
155	/// Storage: `Permission0::PermissionsByParticipants` (r:1 w:1)
156	/// Proof: `Permission0::PermissionsByParticipants` (`max_values`: None, `max_size`: Some(3266), added: 5741, mode: `MaxEncodedLen`)
157	/// Storage: `Permission0::PermissionsByRecipient` (r:1 w:1)
158	/// Proof: `Permission0::PermissionsByRecipient` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
159	/// Storage: `Permission0::PermissionsByDelegator` (r:1 w:1)
160	/// Proof: `Permission0::PermissionsByDelegator` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
161	fn delegate_curator_permission() -> Weight {
162		// Proof Size summary in bytes:
163		//  Measured:  `42`
164		//  Estimated: `71354`
165		// Minimum execution time: 15_000_000 picoseconds.
166		Weight::from_parts(16_000_000, 71354)
167			.saturating_add(T::DbWeight::get().reads(4_u64))
168			.saturating_add(T::DbWeight::get().writes(4_u64))
169	}
170	/// Storage: `Permission0::Permissions` (r:1 w:1)
171	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
172	fn update_namespace_permission() -> Weight {
173		// Proof Size summary in bytes:
174		//  Measured:  `331`
175		//  Estimated: `71354`
176		// Minimum execution time: 9_000_000 picoseconds.
177		Weight::from_parts(10_000_000, 71354)
178			.saturating_add(T::DbWeight::get().reads(1_u64))
179			.saturating_add(T::DbWeight::get().writes(1_u64))
180	}
181	/// Storage: `Torus0::Agents` (r:4 w:0)
182	/// Proof: `Torus0::Agents` (`max_values`: None, `max_size`: Some(857), added: 3332, mode: `MaxEncodedLen`)
183	/// Storage: `Permission0::Permissions` (r:3 w:2)
184	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
185	/// Storage: `Torus0::Namespaces` (r:2 w:0)
186	/// Proof: `Torus0::Namespaces` (`max_values`: None, `max_size`: Some(347), added: 2822, mode: `MaxEncodedLen`)
187	/// Storage: `Permission0::PermissionsByParticipants` (r:1 w:1)
188	/// Proof: `Permission0::PermissionsByParticipants` (`max_values`: None, `max_size`: Some(3266), added: 5741, mode: `MaxEncodedLen`)
189	/// Storage: `Permission0::PermissionsByRecipient` (r:1 w:1)
190	/// Proof: `Permission0::PermissionsByRecipient` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
191	/// Storage: `Permission0::PermissionsByDelegator` (r:1 w:1)
192	/// Proof: `Permission0::PermissionsByDelegator` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
193	fn delegate_namespace_permission() -> Weight {
194		// Proof Size summary in bytes:
195		//  Measured:  `1788`
196		//  Estimated: `212082`
197		// Minimum execution time: 64_000_000 picoseconds.
198		Weight::from_parts(68_000_000, 212082)
199			.saturating_add(T::DbWeight::get().reads(12_u64))
200			.saturating_add(T::DbWeight::get().writes(5_u64))
201	}
202}
203
204// For backwards compatibility and tests.
205impl WeightInfo for () {
206	/// Storage: `Torus0::Agents` (r:2 w:0)
207	/// Proof: `Torus0::Agents` (`max_values`: None, `max_size`: Some(857), added: 3332, mode: `MaxEncodedLen`)
208	/// Storage: `Permission0::AccumulatedStreamAmounts` (r:1 w:1)
209	/// Proof: `Permission0::AccumulatedStreamAmounts` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`)
210	/// Storage: `Permission0::Permissions` (r:1 w:1)
211	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
212	/// Storage: `Permission0::PermissionsByParticipants` (r:1 w:1)
213	/// Proof: `Permission0::PermissionsByParticipants` (`max_values`: None, `max_size`: Some(3266), added: 5741, mode: `MaxEncodedLen`)
214	/// Storage: `Permission0::PermissionsByRecipient` (r:1 w:1)
215	/// Proof: `Permission0::PermissionsByRecipient` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
216	/// Storage: `Permission0::PermissionsByDelegator` (r:1 w:1)
217	/// Proof: `Permission0::PermissionsByDelegator` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
218	fn delegate_stream_permission() -> Weight {
219		// Proof Size summary in bytes:
220		//  Measured:  `275`
221		//  Estimated: `71354`
222		// Minimum execution time: 28_000_000 picoseconds.
223		Weight::from_parts(28_000_000, 71354)
224			.saturating_add(RocksDbWeight::get().reads(7_u64))
225			.saturating_add(RocksDbWeight::get().writes(5_u64))
226	}
227	/// Storage: `Permission0::Permissions` (r:1 w:1)
228	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
229	/// Storage: `Permission0::PermissionsByParticipants` (r:1 w:1)
230	/// Proof: `Permission0::PermissionsByParticipants` (`max_values`: None, `max_size`: Some(3266), added: 5741, mode: `MaxEncodedLen`)
231	/// Storage: `Permission0::PermissionsByRecipient` (r:1 w:1)
232	/// Proof: `Permission0::PermissionsByRecipient` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
233	/// Storage: `Permission0::PermissionsByDelegator` (r:1 w:1)
234	/// Proof: `Permission0::PermissionsByDelegator` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
235	/// Storage: `Permission0::AccumulatedStreamAmounts` (r:0 w:1)
236	/// Proof: `Permission0::AccumulatedStreamAmounts` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`)
237	/// Storage: `Permission0::RevocationTracking` (r:0 w:1)
238	/// Proof: `Permission0::RevocationTracking` (`max_values`: None, `max_size`: Some(353), added: 2828, mode: `MaxEncodedLen`)
239	fn revoke_permission() -> Weight {
240		// Proof Size summary in bytes:
241		//  Measured:  `625`
242		//  Estimated: `71354`
243		// Minimum execution time: 25_000_000 picoseconds.
244		Weight::from_parts(26_000_000, 71354)
245			.saturating_add(RocksDbWeight::get().reads(4_u64))
246			.saturating_add(RocksDbWeight::get().writes(6_u64))
247	}
248	/// Storage: `Permission0::Permissions` (r:1 w:1)
249	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
250	/// Storage: `Permission0::AccumulatedStreamAmounts` (r:2 w:1)
251	/// Proof: `Permission0::AccumulatedStreamAmounts` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`)
252	/// Storage: `System::Account` (r:1 w:0)
253	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
254	fn execute_permission() -> Weight {
255		// Proof Size summary in bytes:
256		//  Measured:  `580`
257		//  Estimated: `71354`
258		// Minimum execution time: 34_000_000 picoseconds.
259		Weight::from_parts(35_000_000, 71354)
260			.saturating_add(RocksDbWeight::get().reads(4_u64))
261			.saturating_add(RocksDbWeight::get().writes(2_u64))
262	}
263	/// Storage: `Permission0::Permissions` (r:1 w:1)
264	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
265	/// Storage: `Permission0::EnforcementTracking` (r:0 w:1)
266	/// Proof: `Permission0::EnforcementTracking` (`max_values`: None, `max_size`: Some(355), added: 2830, mode: `MaxEncodedLen`)
267	fn toggle_permission_accumulation() -> Weight {
268		// Proof Size summary in bytes:
269		//  Measured:  `427`
270		//  Estimated: `71354`
271		// Minimum execution time: 12_000_000 picoseconds.
272		Weight::from_parts(13_000_000, 71354)
273			.saturating_add(RocksDbWeight::get().reads(1_u64))
274			.saturating_add(RocksDbWeight::get().writes(2_u64))
275	}
276	/// Storage: `Permission0::Permissions` (r:1 w:1)
277	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
278	/// Storage: `Permission0::EnforcementTracking` (r:1 w:1)
279	/// Proof: `Permission0::EnforcementTracking` (`max_values`: None, `max_size`: Some(355), added: 2830, mode: `MaxEncodedLen`)
280	/// Storage: `Permission0::AccumulatedStreamAmounts` (r:2 w:1)
281	/// Proof: `Permission0::AccumulatedStreamAmounts` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`)
282	/// Storage: `System::Account` (r:1 w:0)
283	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
284	fn enforcement_execute_permission() -> Weight {
285		// Proof Size summary in bytes:
286		//  Measured:  `617`
287		//  Estimated: `71354`
288		// Minimum execution time: 40_000_000 picoseconds.
289		Weight::from_parts(41_000_000, 71354)
290			.saturating_add(RocksDbWeight::get().reads(5_u64))
291			.saturating_add(RocksDbWeight::get().writes(3_u64))
292	}
293	/// Storage: `Permission0::Permissions` (r:1 w:1)
294	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
295	fn set_enforcement_authority() -> Weight {
296		// Proof Size summary in bytes:
297		//  Measured:  `427`
298		//  Estimated: `71354`
299		// Minimum execution time: 14_000_000 picoseconds.
300		Weight::from_parts(14_000_000, 71354)
301			.saturating_add(RocksDbWeight::get().reads(1_u64))
302			.saturating_add(RocksDbWeight::get().writes(1_u64))
303	}
304	/// Storage: `Permission0::Permissions` (r:1 w:1)
305	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
306	/// Storage: `Permission0::PermissionsByParticipants` (r:1 w:1)
307	/// Proof: `Permission0::PermissionsByParticipants` (`max_values`: None, `max_size`: Some(3266), added: 5741, mode: `MaxEncodedLen`)
308	/// Storage: `Permission0::PermissionsByRecipient` (r:1 w:1)
309	/// Proof: `Permission0::PermissionsByRecipient` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
310	/// Storage: `Permission0::PermissionsByDelegator` (r:1 w:1)
311	/// Proof: `Permission0::PermissionsByDelegator` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
312	fn delegate_curator_permission() -> Weight {
313		// Proof Size summary in bytes:
314		//  Measured:  `42`
315		//  Estimated: `71354`
316		// Minimum execution time: 15_000_000 picoseconds.
317		Weight::from_parts(16_000_000, 71354)
318			.saturating_add(RocksDbWeight::get().reads(4_u64))
319			.saturating_add(RocksDbWeight::get().writes(4_u64))
320	}
321	/// Storage: `Permission0::Permissions` (r:1 w:1)
322	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
323	fn update_namespace_permission() -> Weight {
324		// Proof Size summary in bytes:
325		//  Measured:  `331`
326		//  Estimated: `71354`
327		// Minimum execution time: 9_000_000 picoseconds.
328		Weight::from_parts(10_000_000, 71354)
329			.saturating_add(RocksDbWeight::get().reads(1_u64))
330			.saturating_add(RocksDbWeight::get().writes(1_u64))
331	}
332	/// Storage: `Torus0::Agents` (r:4 w:0)
333	/// Proof: `Torus0::Agents` (`max_values`: None, `max_size`: Some(857), added: 3332, mode: `MaxEncodedLen`)
334	/// Storage: `Permission0::Permissions` (r:3 w:2)
335	/// Proof: `Permission0::Permissions` (`max_values`: None, `max_size`: Some(67889), added: 70364, mode: `MaxEncodedLen`)
336	/// Storage: `Torus0::Namespaces` (r:2 w:0)
337	/// Proof: `Torus0::Namespaces` (`max_values`: None, `max_size`: Some(347), added: 2822, mode: `MaxEncodedLen`)
338	/// Storage: `Permission0::PermissionsByParticipants` (r:1 w:1)
339	/// Proof: `Permission0::PermissionsByParticipants` (`max_values`: None, `max_size`: Some(3266), added: 5741, mode: `MaxEncodedLen`)
340	/// Storage: `Permission0::PermissionsByRecipient` (r:1 w:1)
341	/// Proof: `Permission0::PermissionsByRecipient` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
342	/// Storage: `Permission0::PermissionsByDelegator` (r:1 w:1)
343	/// Proof: `Permission0::PermissionsByDelegator` (`max_values`: None, `max_size`: Some(3234), added: 5709, mode: `MaxEncodedLen`)
344	fn delegate_namespace_permission() -> Weight {
345		// Proof Size summary in bytes:
346		//  Measured:  `1788`
347		//  Estimated: `212082`
348		// Minimum execution time: 64_000_000 picoseconds.
349		Weight::from_parts(68_000_000, 212082)
350			.saturating_add(RocksDbWeight::get().reads(12_u64))
351			.saturating_add(RocksDbWeight::get().writes(5_u64))
352	}
353}