orml_parameters/weights.rs
1#![cfg_attr(rustfmt, rustfmt_skip)]
2#![allow(unused_parens)]
3#![allow(unused_imports)]
4#![allow(clippy::unnecessary_cast)]
5
6use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
7use sp_std::marker::PhantomData;
8
9pub trait WeightInfo {
10 fn set_parameter() -> Weight;
11}
12
13impl WeightInfo for () {
14 fn set_parameter() -> Weight {
15 RocksDbWeight::get().reads_writes(2, 1)
16 }
17}