referrerpolicy=no-referrer-when-downgrade

Module migration

Module migration 

Source
Expand description

Storage migrations for the dmp pallet.

MigrateV0ToV1 translates the old Vec-per-para layout (v0::DownwardMessageQueues) into the paged layout (DownwardMessageQueueMeta + DownwardMessageQueuePages).

Modules§

v0
The OLD (pre-paged) storage layout.

Structs§

MigrateV0ToV1
Migrate v0::DownwardMessageQueues into the paged layout.

Enums§

MigrationCursor
Resume position for MigrateV0ToV1. Returning Ok(None) ends the migration; while v0::DownwardMessageQueues has data, return Some(_).

Constants§

STORAGE_VERSION
The in-code storage version.