referrerpolicy=no-referrer-when-downgrade
pallet_bridge_relayers

Module migration

Source
Expand description

A module that is responsible for migration of storage.

Modules§

  • This module contains data structures that are valid for the initial state of 0. (used with v1 migration).
  • 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.
  • 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§