From 4db5fd11cc83c0324261e4e7a6ba63dab4261ea7 Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Mon, 31 May 2021 17:28:14 +0200 Subject: [PATCH] Run go fmt ./... (#207) --- modules/apps/transfer/keeper/keeper.go | 2 +- modules/apps/transfer/simulation/decoder_test.go | 2 +- modules/core/02-client/simulation/decoder_test.go | 2 +- modules/core/03-connection/simulation/decoder_test.go | 2 +- modules/core/04-channel/simulation/decoder_test.go | 2 +- modules/core/05-port/keeper/keeper_test.go | 2 +- modules/core/simulation/decoder_test.go | 2 +- modules/light-clients/09-localhost/types/localhost_test.go | 2 +- testing/simapp/simd/cmd/cmd_test.go | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/apps/transfer/keeper/keeper.go b/modules/apps/transfer/keeper/keeper.go index 2ec1b68f80f..08c75a26a0e 100644 --- a/modules/apps/transfer/keeper/keeper.go +++ b/modules/apps/transfer/keeper/keeper.go @@ -11,10 +11,10 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/cosmos/ibc-go/modules/apps/transfer/types" channeltypes "github.com/cosmos/ibc-go/modules/core/04-channel/types" host "github.com/cosmos/ibc-go/modules/core/24-host" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" ) // Keeper defines the IBC fungible transfer keeper diff --git a/modules/apps/transfer/simulation/decoder_test.go b/modules/apps/transfer/simulation/decoder_test.go index b4198136c02..08885a340a7 100644 --- a/modules/apps/transfer/simulation/decoder_test.go +++ b/modules/apps/transfer/simulation/decoder_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/ibc-go/testing/simapp" "github.com/cosmos/cosmos-sdk/types/kv" "github.com/cosmos/ibc-go/modules/apps/transfer/simulation" "github.com/cosmos/ibc-go/modules/apps/transfer/types" + "github.com/cosmos/ibc-go/testing/simapp" ) func TestDecodeStore(t *testing.T) { diff --git a/modules/core/02-client/simulation/decoder_test.go b/modules/core/02-client/simulation/decoder_test.go index 4903fefeab2..f1c0ca51459 100644 --- a/modules/core/02-client/simulation/decoder_test.go +++ b/modules/core/02-client/simulation/decoder_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/ibc-go/testing/simapp" "github.com/cosmos/cosmos-sdk/types/kv" "github.com/cosmos/ibc-go/modules/core/02-client/simulation" "github.com/cosmos/ibc-go/modules/core/02-client/types" host "github.com/cosmos/ibc-go/modules/core/24-host" ibctmtypes "github.com/cosmos/ibc-go/modules/light-clients/07-tendermint/types" + "github.com/cosmos/ibc-go/testing/simapp" ) func TestDecodeStore(t *testing.T) { diff --git a/modules/core/03-connection/simulation/decoder_test.go b/modules/core/03-connection/simulation/decoder_test.go index 981da4002d9..177f43a9d14 100644 --- a/modules/core/03-connection/simulation/decoder_test.go +++ b/modules/core/03-connection/simulation/decoder_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/ibc-go/testing/simapp" "github.com/cosmos/cosmos-sdk/types/kv" "github.com/cosmos/ibc-go/modules/core/03-connection/simulation" "github.com/cosmos/ibc-go/modules/core/03-connection/types" host "github.com/cosmos/ibc-go/modules/core/24-host" + "github.com/cosmos/ibc-go/testing/simapp" ) func TestDecodeStore(t *testing.T) { diff --git a/modules/core/04-channel/simulation/decoder_test.go b/modules/core/04-channel/simulation/decoder_test.go index 0f6f83a9308..4beeb40aa89 100644 --- a/modules/core/04-channel/simulation/decoder_test.go +++ b/modules/core/04-channel/simulation/decoder_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/ibc-go/testing/simapp" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" "github.com/cosmos/ibc-go/modules/core/04-channel/simulation" "github.com/cosmos/ibc-go/modules/core/04-channel/types" host "github.com/cosmos/ibc-go/modules/core/24-host" + "github.com/cosmos/ibc-go/testing/simapp" ) func TestDecodeStore(t *testing.T) { diff --git a/modules/core/05-port/keeper/keeper_test.go b/modules/core/05-port/keeper/keeper_test.go index 75d1064f8dd..bdca5bef297 100644 --- a/modules/core/05-port/keeper/keeper_test.go +++ b/modules/core/05-port/keeper/keeper_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/ibc-go/testing/simapp" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/ibc-go/modules/core/05-port/keeper" + "github.com/cosmos/ibc-go/testing/simapp" ) var ( diff --git a/modules/core/simulation/decoder_test.go b/modules/core/simulation/decoder_test.go index af023fed7db..4a24a05c5e0 100644 --- a/modules/core/simulation/decoder_test.go +++ b/modules/core/simulation/decoder_test.go @@ -6,7 +6,6 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/ibc-go/testing/simapp" "github.com/cosmos/cosmos-sdk/types/kv" clienttypes "github.com/cosmos/ibc-go/modules/core/02-client/types" connectiontypes "github.com/cosmos/ibc-go/modules/core/03-connection/types" @@ -14,6 +13,7 @@ import ( host "github.com/cosmos/ibc-go/modules/core/24-host" "github.com/cosmos/ibc-go/modules/core/simulation" ibctmtypes "github.com/cosmos/ibc-go/modules/light-clients/07-tendermint/types" + "github.com/cosmos/ibc-go/testing/simapp" ) func TestDecodeStore(t *testing.T) { diff --git a/modules/light-clients/09-localhost/types/localhost_test.go b/modules/light-clients/09-localhost/types/localhost_test.go index 46c29daad65..4baa8f204a0 100644 --- a/modules/light-clients/09-localhost/types/localhost_test.go +++ b/modules/light-clients/09-localhost/types/localhost_test.go @@ -7,10 +7,10 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/ibc-go/testing/simapp" sdk "github.com/cosmos/cosmos-sdk/types" clienttypes "github.com/cosmos/ibc-go/modules/core/02-client/types" "github.com/cosmos/ibc-go/modules/core/exported" + "github.com/cosmos/ibc-go/testing/simapp" ) const ( diff --git a/testing/simapp/simd/cmd/cmd_test.go b/testing/simapp/simd/cmd/cmd_test.go index 363d06d8ab7..1ae137a62c7 100644 --- a/testing/simapp/simd/cmd/cmd_test.go +++ b/testing/simapp/simd/cmd/cmd_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" + "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" "github.com/cosmos/ibc-go/testing/simapp" "github.com/cosmos/ibc-go/testing/simapp/simd/cmd" - "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" ) func TestInitCmd(t *testing.T) {