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

Attestation reward bug #1682

Merged
merged 1 commit into from
Mar 25, 2020
Merged

Attestation reward bug #1682

merged 1 commit into from
Mar 25, 2020

Conversation

djrtwo
Copy link
Contributor

@djrtwo djrtwo commented Mar 24, 2020

[replaces #1680]

Bug found by @michaelsproul in rewards calculations introduced in v0.11.0.
PR to v011x for immediate release

@protolambda
Copy link
Collaborator

Splitting up that rewards function in the spec would be great for testing. All rewards mixed together in one function obfuscate what is really happening. Our mistake for not catching this bug earlier during release, but a good motivation for de-obfuscating this function.

Copy link
Collaborator

@protolambda protolambda left a comment

Choose a reason for hiding this comment

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

@ethers
Copy link
Member

ethers commented May 11, 2020

Can we have a link to the tests for this fix? (probably would have helped avoid issues like Consensys/teku#1703)

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.

None yet

5 participants