diff --git a/modules/apps/27-interchain-accounts/controller/keeper/msg_server_test.go b/modules/apps/27-interchain-accounts/controller/keeper/msg_server_test.go index 38aa673015c..a0c240ef399 100644 --- a/modules/apps/27-interchain-accounts/controller/keeper/msg_server_test.go +++ b/modules/apps/27-interchain-accounts/controller/keeper/msg_server_test.go @@ -4,11 +4,9 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - sdktypes "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/cosmos/ibc-go/v5/modules/apps/27-interchain-accounts/controller/types" - controllertypes "github.com/cosmos/ibc-go/v5/modules/apps/27-interchain-accounts/controller/types" icatypes "github.com/cosmos/ibc-go/v5/modules/apps/27-interchain-accounts/types" clienttypes "github.com/cosmos/ibc-go/v5/modules/core/02-client/types" channeltypes "github.com/cosmos/ibc-go/v5/modules/core/04-channel/types" @@ -18,7 +16,7 @@ import ( func (suite *KeeperTestSuite) TestRegisterAccount() { var ( - msg *controllertypes.MsgRegisterAccount + msg *types.MsgRegisterAccount expectedChannelID = "channel-0" ) @@ -70,7 +68,7 @@ func (suite *KeeperTestSuite) TestRegisterAccount() { path := NewICAPath(suite.chainA, suite.chainB) suite.coordinator.SetupConnections(path) - msg = controllertypes.NewMsgRegisterAccount(ibctesting.FirstConnectionID, ibctesting.TestAccAddress, "") + msg = types.NewMsgRegisterAccount(ibctesting.FirstConnectionID, ibctesting.TestAccAddress, "") tc.malleate() @@ -85,7 +83,7 @@ func (suite *KeeperTestSuite) TestRegisterAccount() { events := ctx.EventManager().Events() suite.Require().Len(events, 2) suite.Require().Equal(events[0].Type, channeltypes.EventTypeChannelOpenInit) - suite.Require().Equal(events[1].Type, sdktypes.EventTypeMessage) + suite.Require().Equal(events[1].Type, sdk.EventTypeMessage) } else { suite.Require().Error(err) suite.Require().Nil(res) @@ -96,7 +94,7 @@ func (suite *KeeperTestSuite) TestRegisterAccount() { func (suite *KeeperTestSuite) TestSubmitTx() { var ( path *ibctesting.Path - msg *controllertypes.MsgSubmitTx + msg *types.MsgSubmitTx ) testCases := []struct {