Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Apr 19, 2024
1 parent 69aaadc commit 8231e45
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions x/emissions/migrations/v3/migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func TestMigrate(t *testing.T) {
params, found := k.GetParams(ctx)
require.True(t, found)
legacyParams.ObserverSlashAmount = sdkmath.NewInt(100000000000000000)
legacyParams.BallotMaturityBlocks = 100
require.Equal(t, legacyParams, params)
})

Expand Down
12 changes: 6 additions & 6 deletions x/observer/keeper/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@ func NewMigrator(keeper Keeper) Migrator {
}

// Migrate1to2 migrates the store from consensus version 1 to 2
func (m Migrator) Migrate1to2(ctx sdk.Context) error {
func (m Migrator) Migrate1to2(_ sdk.Context) error {
return nil
}

// Migrate2to3 migrates the store from consensus version 2 to 3
func (m Migrator) Migrate2to3(ctx sdk.Context) error {
func (m Migrator) Migrate2to3(_ sdk.Context) error {
return nil
}

func (m Migrator) Migrate3to4(ctx sdk.Context) error {
func (m Migrator) Migrate3to4(_ sdk.Context) error {
return nil
}

func (m Migrator) Migrate4to5(ctx sdk.Context) error {
func (m Migrator) Migrate4to5(_ sdk.Context) error {
return nil
}

func (m Migrator) Migrate5to6(ctx sdk.Context) error {
func (m Migrator) Migrate5to6(_ sdk.Context) error {
return nil
}

// Migrate6to7 migrates the store from consensus version 6 to 7
func (m Migrator) Migrate6to7(ctx sdk.Context) error {
func (m Migrator) Migrate6to7(_ sdk.Context) error {
return nil
}

0 comments on commit 8231e45

Please sign in to comment.