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

Fix Optimistic Channel Handshake bugs #7678

Merged
merged 6 commits into from
Oct 27, 2020
Merged

Conversation

colin-axner
Copy link
Contributor

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

Description

closes: #7605
closes: #7606


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

@colin-axner
Copy link
Contributor Author

More rigorous optimistic handshake testing can be added with #7603 ensuring packets can be safely sent between OpenInit and OpenTry calls

@colin-axner colin-axner marked this pull request as draft October 26, 2020 15:19
@codecov
Copy link

codecov bot commented Oct 26, 2020

Codecov Report

Merging #7678 into master will decrease coverage by 0.02%.
The diff coverage is 30.95%.

@@            Coverage Diff             @@
##           master    #7678      +/-   ##
==========================================
- Coverage   54.15%   54.12%   -0.03%     
==========================================
  Files         611      611              
  Lines       38566    38601      +35     
==========================================
+ Hits        20884    20892       +8     
- Misses      15550    15576      +26     
- Partials     2132     2133       +1     

@colin-axner colin-axner marked this pull request as ready for review October 26, 2020 15:25
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.

utACK

Copy link
Member

@AdityaSripal AdityaSripal left a comment

Choose a reason for hiding this comment

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

Nice catch!!!

@fedekunze fedekunze added the A:automerge Automatically merge PR once all prerequisites pass. label Oct 27, 2020
@mergify mergify bot merged commit 3d46c67 into master Oct 27, 2020
@mergify mergify bot deleted the colin/7605-crossing-hellos branch October 27, 2020 14:34
clevinson pushed a commit that referenced this pull request Oct 29, 2020
* fix optimistic handshake bugs and add crossing hello test

* fix tests

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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. Spec changes made in cosmos/ibc@8a92af0

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. T:Bug
Projects
None yet
4 participants