Skip to content

Commit 8cce748

Browse files
feat(bank): enable 0.46.5 bank migration fix through migrator keeper (#13929)
1 parent 2f55513 commit 8cce748

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

x/bank/keeper/migrations.go

+6
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,9 @@ func (m Migrator) Migrate1to2(ctx sdk.Context) error {
2525
func (m Migrator) Migrate2to3(ctx sdk.Context) error {
2626
return v046.MigrateStore(ctx, m.keeper.storeKey, m.keeper.cdc)
2727
}
28+
29+
// Migrate3_V046_4_To_V046_5 fixes migrations from version 2 to for chains based on SDK 0.46.0 - v0.46.4 ONLY.
30+
// See v046.Migrate_V046_4_To_V046_5 for more details.
31+
func (m Migrator) Migrate3_V046_4_To_V046_5(ctx sdk.Context) error {
32+
return v046.Migrate_V046_4_To_V046_5(ctx.KVStore(m.keeper.storeKey))
33+
}

0 commit comments

Comments
 (0)