-
Notifications
You must be signed in to change notification settings - Fork 52
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 Solidity unit tests for SafeMath library #4
Comments
@varasev btw, why not the Open Zeppelin's implementation of |
@vbaranov I took the implementation from our consensus contracts and didn't check if Open Zeppelin contained a new version. Thanks for reminding - I'll update that. |
SafeMath was updated in d7c14b2. |
Can this be closed? The OpenZeppelin implementation is heavily tested, so testing it further would not be a good use of our efforts. (It would not be pointless ― just a poor use of POA Network resources.) |
That's true.
I agree with this too. And we don't need to invent a bicycle. We can get those tests to our repo. I think that every contract in the dPoS set should be covered with unit tests. There are two ways to add
In both cases we don't need so much resources. @DemiMarie @varasev which one do you prefer (if any)? |
I'm working on unit tests. Let me do this because I'm the only developer at the moment who designed and wrote each function of pos contracts from scratch, there are many nuances and details that are known only to me. As of SafeMath lib - I'll copy them from |
@varasev status? |
Isn't done yet. I was busy doing the changes in the contracts, reviewing White Paper and design layouts. |
Child of #1
The text was updated successfully, but these errors were encountered: