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

[L13] Not using the SafeMath library #4995

Merged
merged 6 commits into from
Sep 15, 2020
Merged

[L13] Not using the SafeMath library #4995

merged 6 commits into from
Sep 15, 2020

Conversation

ewilz
Copy link
Contributor

@ewilz ewilz commented Sep 6, 2020

Description

Add safemath where possible

Other changes

Added ICeloVersionedContract interface to UsingPrecompiles

Tested

N/A should remain working as expected

Related issues

Backwards compatibility

N/A should remain working as expected

@ewilz ewilz requested review from asaj and nategraf as code owners September 6, 2020 16:58
Copy link
Contributor

@yorhodes yorhodes left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -1,10 +1,13 @@
pragma solidity ^0.5.8;

import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/math/SafeMath.sol";
Copy link
Contributor

Choose a reason for hiding this comment

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

these changes are probably harmless but to clarify, these specs are only used in the certora-test formal verification and the contracts are never deployed on network afaik

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, useful information

@ewilz ewilz force-pushed the l13 branch 2 times, most recently from 9cf54a9 to 725e5cb Compare September 9, 2020 21:47
@codecov
Copy link

codecov bot commented Sep 11, 2020

Codecov Report

❗ No coverage uploaded for pull request base (oz-prerelease@d4b09b6). Click here to learn what that means.
The diff coverage is n/a.

@nategraf nategraf removed their request for review September 15, 2020 00:30
@ewilz ewilz merged commit f8782d1 into oz-prerelease Sep 15, 2020
ewilz added a commit that referenced this pull request Sep 29, 2020
* [L13] Not using the SafeMath library

* Fix ++ typo

* Add versioning

* Fix inheritance graph

* Further fix rebase
@ewilz ewilz deleted the l13 branch September 29, 2020 15:23
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.

2 participants