mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 22:51:13 +00:00
Fix pallet bags list and doc (#10231)
* fix bags list * improve doc * doc * inner doc * fix test * Update docs in frame/election-provider-support/src/lib.rs * fix staking impl * prepend unsafe to clear and regenerate * fix test Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
committed by
GitHub
parent
798e01bf9b
commit
9756615d5b
@@ -40,7 +40,7 @@ pub mod v8 {
|
||||
if StorageVersion::<T>::get() == crate::Releases::V7_0_0 {
|
||||
crate::log!(info, "migrating staking to Releases::V8_0_0");
|
||||
|
||||
let migrated = T::SortedListProvider::regenerate(
|
||||
let migrated = T::SortedListProvider::unsafe_regenerate(
|
||||
Nominators::<T>::iter().map(|(id, _)| id),
|
||||
Pallet::<T>::weight_of_fn(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user