Skip to content

Commit

Permalink
chore(claims): Delete deprecated migration logic (#1126)
Browse files Browse the repository at this point in the history
* (refactor): Delete old migrations

* (fix): linter issues
  • Loading branch information
Vvaradinov committed Nov 30, 2022
1 parent 37711e1 commit 24f51ed
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 1,947 deletions.
14 changes: 0 additions & 14 deletions x/claims/keeper/migrations.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
package keeper

import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"

v2 "github.com/evmos/evmos/v10/x/claims/migrations/v2"
)

var _ module.MigrationHandler = Migrator{}.Migrate1to2

// Migrator is a struct for handling in-place store migrations.
type Migrator struct {
keeper Keeper
Expand All @@ -20,8 +11,3 @@ func NewMigrator(keeper Keeper) Migrator {
keeper: keeper,
}
}

// Migrate1to2 migrates from consensus version 1 to 2.
func (m Migrator) Migrate1to2(ctx sdk.Context) error {
return v2.MigrateStore(ctx, &m.keeper.paramstore)
}
Loading

0 comments on commit 24f51ed

Please sign in to comment.