mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-27 21:09:57 +00:00
Allow pallet's info to be enumerated (#10053)
* Allow pallet's info to be enumerated * Fixes * Formatting * Flat tuple for getting all pallet instances * Renaming and fixing reversedness * Formatting * Fixes * Back to nesting * Back to nestingx * Revert executive lib * Reversions * Reversions * Fixes * Fixes * Formatting * Fixes * Spelling * Comments
This commit is contained in:
1 parent
1660bc8cf2
commit
1dc753eb08
9 files changed
+187
-7
No files matched your search
@@ -58,9 +58,9 @@ impl PalletVersionToStorageVersionHelper for T {
|
||||
///
|
||||
/// This will remove all `PalletVersion's` from the state and insert the current storage version.
|
||||
pub fn migrate_from_pallet_version_to_storage_version<
|
||||
AllPallets: PalletVersionToStorageVersionHelper,
|
||||
Pallets: PalletVersionToStorageVersionHelper,
|
||||
>(
|
||||
db_weight: &RuntimeDbWeight,
|
||||
) -> Weight {
|
||||
AllPallets::migrate(db_weight)
|
||||
Pallets::migrate(db_weight)
|
||||
}
|
||||
Reference in new issue
Block a user