Skip to content

Conversation

@dkent600
Copy link
Contributor

@dkent600 dkent600 commented Mar 6, 2020

@jellegerbrandy , can you please review the accuracy of the comments I am proposing here?

@dkent600 dkent600 changed the title new comments comment stakes needed to preboost/unpreboost Mar 6, 2020
@dkent600 dkent600 requested a review from jellegerbrandy March 6, 2020 13:17
jellegerbrandy
jellegerbrandy previously approved these changes Mar 9, 2020
src/proposal.ts Outdated
*
* The equation is derived from: threshold = (stakesFor + upstakeNeededToPreBoost) / stakesAgainst
*
* >= 0 : any number of up-staking tokens greater than this will qualify to move the proposal
Copy link
Contributor

Choose a reason for hiding this comment

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

I do not really get what "this" denotes in these lines. What is >=0 ?

I'd just remove them: I think the line above ("the number of up-stsakeing tokens needed to qualify...") explains it pretty well already.

Copy link
Contributor Author

@dkent600 dkent600 Mar 9, 2020

Choose a reason for hiding this comment

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

I clarified the comments. A lot easier this way.

src/proposal.ts Outdated
*
* The equation is derived from: threshold = stakesFor / (stakesAgainst + downStakeNeededToQueue)
*
* > 0 : any number of down-staking tokens greater-than-or-equal to this will qualify to move the proposal
Copy link
Contributor

Choose a reason for hiding this comment

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

same comment as above :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I clarified the comments. I think they provide more info than is readily available by thinking about the equations.

@jellegerbrandy jellegerbrandy merged commit 56a00cd into master Mar 22, 2020
@jellegerbrandy jellegerbrandy deleted the stakesNeeded branch March 22, 2020 08:24
@dkent600 dkent600 mentioned this pull request Jul 6, 2020
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