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

Return Status And Goodbye for Different Fork Digests #5852

Merged
merged 3 commits into from May 14, 2020
Merged

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented May 14, 2020

What type of PR is this?

Bug Fix

What does this PR do? Why is it needed?

Currently we abruptly disconnect with a peer upon finding out that they are of a different fork. The correct way would be to send them our corresponding status and send them a correct goodbye message and then disconnect with them.

Which issues(s) does this PR fix?

Fixes #5740

Other notes for review

@nisdas nisdas requested a review from a team as a code owner May 14, 2020 12:32
@nisdas nisdas added the Ready For Review A pull request ready for code review label May 14, 2020
@codecov
Copy link

codecov bot commented May 14, 2020

Codecov Report

Merging #5852 into master will decrease coverage by 0.03%.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##           master    #5852      +/-   ##
==========================================
- Coverage   59.96%   59.92%   -0.04%     
==========================================
  Files         312      312              
  Lines       26190    26211      +21     
==========================================
+ Hits        15705    15708       +3     
- Misses       8349     8367      +18     
  Partials     2136     2136              

@nisdas nisdas merged commit 20c2d78 into master May 14, 2020
@delete-merged-branch delete-merged-branch bot deleted the respondCorrectly branch May 14, 2020 14:44
michaelhly pushed a commit to michaelhly/prysm that referenced this pull request May 14, 2020
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
@nisdas nisdas mentioned this pull request May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Status Handler Returns Error
2 participants