diff --git a/x/auth/migrations/v5/doc.go b/x/auth/migrations/v5/doc.go deleted file mode 100644 index 0e04902f80a1..000000000000 --- a/x/auth/migrations/v5/doc.go +++ /dev/null @@ -1,4 +0,0 @@ -// v5 is an empty package that exists because of the group module. -// the group module v2 migration actually migrates the auth module state (replace group policies accounts from module accounts to base accounts). -// the auth state does not migrate if the group module is not enabled. -package v5 diff --git a/x/auth/module.go b/x/auth/module.go index 3431f205a250..61cf7c34b643 100644 --- a/x/auth/module.go +++ b/x/auth/module.go @@ -145,11 +145,6 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { if err := cfg.RegisterMigration(types.ModuleName, 3, m.Migrate3to4); err != nil { panic(fmt.Sprintf("failed to migrate x/%s from version 3 to 4: %v", types.ModuleName, err)) } - - // see migrations/v5/doc.go - if err := cfg.RegisterMigration(types.ModuleName, 4, func(ctx sdk.Context) error { return nil }); err != nil { - panic(fmt.Sprintf("failed to migrate x/%s from version 4 to 5: %v", types.ModuleName, err)) - } } // InitGenesis performs genesis initialization for the auth module. It returns