pallet_dummy_dim/
weights.rs1#![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
46pub trait WeightInfo {
48 fn reserve_ids(c: u32) -> Weight;
49 fn renew_id_reservation() -> Weight;
50 fn cancel_id_reservation() -> Weight;
51 fn recognize_personhood(c: u32) -> Weight;
52 fn suspend_personhood(c: u32) -> Weight;
53 fn resume_personhood() -> Weight;
54 fn start_mutation_session() -> Weight;
55 fn end_mutation_session() -> Weight;
56}
57
58pub struct SubstrateWeight<T>(PhantomData<T>);
60impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
61 fn reserve_ids(_c: u32) -> Weight { Weight::zero() }
62 fn renew_id_reservation() -> Weight { Weight::zero() }
63 fn cancel_id_reservation() -> Weight { Weight::zero() }
64 fn recognize_personhood(_c: u32) -> Weight { Weight::zero() }
65 fn suspend_personhood(_c: u32) -> Weight { Weight::zero() }
66 fn resume_personhood() -> Weight { Weight::zero() }
67 fn start_mutation_session() -> Weight { Weight::zero() }
68 fn end_mutation_session() -> Weight { Weight::zero() }
69}
70
71impl WeightInfo for () {
73 fn reserve_ids(_c: u32) -> Weight { Weight::zero() }
74 fn renew_id_reservation() -> Weight { Weight::zero() }
75 fn cancel_id_reservation() -> Weight { Weight::zero() }
76 fn recognize_personhood(_c: u32) -> Weight { Weight::zero() }
77 fn suspend_personhood(_c: u32) -> Weight { Weight::zero() }
78 fn resume_personhood() -> Weight { Weight::zero() }
79 fn start_mutation_session() -> Weight { Weight::zero() }
80 fn end_mutation_session() -> Weight { Weight::zero() }
81}