Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion substrate/frame/nomination-pools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3467,7 +3467,13 @@ impl<T: Config> Pallet<T> {
/// Check if any pool have an incorrect amount of ED frozen.
///
/// This can happen if the ED has changed since the pool was created.
#[cfg(any(feature = "try-runtime", feature = "runtime-benchmarks", test, debug_assertions))]
#[cfg(any(
feature = "try-runtime",
feature = "runtime-benchmarks",
feature = "fuzzing",
test,
debug_assertions
))]
pub fn check_ed_imbalance() -> Result<(), DispatchError> {
let mut failed: u32 = 0;
BondedPools::<T>::iter_keys().for_each(|id| {
Expand Down