Skip to content

Commit

Permalink
fix: benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ad96el committed Jan 17, 2025
1 parent 1b7012a commit 403e2b6
Show file tree
Hide file tree
Showing 9 changed files with 27 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
3 changes: 3 additions & 0 deletions runtimes/peregrine/src/weights/pallet_dot_names.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_web3_names as pallet_dot_names;

/// Weight functions for `pallet_dot_names`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_dot_names::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
3 changes: 3 additions & 0 deletions runtimes/peregrine/src/weights/pallet_unique_linking.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_did_lookup as pallet_unique_linking;

/// Weight functions for `pallet_unique_linking`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_unique_linking::WeightInfo for WeightInfo<T> {
Expand Down
3 changes: 3 additions & 0 deletions runtimes/spiritnet/src/weights/pallet_dot_names.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_web3_names as pallet_dot_names;

/// Weight functions for `pallet_dot_names`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_dot_names::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
3 changes: 3 additions & 0 deletions runtimes/spiritnet/src/weights/pallet_unique_linking.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_did_lookup as pallet_unique_linking;

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

0 comments on commit 403e2b6

Please sign in to comment.