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

What is the purpose of setStakerStake() in StakeManager? #41

Closed
0xcuriousapple opened this issue Dec 14, 2020 · 2 comments
Closed

What is the purpose of setStakerStake() in StakeManager? #41

0xcuriousapple opened this issue Dec 14, 2020 · 2 comments

Comments

@0xcuriousapple
Copy link
Contributor

function setStakerStake(uint256 _id, uint256 _stake, string calldata _reason, uint256 _epoch) external onlyWriter {
_setStakerStake(_id, _stake, _reason, _epoch);
}
This Function is not called in any other contracts.
In comments of VoteManager, there is one call of it
So was it created for test purposes only?

@SkandaBhat
Copy link
Contributor

Assigned to @abhishekvispute

@SkandaBhat
Copy link
Contributor

Closed.

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

No branches or pull requests

2 participants