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

Disable forkchoice pre-processing of attestations #4774

Merged
merged 3 commits into from Feb 6, 2020

Conversation

prestonvanloon
Copy link
Member

When a bad attestation makes it into fork choice, it may be aggregated causing the whole attestation to become bad. Until we have a better mechanism to prevent bad attestations from corrupting good ones in fork choice, we will not aggregate them by default. The purpose of the aggregation is to reduce the number of distinct aggregations processed through fork choice. While this type of optimization is desired, better to be safe for the time being.

Maybe supersedes #4660

@prestonvanloon prestonvanloon added Enhancement New feature or request Ready For Review A pull request ready for code review labels Feb 6, 2020
@codecov
Copy link

codecov bot commented Feb 6, 2020

Codecov Report

Merging #4774 into master will decrease coverage by 27.27%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           master    #4774       +/-   ##
===========================================
- Coverage   56.79%   29.51%   -27.28%     
===========================================
  Files         249      229       -20     
  Lines       18845    17078     -1767     
===========================================
- Hits        10703     5041     -5662     
- Misses       6574    11198     +4624     
+ Partials     1568      839      -729

@prylabs-bulldozer prylabs-bulldozer bot merged commit bfa1033 into master Feb 6, 2020
@delete-merged-branch delete-merged-branch bot deleted the disable-forkchoice-aggregation branch February 6, 2020 07:53
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 24, 2020
* Disable forkchoice pre-processing of attestations
* space
* gaz
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 28, 2020
* Disable forkchoice pre-processing of attestations
* space
* gaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants