From 0233d1bc6007c37717074afe4231d62d45068c23 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:35:02 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- tests/e2e/gov_test.go | 2 +- tests/e2e/grants_test.go | 2 +- tests/e2e/group_test.go | 2 +- tests/ibctesting/chain2.go | 17 +++++++++-------- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/tests/e2e/gov_test.go b/tests/e2e/gov_test.go index 79972796e..0a4fda5cf 100644 --- a/tests/e2e/gov_test.go +++ b/tests/e2e/gov_test.go @@ -5,6 +5,7 @@ import ( "time" wasmvmtypes "github.com/CosmWasm/wasmvm/v2/types" + ibctesting "github.com/cosmos/ibc-go/v9/testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -17,7 +18,6 @@ import ( "github.com/CosmWasm/wasmd/tests/e2e" wasmibctesting "github.com/CosmWasm/wasmd/tests/ibctesting" - ibctesting "github.com/cosmos/ibc-go/v9/testing" ) func TestGovVoteByContract(t *testing.T) { diff --git a/tests/e2e/grants_test.go b/tests/e2e/grants_test.go index 385bceac2..d489d5d94 100644 --- a/tests/e2e/grants_test.go +++ b/tests/e2e/grants_test.go @@ -7,6 +7,7 @@ import ( "time" wasmvm "github.com/CosmWasm/wasmvm/v2" + ibctesting "github.com/cosmos/ibc-go/v9/testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -22,7 +23,6 @@ import ( "github.com/CosmWasm/wasmd/tests/e2e" wasmibctesting "github.com/CosmWasm/wasmd/tests/ibctesting" "github.com/CosmWasm/wasmd/x/wasm/types" - ibctesting "github.com/cosmos/ibc-go/v9/testing" ) func TestGrants(t *testing.T) { diff --git a/tests/e2e/group_test.go b/tests/e2e/group_test.go index 098d63240..94d466011 100644 --- a/tests/e2e/group_test.go +++ b/tests/e2e/group_test.go @@ -5,6 +5,7 @@ import ( "time" "github.com/cometbft/cometbft/libs/rand" + ibctesting "github.com/cosmos/ibc-go/v9/testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -18,7 +19,6 @@ import ( "github.com/CosmWasm/wasmd/tests/e2e" wasmibctesting "github.com/CosmWasm/wasmd/tests/ibctesting" "github.com/CosmWasm/wasmd/x/wasm/types" - ibctesting "github.com/cosmos/ibc-go/v9/testing" ) func TestGroupWithContract(t *testing.T) { diff --git a/tests/ibctesting/chain2.go b/tests/ibctesting/chain2.go index 4d9c5887a..7788fb58e 100644 --- a/tests/ibctesting/chain2.go +++ b/tests/ibctesting/chain2.go @@ -10,28 +10,29 @@ import ( "strings" "testing" - "cosmossdk.io/math" + abci "github.com/cometbft/cometbft/abci/types" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" cmttypes "github.com/cometbft/cometbft/types" + "github.com/cosmos/gogoproto/proto" + clienttypes "github.com/cosmos/ibc-go/v9/modules/core/02-client/types" + channeltypes "github.com/cosmos/ibc-go/v9/modules/core/04-channel/types" + host "github.com/cosmos/ibc-go/v9/modules/core/24-host" + ibctesting "github.com/cosmos/ibc-go/v9/testing" + ibctestingtypes "github.com/cosmos/ibc-go/v9/testing/types" "github.com/stretchr/testify/require" + "cosmossdk.io/math" + "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/gogoproto/proto" "github.com/CosmWasm/wasmd/app" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" "github.com/CosmWasm/wasmd/x/wasm/types" - abci "github.com/cometbft/cometbft/abci/types" - clienttypes "github.com/cosmos/ibc-go/v9/modules/core/02-client/types" - channeltypes "github.com/cosmos/ibc-go/v9/modules/core/04-channel/types" - host "github.com/cosmos/ibc-go/v9/modules/core/24-host" - ibctesting "github.com/cosmos/ibc-go/v9/testing" - ibctestingtypes "github.com/cosmos/ibc-go/v9/testing/types" ) type WasmTestApp struct {