Skip to content

Commit 99bcbbf

Browse files
committed
fixup! chore: benchmark spirinet
1 parent 3ba6723 commit 99bcbbf

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

runtimes/spiritnet/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/spiritnet/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/spiritnet/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)