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

DRY handshake code #424

Merged
merged 3 commits into from
Feb 12, 2021
Merged

DRY handshake code #424

merged 3 commits into from
Feb 12, 2021

Conversation

colin-axner
Copy link
Contributor

closes #422

I believe this fixes a bug where the handshake proof relies on a consensus state not being committed via an update message

@colin-axner
Copy link
Contributor Author

a more comprehensive fix should be done in #425

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.

utACK

Comment on lines -566 to +565
updateMsg, err := dst.UpdateClient(src)
updateMsg, err := src.UpdateClient(dst)
Copy link
Member

Choose a reason for hiding this comment

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

Was this wrong before?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes pretty sure. The logic doesn't hold since if you look at the code, this message is beings added to msgs.Src

@colin-axner colin-axner merged commit 067f477 into master Feb 12, 2021
@colin-axner colin-axner deleted the colin/422-dry branch February 12, 2021 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DRY connection/channel updates
2 participants