Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into Vvaradinov/add-cancun-shanghai-blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Vvaradinov authored Nov 25, 2022
2 parents ea51b66 + 8866ae0 commit 30b7d74
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 8,427 deletions.
16 changes: 0 additions & 16 deletions x/evm/keeper/migrations.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
package keeper

import (
sdk "github.com/cosmos/cosmos-sdk/types"
v2 "github.com/evmos/ethermint/x/evm/migrations/v2"
v3 "github.com/evmos/ethermint/x/evm/migrations/v3"
)

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

// Migrate1to2 migrates the store from consensus version v1 to v2
func (m Migrator) Migrate1to2(ctx sdk.Context) error {
return v2.MigrateStore(ctx, &m.keeper.paramSpace)
}

// Migrate2to3 migrates the store from consensus version v2 to v3
func (m Migrator) Migrate2to3(ctx sdk.Context) error {
return v3.MigrateStore(ctx, &m.keeper.paramSpace)
}
31 changes: 0 additions & 31 deletions x/evm/keeper/migrations_test.go

This file was deleted.

19 changes: 0 additions & 19 deletions x/evm/migrations/v2/migrate.go

This file was deleted.

47 changes: 0 additions & 47 deletions x/evm/migrations/v2/migrate_test.go

This file was deleted.

167 changes: 0 additions & 167 deletions x/evm/migrations/v2/types/chain_config.go

This file was deleted.

Loading

0 comments on commit 30b7d74

Please sign in to comment.