Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
[bajun-runtime] add comments to the individual migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Feb 11, 2024
1 parent dc7a512 commit fca9491
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions runtime/bajun/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,20 @@ type Migrations = (
// Can use the actual migration from substrate. Basically a no-op except for
// setting the storage version and hence very cheap.
pallet_preimage::migration::v1::Migration<Runtime>,
// The parachain_systems pallet has already run internal migrations.
// all that is needed is to set the storage version correctly.
migrations_fix::parachain_systems::MigrateV0ToV2<Runtime>,
// This is a no-op because it translates storage values of
// an empty vector. So it will only set the storage version.
pallet_xcm::migration::v1::MigrateToV1<Runtime>,
// The xcmp_queue pallet has already run internal migrations.
// all that is needed is to set the storage version correctly.
migrations_fix::xcmp_queue::MigrateV0ToV3<Runtime>,
// The dmp_queue pallet has already run internal migrations.
// all that is needed is to set the storage version correctly.
migrations_fix::dmp_queue::MigrateV0ToV3<Runtime>,
);

// type Migrations = (pallet_ajuna_awesome_avatars::migration::v6::MigrateToV6<Runtime>,);

/// Handles converting a weight scalar to a fee value, based on the scale and granularity of the
/// node's balance type.
///
Expand Down

0 comments on commit fca9491

Please sign in to comment.