From 8231e457c89a22e0fe752e7d57bf92b032b1c366 Mon Sep 17 00:00:00 2001 From: skosito Date: Fri, 19 Apr 2024 02:40:47 +0200 Subject: [PATCH] Fix build --- x/emissions/migrations/v3/migrate_test.go | 1 + x/observer/keeper/migrator.go | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/x/emissions/migrations/v3/migrate_test.go b/x/emissions/migrations/v3/migrate_test.go index c36bf3b77d..fabdb05f2a 100644 --- a/x/emissions/migrations/v3/migrate_test.go +++ b/x/emissions/migrations/v3/migrate_test.go @@ -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) }) diff --git a/x/observer/keeper/migrator.go b/x/observer/keeper/migrator.go index 0c3d85613b..13ce8b52a8 100644 --- a/x/observer/keeper/migrator.go +++ b/x/observer/keeper/migrator.go @@ -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 }