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

Add incentives to proof-of-stake #1292

Merged
merged 109 commits into from
Oct 24, 2019
Merged

Add incentives to proof-of-stake #1292

merged 109 commits into from
Oct 24, 2019

Conversation

asaj
Copy link
Contributor

@asaj asaj commented Oct 10, 2019

Description

This PR adds incentives to proof-of-stake, specifically epoch payments for validators and groups, and epoch rewards for voters.

Tested

Unit and end-to-end tests.

Other changes

  • Move end-to-end governance test to contract kit
  • Factor out fractionMulExp into UsingPrecompiles.sol
  • Automatically mark groups as eligible for election when adding the first member
  • Remove minter from StableToken, and use the registry instead
  • Store historical authorized Validator and Voter information
  • Point to ganache with getEpochSize precompile

Related issues

TODO

  • Fixes #[issue number here]

Backwards compatibility

Not backwards compatible

@asaj asaj requested a review from cmcewen as a code owner October 18, 2019 00:54
@asaj asaj changed the base branch from asaj/pos to master October 18, 2019 02:20
@asaj asaj assigned mcortesi and unassigned asaj Oct 18, 2019
@mcortesi mcortesi assigned asaj and unassigned mcortesi Oct 21, 2019
@asaj asaj merged commit 617abbd into master Oct 24, 2019
cmcewen added a commit that referenced this pull request Oct 25, 2019
@mcortesi mcortesi deleted the asaj/pos-2 branch December 4, 2019 16:49
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.

4 participants