Skip to content

Commit 4e4899a

Browse files
committed
fixup! chore: benchmark peregrine runtime
1 parent 99bcbbf commit 4e4899a

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

runtimes/peregrine/src/weights/pallet_bonded_assets.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
use frame_support::{traits::Get, weights::Weight};
4545
use sp_std::marker::PhantomData;
4646

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

runtimes/peregrine/src/weights/pallet_collators.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
use frame_support::{traits::Get, weights::Weight};
4545
use sp_std::marker::PhantomData;
4646

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

runtimes/peregrine/src/weights/pallet_technical_committee_collective.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
use frame_support::{traits::Get, weights::Weight};
4545
use sp_std::marker::PhantomData;
4646

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

runtimes/peregrine/src/weights/pallet_technical_membership.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
use frame_support::{traits::Get, weights::Weight};
4545
use sp_std::marker::PhantomData;
4646

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

0 commit comments

Comments
 (0)