Structs§
- Enter
Safe Mode OnFailed Migration - Enter safe mode on a failed runtime upgrade.
- Freeze
Chain OnFailed Migration - Do now allow any transactions to be processed after a runtime upgrade failed.
- Migration
Id - A generic migration identifier that can be used by MBMs.
- Remove
Pallet RemovePallet
is a utility struct used to remove all storage items associated with a specific pallet.- Remove
Storage RemoveStorage
is a utility struct used to remove a storage item from a specific pallet.- Versioned
Migration - Handles storage migration pallet versioning.
Enums§
- Failed
Migration Handling - How to proceed after a runtime upgrade failed.
- Stepped
Migration Error - Error that can occur during a
SteppedMigration
. - Versioned
Post Upgrade Data - A helper enum to wrap the pre_upgrade bytes like an Option before passing them to post_upgrade. This enum is used rather than an Option to make the API clearer to the developer.
Traits§
- Failed
Migration Handler - Handles a failed runtime migration.
- Migration
Status Handler - Notification handler for status updates regarding Multi-Block-Migrations.
- Multi
Step Migrator - Something that can do multi step migrations.
- Pallet
Version ToStorage Version Helper - Trait used by
migrate_from_pallet_version_to_storage_version
to do the actual migration. - Stepped
Migration - A migration that can proceed in multiple steps.
- Stepped
Migrations - Multiple
SteppedMigration
. - Store
InCode Storage Version - Can store the in-code pallet version on-chain.
Functions§
- migrate_
from_ pallet_ version_ to_ storage_ version - Migrate from the
PalletVersion
struct to the newStorageVersion
struct.