Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flexible Connection Handshake Selection #7427

Merged
merged 13 commits into from
Oct 1, 2020

Conversation

colin-axner
Copy link
Contributor

@colin-axner colin-axner commented Oct 1, 2020

Description

ref: #7025


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

Update ConnOpenInit to reflect changes in cosmos/ibc#482. An additional version field is added to the connection handshake and connection open init message to take in an optional field. If this field is empty, then the default versions are used for connection handshake version negotiation.
@colin-axner colin-axner marked this pull request as ready for review October 1, 2020 17:23
@colin-axner
Copy link
Contributor Author

supersedes: #7431

@colin-axner
Copy link
Contributor Author

missing docs updates, but I think this is ready. Only handles connection handshake changes. I'll do channel changes in a separate pr

@colin-axner colin-axner changed the title Flexible Handshake Version Identifier Flexible Connection Handshake Version Identifier Oct 1, 2020
@codecov
Copy link

codecov bot commented Oct 1, 2020

Codecov Report

Merging #7427 into master will increase coverage by 0.13%.
The diff coverage is 94.64%.

@@            Coverage Diff             @@
##           master    #7427      +/-   ##
==========================================
+ Coverage   55.07%   55.21%   +0.13%     
==========================================
  Files         588      435     -153     
  Lines       36760    28810    -7950     
==========================================
- Hits        20245    15906    -4339     
+ Misses      14417    11301    -3116     
+ Partials     2098     1603     -495     

@colin-axner colin-axner changed the title Flexible Connection Handshake Version Identifier Flexible Connection Handshake Selection Oct 1, 2020
Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes LGTM

Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, pretty clean, thanks!

(note that the channel handshake needs to change too but that can be a separate PR)

@cwgoes cwgoes added the A:automerge Automatically merge PR once all prerequisites pass. label Oct 1, 2020
@mergify mergify bot merged commit 432ba30 into master Oct 1, 2020
@mergify mergify bot deleted the colin/7025-handshake-identifier branch October 1, 2020 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants