orml_parameters/
weights.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(clippy::unnecessary_cast)]

use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;

pub trait WeightInfo {
	fn set_parameter() -> Weight;
}

impl WeightInfo for () {
	fn set_parameter() -> Weight {
		RocksDbWeight::get().reads_writes(2, 1)
	}
}