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

Improve the distinction between leaf positions and leaf values #64

Merged
merged 6 commits into from
Feb 24, 2020

Conversation

eth-r
Copy link
Contributor

@eth-r eth-r commented Feb 20, 2020

Currently it is not always clear whether a uint256 value refers to a leaf, or its position in leaves. This PR renames a number of functions and variables to highlight the difference. Additionally, the function name pickWeightedLeafWithIndex is dropped and pickWeightedLeaf now has its behavior.

@eth-r eth-r requested a review from nkuba February 20, 2020 13:58
@nkuba nkuba merged commit c2849e4 into master Feb 24, 2020
@pdyraga pdyraga deleted the leaf-position branch March 18, 2020 13:43
@pdyraga pdyraga added this to the 0.2.0 milestone Mar 18, 2020
nkuba added a commit that referenced this pull request Mar 20, 2020
Bumping up version for 0.2.0 release

0.2.0 will contain:

    Improve the distinction between leaf positions and leaf values #64
    Function to check if initialization period passed #66
    Reduce the cost of initialization queries during group selection #67
    Fully backed pool #69
    Drop solidity bytes utils dependency #70
    Factory for FullyBackedSortitionPool #71
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.

3 participants