Skip to content

Commit

Permalink
Check for error returned in channel msg_tests (#5492)
Browse files Browse the repository at this point in the history
* update test for MsgChannelOpenInit

* update test for MsgChannelOpenTry

* Use error as expError.

* update TestMsgChannelOpenAckValidateBasic

* update TestMsgChannelOpenConfirmValidateBasic

* update TestMsgChannelCloseInitValidateBasic and TestMsgChannelCloseConfirmValidateBasic

* update TestMsgRecvPacketValidateBasic

* update TestMsgTimeoutValidateBasic

* update TestMsgTimeoutOnCloseValidateBasic, TestMsgAcknowledgementValidateBasic, TestMsgChannelUpgradeInitValidateBasic, TestMsgChannelUpgradeTryValidateBasic

* update TestMsgChannelUpgradeAckValidateBasic, TestMsgChannelUpgradeConfirmValidateBasic

* update TestMsgChannelUpgradeOpenValidateBasic and TestMsgChannelUpgradeTimeoutValidateBasic

* update TestMsgChannelUpgradeCancelValidateBasic

* review comment

* reorder test cases

* remove unnecessary expPass variables

---------

Co-authored-by: DimitrisJim <[email protected]>
Co-authored-by: Carlos Rodriguez <[email protected]>
(cherry picked from commit f51d062)

# Conflicts:
#	modules/core/04-channel/types/msgs_test.go
  • Loading branch information
expertdicer authored and mergify[bot] committed Jan 5, 2024
1 parent 8397dd9 commit ea57dc8
Showing 1 changed file with 784 additions and 167 deletions.
Loading

0 comments on commit ea57dc8

Please sign in to comment.