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

Removed Deprecated BeaconBlock Fields #1035

Merged
merged 9 commits into from
Dec 3, 2018

Conversation

terencechain
Copy link
Member

This is part of #781.

@terencechain terencechain added this to the Ruby - v0.1 milestone Dec 3, 2018
@terencechain terencechain self-assigned this Dec 3, 2018
@codecov
Copy link

codecov bot commented Dec 3, 2018

Codecov Report

Merging #1035 into master will not change coverage.
The diff coverage is 88.37%.

@@           Coverage Diff           @@
##           master    #1035   +/-   ##
=======================================
  Coverage   72.06%   72.06%           
=======================================
  Files          75       75           
  Lines        4575     4575           
=======================================
  Hits         3297     3297           
  Misses        961      961           
  Partials      317      317

return common.BytesToHash(b.data.PowChainRef)
// CandidatePowReceiptRootHash32 returns a keccak256 hash corresponding to a PoW chain block.
func (b *Block) CandidatePowReceiptRootHash32() common.Hash {
return common.BytesToHash(b.data.CandidatePowReceiptRootHash32)
Copy link
Member

Choose a reason for hiding this comment

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

Does this work for a 32 byte hash as bytes?

@terencechain terencechain merged commit 121654f into master Dec 3, 2018
KimiWu123 pushed a commit to KimiWu123/prysm that referenced this pull request Dec 15, 2018
@nisdas nisdas deleted the remove-deprecated-block-fields branch January 28, 2019 12:10
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