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

Renaming of functions in the Misc section #1241

Merged
merged 10 commits into from Jul 1, 2019
Merged

Renaming of functions in the Misc section #1241

merged 10 commits into from Jul 1, 2019

Conversation

CarlBeek
Copy link
Contributor

As per my discussion points in #1237, I think functions that return a value based on other values should have a name that indicates their function. For example I think compute_shuffle_index & compute_epoch_start_slot are much clearer than shuffle_index & epoch_start_slot. This implements that.

@CarlBeek CarlBeek added milestone:June 30 freeze 🥶 Phase 0 spec freeze for long-lived cross-client testnet general:RFC Request for Comments labels Jun 30, 2019
Copy link
Collaborator

@JustinDrake JustinDrake left a comment

Choose a reason for hiding this comment

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

So clean!

Copy link
Contributor

@djrtwo djrtwo left a comment

Choose a reason for hiding this comment

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

fixed one issue with associativity in on of the conditionals in the new is_valid_indexed_attestation. Otherwise looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general:RFC Request for Comments milestone:June 30 freeze 🥶 Phase 0 spec freeze for long-lived cross-client testnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants