Skip to content

Attestation reward bug#1682

Merged
djrtwo merged 1 commit into
v011xfrom
reward-acc-bug
Mar 25, 2020
Merged

Attestation reward bug#1682
djrtwo merged 1 commit into
v011xfrom
reward-acc-bug

Conversation

@djrtwo

@djrtwo djrtwo commented Mar 24, 2020

Copy link
Copy Markdown
Contributor

[replaces #1680]

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

@protolambda

Copy link
Copy Markdown
Contributor

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.

@protolambda protolambda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ethers

ethers commented May 11, 2020

Copy link
Copy Markdown
Member

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.

5 participants