Skip to content

Commit

Permalink
fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Dec 11, 2023
1 parent 4026fa6 commit 6ab2c7c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions libs/mocks/src/pools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,18 @@ pub mod pallet {
type Balance = T::Balance;
type PoolId = T::PoolId;

fn bench_create_funded_pool(a: Self::PoolId, b: &Self::AccountId) {}
fn bench_create_funded_pool(_: Self::PoolId, _: &Self::AccountId) {}

fn bench_investor_setup(a: Self::PoolId, b: Self::AccountId, c: Self::Balance) {}
fn bench_investor_setup(_: Self::PoolId, _: Self::AccountId, _: Self::Balance) {}
}

#[cfg(feature = "runtime-benchmarks")]
impl<T: Config> cfg_traits::benchmarking::InvestmentIdBenchmarkHelper for Pallet<T> {
type InvestmentId = T::TrancheCurrency;
type PoolId = T::PoolId;

fn bench_default_investment_id(a: Self::PoolId) -> Self::InvestmentId {}
fn bench_default_investment_id(_: Self::PoolId) -> Self::InvestmentId {
unimplemented!();
}
}
}

0 comments on commit 6ab2c7c

Please sign in to comment.