Skip to content

Fix bug in attestation reward calculation#1680

Closed
michaelsproul wants to merge 1 commit into
ethereum:devfrom
michaelsproul:attestation-reward-bug
Closed

Fix bug in attestation reward calculation#1680
michaelsproul wants to merge 1 commit into
ethereum:devfrom
michaelsproul:attestation-reward-bug

Conversation

@michaelsproul

Copy link
Copy Markdown
Contributor

In v0.11.0 rewards are calculated incorrectly because of a typo in get_attestation_deltas. Rather than accumulating rewards using +=, the code overwrites the previous rewards with = 😳

@djrtwo

djrtwo commented Mar 24, 2020

Copy link
Copy Markdown
Contributor

hot damn

@djrtwo djrtwo mentioned this pull request Mar 24, 2020
@djrtwo

djrtwo commented Mar 24, 2020

Copy link
Copy Markdown
Contributor

THANK YOU

Cherry-picked your commit to new branch based on v011x to get this out for immediate release.
See #1682

@djrtwo djrtwo closed this Mar 24, 2020
@michaelsproul michaelsproul deleted the attestation-reward-bug branch March 31, 2020 02: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.

2 participants