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
Ordering
fromOrdered
toUnordered
accepted - upgrading
Ordering
fromUnordered
toOrdered
rejected
- upgrading
- 3 tests, for the different timeouts possibilities:
- only
TimeoutHeight
set - only
TimeoutTimestamp
set - both
TimeoutHeight
andTimeoutTimestamp
set
- 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