Module v2

Source
Expand description

Migration module for the MSA pallet.

Modules§

vec
A contiguous growable array type with heap-allocated contents, written Vec<T>.

Macros§

vec
Creates a Vec containing the arguments.

Structs§

MigrationProgressV2_Storage_Instance
MigrationStatus
Storage item to track migration progress for Paseo

Constants§

MAX_ITEMS_PER_BLOCK

Functions§

migrate_provider_entries_batch
Core migration function that can be called from both contexts
on_initialize_migration
Hook-based multi-block migration for Frequency Provider Migration This should be called from your pallet’s on_initialize hook

Type Aliases§

BlockNumberFor
Type alias for the BlockNumber associated type of system config.
MigrationProgressV2
Storage for tracking migration progress