Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Add SafeMath to Multisig #2254

Merged
merged 4 commits into from
Oct 15, 2019
Merged

Add SafeMath to Multisig #2254

merged 4 commits into from
Oct 15, 2019

Conversation

jalextowle
Copy link
Contributor

Description

Previously, the addition confirmationTimes[transactionId] + secondsTimeLocked could have overflown in the modifier pastTimeLock in MultiSigWalletWithTimeLock. This pull request replaces this addition with a call to _safeAdd in SafeMath.

Testing instructions

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • Prefix PR title with [WIP] if necessary.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • Add new entries to the relevant CHANGELOG.jsons.

@coveralls
Copy link

coveralls commented Oct 9, 2019

Coverage Status

Coverage remained the same at 75.286% when pulling 523bc3f on fix/t14 into 17faeae on 3.0.

@jalextowle jalextowle marked this pull request as ready for review October 9, 2019 17:29
Copy link
Contributor

@moodlezoup moodlezoup left a comment

Choose a reason for hiding this comment

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

😎

Copy link
Contributor

@dorothy-zbornak dorothy-zbornak left a comment

Choose a reason for hiding this comment

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

🔥💋

@@ -1,90 +0,0 @@
pragma solidity ^0.5.9;
Copy link
Contributor

Choose a reason for hiding this comment

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

🎉🎉

@jalextowle jalextowle merged commit 2319817 into 3.0 Oct 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants