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

Inflation change and verifier solver setters. Tweak initial parameters #142

Merged
merged 2 commits into from
Jan 15, 2018

Conversation

yondonfu
Copy link
Member

  • Setter for inflation change
  • Setter for adding solvers to LivepeerVerifier
  • Fix LivepeerVerifier tests
  • Tweak initial parameters for test deployments

@@ -55,6 +55,14 @@ contract LivepeerVerifier is Manager, IVerifier {
verificationCodeHash = _verificationCodeHash;
}

function addSolver(address _solver) external onlyControllerOwner {
// Must not already be a solver
require(!isSolver[_solver]);
Copy link
Member

Choose a reason for hiding this comment

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

We did require(!isSolver[_solvers[i]] && _solvers[i] != address(0)); earlier, should we do address(0) check here too?

@ericxtang
Copy link
Member

Small comment, otherwise 🚢

@yondonfu yondonfu merged commit 52e2919 into master Jan 15, 2018
@yondonfu yondonfu deleted the yf/inflationChangeSetter branch January 15, 2018 20:57
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.

None yet

2 participants