hermes
hermes copied to clipboard
Add integration tests for complete channel upgrade handshake
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
OrderingfromOrderedtoUnorderedaccepted - upgrading
OrderingfromUnorderedtoOrderedrejected
- upgrading
- 3 tests, for the different timeouts possibilities:
- only
TimeoutHeightset - only
TimeoutTimestampset - both
TimeoutHeightandTimeoutTimestampset
- only
- 1 test for
ChannelUpgradeCancelMsg
For Admin Use
- [ ] Not duplicate issue
- [ ] Appropriate labels applied
- [ ] Appropriate milestone (priority) applied
- [ ] Appropriate contributors tagged
- [ ] Contributor assigned/self-assigned