Skip to content

Commit e7825cc

Browse files
robert-zarembaJeancarloBarrios
authored andcommitted
feat(bank): enable 0.46.5 bank migration fix through migrator keeper (cosmos#13929)
1 parent 8ff023e commit e7825cc

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
@@ -26,3 +26,9 @@ func (m Migrator) Migrate2to3(ctx context.Context) error {
2626
func (m Migrator) Migrate3to4(ctx context.Context) error {
2727
return nil
2828
}
29+
30+
// Migrate3_V046_4_To_V046_5 fixes migrations from version 2 to for chains based on SDK 0.46.0 - v0.46.4 ONLY.
31+
// See v046.Migrate_V046_4_To_V046_5 for more details.
32+
func (m Migrator) Migrate3_V046_4_To_V046_5(ctx sdk.Context) error {
33+
return v046.Migrate_V046_4_To_V046_5(ctx.KVStore(m.keeper.storeKey))
34+
}

0 commit comments

Comments
 (0)