Skip to content

Commit 1382b72

Browse files
committed
fix: benchmarks
1 parent 1094fba commit 1382b72

5 files changed

+15
-0
lines changed

runtimes/peregrine/src/weights/pallet_bonded_assets.rs

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
use frame_support::{traits::Get, weights::Weight};
4444
use sp_std::marker::PhantomData;
4545

46+
// TODO: Remove once the benchmarking stuff fully supports pallet instances.
47+
use pallet_assets as pallet_bonded_assets;
48+
4649
/// Weight functions for `pallet_bonded_assets`.
4750
pub struct WeightInfo<T>(PhantomData<T>);
4851
impl<T: frame_system::Config> pallet_bonded_assets::WeightInfo for WeightInfo<T> {

runtimes/peregrine/src/weights/pallet_technical_committee_collective.rs

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
use frame_support::{traits::Get, weights::Weight};
4444
use sp_std::marker::PhantomData;
4545

46+
// TODO: Remove once the benchmarking stuff fully supports pallet instances.
47+
use pallet_collective as pallet_technical_committee_collective;
48+
4649
/// Weight functions for `pallet_technical_committee_collective`.
4750
pub struct WeightInfo<T>(PhantomData<T>);
4851
impl<T: frame_system::Config> pallet_technical_committee_collective::WeightInfo for WeightInfo<T> {

runtimes/peregrine/src/weights/pallet_technical_membership.rs

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
use frame_support::{traits::Get, weights::Weight};
4444
use sp_std::marker::PhantomData;
4545

46+
// TODO: Remove once the benchmarking stuff fully supports pallet instances.
47+
use pallet_membership as pallet_technical_membership;
48+
4649
/// Weight functions for `pallet_technical_membership`.
4750
pub struct WeightInfo<T>(PhantomData<T>);
4851
impl<T: frame_system::Config> pallet_technical_membership::WeightInfo for WeightInfo<T> {

runtimes/spiritnet/src/weights/pallet_technical_committee_collective.rs

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
use frame_support::{traits::Get, weights::Weight};
4444
use sp_std::marker::PhantomData;
4545

46+
// TODO: Remove once the benchmarking stuff fully supports pallet instances.
47+
use pallet_collective as pallet_technical_committee_collective;
48+
4649
/// Weight functions for `pallet_technical_committee_collective`.
4750
pub struct WeightInfo<T>(PhantomData<T>);
4851
impl<T: frame_system::Config> pallet_technical_committee_collective::WeightInfo for WeightInfo<T> {

runtimes/spiritnet/src/weights/pallet_technical_membership.rs

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
use frame_support::{traits::Get, weights::Weight};
4444
use sp_std::marker::PhantomData;
4545

46+
// TODO: Remove once the benchmarking stuff fully supports pallet instances.
47+
use pallet_membership as pallet_technical_membership;
48+
4649
/// Weight functions for `pallet_technical_membership`.
4750
pub struct WeightInfo<T>(PhantomData<T>);
4851
impl<T: frame_system::Config> pallet_technical_membership::WeightInfo for WeightInfo<T> {

0 commit comments

Comments
 (0)