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 Eth1data Protobuf Fields #2315

Merged
merged 8 commits into from
Apr 23, 2019
Merged

Update Eth1data Protobuf Fields #2315

merged 8 commits into from
Apr 23, 2019

Conversation

terencechain
Copy link
Member

This is part of #2307

Updated Eth1data fields for Protobuf

@codecov
Copy link

codecov bot commented Apr 20, 2019

Codecov Report

Merging #2315 into spec-v0.6 will decrease coverage by 2.68%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           spec-v0.6    #2315      +/-   ##
=============================================
- Coverage      71.54%   68.86%   -2.69%     
=============================================
  Files            117      117              
  Lines           9180     9178       -2     
=============================================
- Hits            6568     6320     -248     
- Misses          1932     2180     +248     
+ Partials         680      678       -2

// Total number of deposits
uint64 deposit_count = 2;
// Block hash
bytes block_hash32 = 3;
Copy link
Member

Choose a reason for hiding this comment

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

should be block root

Copy link
Member

@prestonvanloon prestonvanloon left a comment

Choose a reason for hiding this comment

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

One request to rename existing field, can be done by deprecating the old one if needed

@@ -190,8 +190,12 @@ message VoluntaryExit {
}

message Eth1Data {
// Root of the deposit tree
bytes deposit_root_hash32 = 1;
Copy link
Member

Choose a reason for hiding this comment

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

Deposit root, drop the hash32

@prestonvanloon prestonvanloon merged commit 01f6166 into spec-v0.6 Apr 23, 2019
@terencechain terencechain deleted the update-eth1data branch June 6, 2019 14: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