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

more 0.7.0 updates #287

Merged
merged 6 commits into from
Jun 14, 2019
Merged

more 0.7.0 updates #287

merged 6 commits into from
Jun 14, 2019

Conversation

tersec
Copy link
Contributor

@tersec tersec commented Jun 14, 2019

No description provided.

tersec added 5 commits June 14, 2019 16:41
…et_domain to update get_domain(...) to 0.7.0; mark that mainnet constant presets and block header processing are 0.7.0-consistent; update process_justification_and_finalization to 0.7.0 to fix potential underflow errors
@tersec tersec requested a review from mratsim June 14, 2019 15:21
beacon_chain/spec/beaconstate.nim Show resolved Hide resolved
buf[0..3] = fork_version
buf[4..7] = int_to_bytes4(domain_type.uint64)
bytes_to_int(buf)

Copy link
Contributor

Choose a reason for hiding this comment

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

I would had a TODO: Big-endian architecture in a comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Likewise, bytes_to_int

@tersec tersec merged commit e9180c4 into master Jun 14, 2019
@delete-merged-branch delete-merged-branch bot deleted the ded branch June 14, 2019 16:21
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