Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

Remove weight and gini coefficient during proposer selection#1655

Merged
mckim19 merged 10 commits intoklaytn:devfrom
mckim19:remove_giniweight
Nov 8, 2022
Merged

Remove weight and gini coefficient during proposer selection#1655
mckim19 merged 10 commits intoklaytn:devfrom
mckim19:remove_giniweight

Conversation

@mckim19
Copy link
Contributor

@mckim19 mckim19 commented Nov 2, 2022

Proposed changes

This PR is for fair proposer selection without weight(staking amount) and gini coefficient.
In v1.10.0, Klaytn want the proposer selection with equal probability.
When a proposer is selected by staking amount, the validator with large amount will have more block proposal opportunities even if the gini coefficient is applied.
So this change neutralizes the effects of weights and Gini coefficients.

Types of changes

Please put an x in the boxes related to your change.

  • Bugfix
  • New feature or enhancement
  • Others

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING GUIDELINES doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes ($ make test)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

@mckim19 mckim19 added this to the v1.10.0 (Kore) milestone Nov 2, 2022
@mckim19 mckim19 self-assigned this Nov 2, 2022
@CLAassistant
Copy link

CLAassistant commented Nov 2, 2022

CLA assistant check
All committers have signed the CLA.

@mckim19 mckim19 requested a review from blukat29 November 2, 2022 06:37
@mckim19
Copy link
Contributor Author

mckim19 commented Nov 2, 2022

I have read the CLA Document and I hereby sign the CLA

@mckim19 mckim19 requested a review from blukat29 November 3, 2022 01:37
@mckim19 mckim19 mentioned this pull request Nov 7, 2022
9 tasks
@mckim19 mckim19 requested a review from yoomee1313 November 8, 2022 06:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants