referrerpolicy=no-referrer-when-downgrade

Module migration

Source
Expand description

A module that is responsible for migration of storage.

Modules§

v0
This module contains data structures that are valid for the initial state of 0. (used with v1 migration).
v1
This migration updates RelayerRewards where RewardsAccountParams was used as the key with lane_id as the first attribute, which affects into_sub_account_truncating. We are migrating this key to use the new RewardsAccountParams where lane_id is the last attribute.
v2
The pallet in version 1 only supported rewards collected under the key of RewardsAccountParams. This migration essentially converts existing RewardsAccountParams keys to the generic type T::Reward.

Constants§

STORAGE_VERSION
The in-code storage version.