mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 23:41:02 +00:00
[Fix] Benchmark issue in staking (#12290)
This commit is contained in:
@@ -1377,6 +1377,11 @@ impl<T: Config> SortedListProvider<T::AccountId> for UseValidatorsMap<T> {
|
|||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
Validators::<T>::remove_all();
|
Validators::<T>::remove_all();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "runtime-benchmarks")]
|
||||||
|
fn score_update_worst_case(_who: &T::AccountId, _is_increase: bool) -> Self::Score {
|
||||||
|
unimplemented!()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A simple voter list implementation that does not require any additional pallets. Note, this
|
/// A simple voter list implementation that does not require any additional pallets. Note, this
|
||||||
|
|||||||
Reference in New Issue
Block a user