Skip to content

Commit

Permalink
Merge pull request #91 from thesixnetwork/develop
Browse files Browse the repository at this point in the history
fix(nftmngr): 🐛 migration wrong version
  • Loading branch information
dDeedev authored Oct 1, 2024
2 parents 917c48e + 8de46b2 commit 9bc97d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions x/nftmngr/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ func (am AppModule) RegisterServices(cfg module.Configurator) {
types.RegisterQueryServer(cfg.QueryServer(), am.keeper)

m := keeper.NewMigrator(am.keeper)
err := cfg.RegisterMigration(types.ModuleName, 2, m.Migrate2toV3)
if err != nil {
panic(err)
}
err = cfg.RegisterMigration(types.ModuleName, 3, m.NoOpStoreMigrate)
// err := cfg.RegisterMigration(types.ModuleName, 1, m.Migrate2toV3)
// if err != nil {
// panic(err)
// }
err := cfg.RegisterMigration(types.ModuleName, 2, m.NoOpStoreMigrate)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 9bc97d1

Please sign in to comment.