mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 17:21:08 +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:
@@ -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