Skip to content

Commit

Permalink
fix: benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ad96el committed Feb 19, 2025
1 parent 1094fba commit 1382b72
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtimes/peregrine/src/weights/pallet_bonded_assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

// TODO: Remove once the benchmarking stuff fully supports pallet instances.
use pallet_assets as pallet_bonded_assets;

/// Weight functions for `pallet_bonded_assets`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_bonded_assets::WeightInfo for WeightInfo<T> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

// TODO: Remove once the benchmarking stuff fully supports pallet instances.
use pallet_collective as pallet_technical_committee_collective;

/// Weight functions for `pallet_technical_committee_collective`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_technical_committee_collective::WeightInfo for WeightInfo<T> {
Expand Down
3 changes: 3 additions & 0 deletions runtimes/peregrine/src/weights/pallet_technical_membership.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

// TODO: Remove once the benchmarking stuff fully supports pallet instances.
use pallet_membership as pallet_technical_membership;

/// Weight functions for `pallet_technical_membership`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_technical_membership::WeightInfo for WeightInfo<T> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

// TODO: Remove once the benchmarking stuff fully supports pallet instances.
use pallet_collective as pallet_technical_committee_collective;

/// Weight functions for `pallet_technical_committee_collective`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_technical_committee_collective::WeightInfo for WeightInfo<T> {
Expand Down
3 changes: 3 additions & 0 deletions runtimes/spiritnet/src/weights/pallet_technical_membership.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

// TODO: Remove once the benchmarking stuff fully supports pallet instances.
use pallet_membership as pallet_technical_membership;

/// Weight functions for `pallet_technical_membership`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_technical_membership::WeightInfo for WeightInfo<T> {
Expand Down

0 comments on commit 1382b72

Please sign in to comment.