mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
* fix renames * fix test * cargo update -p sp-io * bump implement version * bumpd spec version, to be safe * bump version correctly Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a425f3fa9a
commit
a3c60b245f
@@ -128,19 +128,19 @@ impl<T: pallet_bags_list::Config + pallet_staking::Config> SortedListProvider<T:
|
||||
pallet_bags_list::Pallet::<T>::on_remove(id);
|
||||
}
|
||||
|
||||
fn regenerate(
|
||||
fn unsafe_regenerate(
|
||||
all: impl IntoIterator<Item = T::AccountId>,
|
||||
weight_of: Box<dyn Fn(&T::AccountId) -> VoteWeight>,
|
||||
) -> u32 {
|
||||
pallet_bags_list::Pallet::<T>::regenerate(all, weight_of)
|
||||
pallet_bags_list::Pallet::<T>::unsafe_regenerate(all, weight_of)
|
||||
}
|
||||
|
||||
fn sanity_check() -> Result<(), &'static str> {
|
||||
pallet_bags_list::Pallet::<T>::sanity_check()
|
||||
}
|
||||
|
||||
fn clear(count: Option<u32>) -> u32 {
|
||||
pallet_bags_list::Pallet::<T>::clear(count)
|
||||
fn unsafe_clear() {
|
||||
pallet_bags_list::Pallet::<T>::unsafe_clear()
|
||||
}
|
||||
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
|
||||
Reference in New Issue
Block a user