Skip to content

Commit

Permalink
add bank migration 3 to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
colmazia committed Oct 4, 2023
1 parent a45e6cb commit 8fc14e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/bank/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,8 @@ func (am AppModule) RegisterServices(cfg module.Configurator) {
if err := cfg.RegisterMigration(types.ModuleName, 2, m.Migrate2to3); err != nil {
panic(fmt.Sprintf("failed to migrate x/bank from version 2 to 3: %v", err))
}

if err := cfg.RegisterMigration(types.ModuleName, 3, m.Migrate3to4); err != nil {
panic(fmt.Sprintf("failed to migrate x/bank from version 3 to 4: %v", err))
}
}

0 comments on commit 8fc14e9

Please sign in to comment.