hermes icon indicating copy to clipboard operation
hermes copied to clipboard

Add integration tests for complete channel upgrade handshake

Open ljoss17 opened this issue 1 year ago • 0 comments

Summary

Add tests for different channel upgrade scenarios.

Proposal

Add tests for the following channel upgrade cases:

  • 4 tests, for upgrading each individual field:
    • upgrading Version
    • upgrading ConnectionHops
    • upgrading Ordering from Ordered to Unordered accepted
    • upgrading Ordering from Unordered to Ordered rejected
  • 3 tests, for the different timeouts possibilities:
    • only TimeoutHeight set
    • only TimeoutTimestamp set
    • both TimeoutHeight and TimeoutTimestamp set
  • 1 test for ChannelUpgradeCancelMsg

For Admin Use

  • [ ] Not duplicate issue
  • [ ] Appropriate labels applied
  • [ ] Appropriate milestone (priority) applied
  • [ ] Appropriate contributors tagged
  • [ ] Contributor assigned/self-assigned

ljoss17 avatar Apr 19 '23 06:04 ljoss17