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

Validate slashings upon pool exit #5848

Merged
merged 10 commits into from May 14, 2020
Merged

Validate slashings upon pool exit #5848

merged 10 commits into from May 14, 2020

Conversation

0xKiwi
Copy link
Contributor

@0xKiwi 0xKiwi commented May 14, 2020

What type of PR is this?
Improvement

What does this PR do? Why is it needed?
This PR validates proposer and attester slashings upon exit of the pool, as they may have been processed after they were entered into that beacon nodes pool.

Also adds a regression test.

Which issues(s) does this PR fix?

Fixes #5731

@0xKiwi 0xKiwi requested a review from a team as a code owner May 14, 2020 03:26
@0xKiwi 0xKiwi 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 #5848 into master will increase coverage by 0.01%.
The diff coverage is 72.00%.

@@            Coverage Diff             @@
##           master    #5848      +/-   ##
==========================================
+ Coverage   59.93%   59.94%   +0.01%     
==========================================
  Files         312      312              
  Lines       26213    26235      +22     
==========================================
+ Hits        15710    15726      +16     
- Misses       8366     8368       +2     
- Partials     2137     2141       +4     

ev.PeersConnect,
ev.HealthzCheck,
//ev.PeersConnect,
//ev.HealthzCheck,
Copy link
Contributor

Choose a reason for hiding this comment

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

Revert

@0xKiwi 0xKiwi requested a review from rauljordan May 14, 2020 16:05
@prylabs-bulldozer prylabs-bulldozer bot merged commit 6e9839f into master May 14, 2020
@delete-merged-branch delete-merged-branch bot deleted the validate-slashing branch May 14, 2020 17:11
michaelhly pushed a commit to michaelhly/prysm that referenced this pull request May 14, 2020
* Validate slashings upon pool exit
* Change in implementation
* Fix test
* Merge branch 'master' into validate-slashing
* Merge refs/heads/master into validate-slashing
* Merge refs/heads/master into validate-slashing
* Merge refs/heads/master into validate-slashing
* Undo e2e changes
* Merge branch 'validate-slashing' of github.com:prysmaticlabs/prysm into validate-slashing
* Merge refs/heads/master into validate-slashing
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.

Failed to propose block
2 participants