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

conn open ack does not succeed in the happy case #699

Closed
5 tasks done
vitorenesduarte opened this issue Feb 22, 2021 · 0 comments · Fixed by #700
Closed
5 tasks done

conn open ack does not succeed in the happy case #699

vitorenesduarte opened this issue Feb 22, 2021 · 0 comments · Fixed by #700
Assignees
Labels
A: bug Admin: something isn't working
Milestone

Comments

@vitorenesduarte
Copy link
Contributor

vitorenesduarte commented Feb 22, 2021

Crate

modules

Summary of Bug

The conn open ack handler requires a connection to have the counterparty connection id set (line 36):

https://github.com/informalsystems/ibc-rs/blob/02aef9cf5055a3817579b555c84289b99d5d08a8/modules/src/ics03_connection/handler/conn_open_ack.rs#L33-L45

However, if the connection is in the Init state (the happy/normal case), the counterparty connection id is unknown, in which case the conn open ack fails with a ConnectionMismatch.

This issue was found during the MBT work (#546).

Version

02aef9c

Steps to Reproduce


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: bug Admin: something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants