From c422ce12e651c9052301de18c008cc4d72e94be5 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Thu, 21 Sep 2023 16:15:19 +0200 Subject: [PATCH] lint --- util/sdkutil/msg.go | 2 +- x/oracle/keeper/historic_avg.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/sdkutil/msg.go b/util/sdkutil/msg.go index 94be8a9aff..e08b95f11d 100644 --- a/util/sdkutil/msg.go +++ b/util/sdkutil/msg.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/golang/protobuf/proto" + "github.com/gogo/protobuf/proto" ) // StartMsg unpacks sdk.Context and validates msg. diff --git a/x/oracle/keeper/historic_avg.go b/x/oracle/keeper/historic_avg.go index 8e354e0b4a..820da66ee5 100644 --- a/x/oracle/keeper/historic_avg.go +++ b/x/oracle/keeper/historic_avg.go @@ -153,7 +153,7 @@ func (k Keeper) SetHistoricAvgCounterParams(ctx sdk.Context, acp types.AvgCounte } // GetHistoricAvgCounterParams gets the avg period and avg shift time duration from store -func (k Keeper) GetHistoricAvgCounterParams(ctx sdk.Context) types.AvgCounterParams { +func (k Keeper) GetHistoricAvgCounterParams(_ sdk.Context) types.AvgCounterParams { return types.DefaultAvgCounterParams() // TODO: investigate why we don't have record! // kvs := ctx.KVStore(k.storeKey)