Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
DongLieu committed Oct 13, 2023
1 parent c48c647 commit 1de344e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions x/interchainstaking/keeper/msg_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,11 +532,11 @@ func (suite *KeeperTestSuite) TestGovCloseChannel() {
malleate: func(suite *KeeperTestSuite) *icstypes.MsgGovCloseChannel {
ctx := suite.chainA.GetContext()
k := suite.GetQuicksilverApp(suite.chainA).InterchainstakingKeeper
chanals := suite.GetQuicksilverApp(suite.chainA).IBCKeeper.ChannelKeeper.GetAllChannels(ctx)
channels := suite.GetQuicksilverApp(suite.chainA).IBCKeeper.ChannelKeeper.GetAllChannels(ctx)

return &icstypes.MsgGovCloseChannel{
ChannelId: chanals[0].ChannelId,
PortId: chanals[0].PortId,
ChannelId: channels[0].ChannelId,
PortId: channels[0].PortId,
Authority: sdk.MustBech32ifyAddressBytes(sdk.GetConfig().GetBech32AccountAddrPrefix(), k.AccountKeeper.GetModuleAddress(govtypes.ModuleName)),
}
},
Expand All @@ -548,11 +548,11 @@ func (suite *KeeperTestSuite) TestGovCloseChannel() {
ctx := suite.chainA.GetContext()
suite.GetQuicksilverApp(suite.chainA).IBCKeeper.ConnectionKeeper.SetConnection(ctx, suite.path.EndpointA.ConnectionID, connectiontypes.ConnectionEnd{ClientId: "07-tendermint-0", State: connectiontypes.OPEN})
k := suite.GetQuicksilverApp(suite.chainA).InterchainstakingKeeper
chanals := suite.GetQuicksilverApp(suite.chainA).IBCKeeper.ChannelKeeper.GetAllChannels(ctx)
channels := suite.GetQuicksilverApp(suite.chainA).IBCKeeper.ChannelKeeper.GetAllChannels(ctx)

return &icstypes.MsgGovCloseChannel{
ChannelId: chanals[0].ChannelId,
PortId: chanals[0].PortId,
ChannelId: channels[0].ChannelId,
PortId: channels[0].PortId,
Authority: sdk.MustBech32ifyAddressBytes(sdk.GetConfig().GetBech32AccountAddrPrefix(), k.AccountKeeper.GetModuleAddress(govtypes.ModuleName)),
}
},
Expand Down

0 comments on commit 1de344e

Please sign in to comment.