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

Fix Randao Reveal Bug #1801

Merged
merged 3 commits into from
Mar 2, 2019
Merged

Fix Randao Reveal Bug #1801

merged 3 commits into from
Mar 2, 2019

Conversation

terencechain
Copy link
Member

@terencechain terencechain commented Mar 2, 2019

Found a bug via: ethereum/consensus-specs#713

We are suppose to xor hash(block.randao_reveal) not block.randao_reveal, therefore it's 32 bytes entropy not 96 bytes entropy

@terencechain terencechain added the Bug Something isn't working label Mar 2, 2019
@terencechain terencechain self-assigned this Mar 2, 2019
@codecov
Copy link

codecov bot commented Mar 2, 2019

Codecov Report

Merging #1801 into master will decrease coverage by 0.2%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1801      +/-   ##
==========================================
- Coverage   71.65%   71.45%   -0.21%     
==========================================
  Files         104      104              
  Lines        7388     7315      -73     
==========================================
- Hits         5294     5227      -67     
+ Misses       1610     1605       -5     
+ Partials      484      483       -1

@rauljordan rauljordan merged commit 5ab93df into master Mar 2, 2019
@rauljordan rauljordan deleted the fix-randao-reveal-bug branch March 2, 2019 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants