Skip to content

Commit

Permalink
chore: remove unused ArgumentFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandar Brayanov committed Jan 7, 2025
1 parent 1b709ba commit 73b2878
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pallets/data-preservers/src/benchmarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,6 @@ use {
tp_traits::{ParaId, StorageDeposit},
};

/// Trait describing factory function for para_id.
pub trait ArgumentFactory<AcocuntId> {
/// Factory function reserving parachain
fn reserve_para_id(para_id: ParaId);
}

/// Dummy implementation for when the factory is not needed.
impl<AccountId> ArgumentFactory<AccountId> for () {
fn reserve_para_id(_para_id: ParaId) {}
}

macro_rules! bset {
( $($value:expr),* $(,)? ) => {
{
Expand Down

0 comments on commit 73b2878

Please sign in to comment.