From 5e311bec32c3a5d99014bde806ec7d491f3c1d65 Mon Sep 17 00:00:00 2001 From: Matthew Witkowski Date: Mon, 30 Oct 2023 14:25:29 -0400 Subject: [PATCH] Lint code. --- x/ibcratelimit/client/cli/query.go | 3 ++- x/ibcratelimit/keeper/keeper.go | 4 +++- x/ibcratelimit/keeper/query_server.go | 1 + x/ibcratelimit/packet.go | 1 + x/ibcratelimit/simulation/genesis.go | 1 + 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/x/ibcratelimit/client/cli/query.go b/x/ibcratelimit/client/cli/query.go index 26ed5d8d14..2a187f9110 100644 --- a/x/ibcratelimit/client/cli/query.go +++ b/x/ibcratelimit/client/cli/query.go @@ -4,10 +4,11 @@ import ( "context" "fmt" + "github.com/spf13/cobra" + "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" - "github.com/spf13/cobra" "github.com/provenance-io/provenance/x/ibcratelimit" ) diff --git a/x/ibcratelimit/keeper/keeper.go b/x/ibcratelimit/keeper/keeper.go index 447aa3f6e7..7e4ff353cf 100644 --- a/x/ibcratelimit/keeper/keeper.go +++ b/x/ibcratelimit/keeper/keeper.go @@ -1,11 +1,13 @@ package keeper import ( + "github.com/tendermint/tendermint/libs/log" + "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/provenance-io/provenance/x/ibcratelimit" - "github.com/tendermint/tendermint/libs/log" ) type Keeper struct { diff --git a/x/ibcratelimit/keeper/query_server.go b/x/ibcratelimit/keeper/query_server.go index 2804c8a8df..0c86c99f5b 100644 --- a/x/ibcratelimit/keeper/query_server.go +++ b/x/ibcratelimit/keeper/query_server.go @@ -4,6 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/provenance-io/provenance/x/ibcratelimit" ) diff --git a/x/ibcratelimit/packet.go b/x/ibcratelimit/packet.go index 1981eb27bd..c10983c3b7 100644 --- a/x/ibcratelimit/packet.go +++ b/x/ibcratelimit/packet.go @@ -4,6 +4,7 @@ import ( "encoding/json" errorsmod "cosmossdk.io/errors" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" transfertypes "github.com/cosmos/ibc-go/v6/modules/apps/transfer/types" clienttypes "github.com/cosmos/ibc-go/v6/modules/core/02-client/types" diff --git a/x/ibcratelimit/simulation/genesis.go b/x/ibcratelimit/simulation/genesis.go index 541c014e0e..00d04eadcf 100644 --- a/x/ibcratelimit/simulation/genesis.go +++ b/x/ibcratelimit/simulation/genesis.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/cosmos/cosmos-sdk/types/module" + "github.com/provenance-io/provenance/x/ibcratelimit" )