Skip to content

Commit ae89005

Browse files
committed
chore: fix lint and test case
1 parent 5ec5033 commit ae89005

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/core/02-client/types/codec.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package types
22

33
import (
4-
"github.com/cosmos/cosmos-sdk/codec"
5-
"github.com/cosmos/cosmos-sdk/codec/legacy"
64
"github.com/cosmos/gogoproto/proto"
75

86
errorsmod "cosmossdk.io/errors"
97

8+
"github.com/cosmos/cosmos-sdk/codec"
9+
"github.com/cosmos/cosmos-sdk/codec/legacy"
1010
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
1111
sdk "github.com/cosmos/cosmos-sdk/types"
1212
"github.com/cosmos/cosmos-sdk/types/msgservice"

modules/core/04-channel/keeper/packet_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() {
11031103
path.EndpointB.Chain.App.GetIBCKeeper().ChannelKeeper.SetPacketAcknowledgement(path.EndpointB.Chain.GetContext(), path.EndpointB.ChannelConfig.PortID, path.EndpointB.ChannelID, sequence, types.CommitAcknowledgement(ack))
11041104

11051105
path.EndpointB.Chain.NextBlock()
1106-
path.EndpointA.UpdateClient()
1106+
suite.Require().NoError(path.EndpointA.UpdateClient())
11071107
},
11081108
expResult: func(commitment []byte, err error) {
11091109
suite.Require().Error(err)
@@ -1130,7 +1130,7 @@ func (suite *KeeperTestSuite) TestAcknowledgePacket() {
11301130
path.EndpointB.Chain.App.GetIBCKeeper().ChannelKeeper.SetPacketAcknowledgement(path.EndpointB.Chain.GetContext(), path.EndpointB.ChannelConfig.PortID, path.EndpointB.ChannelID, sequence, types.CommitAcknowledgement(ack))
11311131

11321132
path.EndpointB.Chain.NextBlock()
1133-
path.EndpointA.UpdateClient()
1133+
suite.Require().NoError(path.EndpointA.UpdateClient())
11341134
},
11351135
expResult: func(commitment []byte, err error) {
11361136
suite.Require().NoError(err)

0 commit comments

Comments
 (0)