pallet_transaction_fees/
weights.rs1use crate::WeightInfo;
5use core::marker::PhantomData;
6use frame_support::traits::Get;
7use frame_support::weights::Weight;
8
9#[derive(Debug)]
10pub struct SubstrateWeight<T>(PhantomData<T>);
11
12impl<T> WeightInfo for SubstrateWeight<T>
13where
14 T: frame_system::Config,
15{
16 fn on_initialize() -> Weight {
17 Weight::from_parts(10_000, 10_000)
19 .saturating_add(T::DbWeight::get().reads(4_u64))
20 .saturating_add(T::DbWeight::get().writes(4_u64))
21 }
22}