Skip to content

Commit

Permalink
clesnup migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Jan 8, 2025
1 parent 21c3df7 commit ac1b2bb
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions x/evm/keeper/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
package keeper

import (
sdk "github.com/cosmos/cosmos-sdk/types"
v4 "github.com/zeta-chain/ethermint/x/evm/migrations/v4"
v5 "github.com/zeta-chain/ethermint/x/evm/migrations/v5"
"github.com/zeta-chain/ethermint/x/evm/types"
)

Expand All @@ -35,13 +32,3 @@ func NewMigrator(keeper Keeper, legacySubspace types.Subspace) Migrator {
legacySubspace: legacySubspace,
}
}

// Migrate3to4 migrates the store from consensus version 3 to 4
func (m Migrator) Migrate3to4(ctx sdk.Context) error {
return v4.MigrateStore(ctx, m.keeper.storeKey, m.legacySubspace, m.keeper.cdc)
}

// Migrate4to5 migrates the store from consensus version 4 to 5
func (m Migrator) Migrate4to5(ctx sdk.Context) error {
return v5.MigrateStore(ctx, m.keeper.storeKey, m.keeper.cdc)
}

0 comments on commit ac1b2bb

Please sign in to comment.