Expand description
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
.
Structs§
- Migrates the pallet storage to v2.
Type Aliases§
UncheckedMigrationV1ToV2
wrapped in aVersionedMigration
, ensuring the migration is only performed when on-chain version is 1.