From 5f37907da726f862b2f6f0dad993de38e8332096 Mon Sep 17 00:00:00 2001 From: Shreevatsa N Date: Sun, 26 May 2024 12:01:11 +0530 Subject: [PATCH] Address review comments Signed-off-by: Shreevatsa N --- .../membership/src/{benchmark.rs => benchmarking.rs} | 0 substrate/frame/membership/src/lib.rs | 9 +++++++++ 2 files changed, 9 insertions(+) rename substrate/frame/membership/src/{benchmark.rs => benchmarking.rs} (100%) diff --git a/substrate/frame/membership/src/benchmark.rs b/substrate/frame/membership/src/benchmarking.rs similarity index 100% rename from substrate/frame/membership/src/benchmark.rs rename to substrate/frame/membership/src/benchmarking.rs diff --git a/substrate/frame/membership/src/lib.rs b/substrate/frame/membership/src/lib.rs index 12686ae890d28..0bd562144d1c2 100644 --- a/substrate/frame/membership/src/lib.rs +++ b/substrate/frame/membership/src/lib.rs @@ -33,6 +33,15 @@ use sp_std::prelude::*; pub mod migrations; pub mod weights; +#[cfg(any(feature = "mock", test))] +pub mod mock; + +#[cfg(feature = "runtime-benchmarks")] +pub mod benchmarking; + +#[cfg(test)] +mod tests; + pub use pallet::*; pub use weights::WeightInfo;