Skip to content

Improve the distinction between leaf positions and leaf values#64

Merged
nkuba merged 6 commits into
masterfrom
leaf-position
Feb 24, 2020
Merged

Improve the distinction between leaf positions and leaf values#64
nkuba merged 6 commits into
masterfrom
leaf-position

Conversation

@eth-r

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

Copy link
Copy Markdown
Contributor

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