Update the frame-weight-template to use PhantomData from core (#13844)

* update weights template and recalculate weights from pallet template

* update template file in benchmarking-cli
This commit is contained in:
alexd10s
2023-04-06 17:19:46 +01:00
committed by GitHub
parent b0d99a084a
commit 23de70a536
5 changed files with 8 additions and 10 deletions
@@ -17,7 +17,7 @@
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions for `{{pallet}}`.
pub struct WeightInfo<T>(PhantomData<T>);