mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-22 19:56:20 +00:00
[Fix] Benchmark issue in staking (#12290)
This commit is contained in:
1 parent
1b24f562e6
commit
63c2e288bf
1 file changed
+5
@@ -1377,6 +1377,11 @@ impl<T: Config> SortedListProvider<T::AccountId> for UseValidatorsMap<T> {
|
||||
#[allow(deprecated)]
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user