Psychedelic / dank

Dank - The Internet Computer Decentralized Bank - A collection of Open Internet Services - Including the Cycles Token (XTC)
GNU General Public License v3.0
58 stars 27 forks source link

Adding overflow/underflow protection in release mode #26

Closed ferencdg closed 3 years ago

ferencdg commented 3 years ago

In release build we will now have runtime checks whether integers overflow or underflow. By doing so, one of the most common smart contract security weaknesses are prevented.

issue: Guard against overflows on balances [ch23813]

shortcut-integration[bot] commented 3 years ago

This pull request has been linked to Clubhouse Story #23813: Guard against overflows on balances.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 1205866929


Changes Missing Coverage Covered Lines Changed/Added Lines %
xtc/src/lib.rs 6 9 66.67%
<!-- Total: 6 9 66.67% -->
Totals Coverage Status
Change from base Build 1202066438: 0.1%
Covered Lines: 743
Relevant Lines: 2330

💛 - Coveralls