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

Update to Use Crosslink in AttestationData #1546

Merged
merged 12 commits into from
Feb 10, 2019
Merged

Conversation

terencechain
Copy link
Member

@terencechain terencechain commented Feb 9, 2019

This is part of #1541

In this PR, we updated attestation to contain latest cross link, not just contain latest cross link block hash. This is needed for proof of custody. See rationale: ethereum/consensus-specs#585

Change list:

  • Update proto CrosslinkRecord -> Crosslink
  • Update AttestationData to track Crosslink instead of []byte which is crosslink root hash
  • Update references in code and in test

Copy link
Contributor

@rauljordan rauljordan left a comment

Choose a reason for hiding this comment

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

Looks good, no comment

@rauljordan rauljordan merged commit e321fdf into master Feb 10, 2019
@rauljordan rauljordan deleted the use_latest_crosslink branch February 10, 2019 17:59
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