From 7352f15c6392cc056cef30bc4dce38020b85a920 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 1 Oct 2024 16:36:55 +0800 Subject: [PATCH] lint --- .golangci.yml | 2 +- app/ante/ante_test.go | 1 + app/upgrades.go | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index bea16f24..e0db6fdb 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -9,9 +9,9 @@ run: linters: disable-all: true enable: + - copyloopvar - errcheck - dogsled - - exportloopref - goconst - gocritic - gci diff --git a/app/ante/ante_test.go b/app/ante/ante_test.go index 5b0cf8f1..26d260a1 100644 --- a/app/ante/ante_test.go +++ b/app/ante/ante_test.go @@ -2,6 +2,7 @@ package ante import ( "testing" + "github.com/osmosis-labs/fee-abstraction/v8/x/feeabs/types" feemarketante "github.com/skip-mev/feemarket/x/feemarket/ante" feemarkettypes "github.com/skip-mev/feemarket/x/feemarket/types" diff --git a/app/upgrades.go b/app/upgrades.go index 071534cd..18e9f8e9 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -76,7 +76,6 @@ func (app *EveApp) RegisterUpgradeHandlers() { func setupLegacyKeyTables(k *paramskeeper.Keeper) { for _, subspace := range k.GetSubspaces() { - subspace := subspace var keyTable paramstypes.KeyTable switch subspace.Name() {