Skip to content

Commit

Permalink
group migration should be in #13742
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Nov 4, 2022
1 parent bb6cc7d commit 04ed453
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 58 deletions.
21 changes: 0 additions & 21 deletions x/group/keeper/migrations.go

This file was deleted.

17 changes: 0 additions & 17 deletions x/group/migrations/v2/migrate.go

This file was deleted.

14 changes: 0 additions & 14 deletions x/group/migrations/v2/migrator_test.go

This file was deleted.

6 changes: 0 additions & 6 deletions x/group/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
"github.com/cosmos/cosmos-sdk/x/gov/types"
"github.com/cosmos/cosmos-sdk/x/group"
"github.com/cosmos/cosmos-sdk/x/group/client/cli"
"github.com/cosmos/cosmos-sdk/x/group/keeper"
Expand Down Expand Up @@ -138,11 +137,6 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw
func (am AppModule) RegisterServices(cfg module.Configurator) {
group.RegisterMsgServer(cfg.MsgServer(), am.keeper)
group.RegisterQueryServer(cfg.QueryServer(), am.keeper)

m := keeper.NewMigrator(am.keeper)
if err := cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2); err != nil {
panic(fmt.Sprintf("failed to migrate x/%s from version 1 to 2: %v", types.ModuleName, err))
}
}

// ConsensusVersion implements AppModule/ConsensusVersion.
Expand Down

0 comments on commit 04ed453

Please sign in to comment.