Open code423n4 opened 2 years ago
Duplicate of #39
As per the comment on #39
because the cumulative power of all the validators is calculated proportionally and made sure on the cosmos module side that it will never overflow
Hence this is not a risk.
Creating this as warden's QA Report as judge downgraded issue. Preserving original title: addition can overflow in the constructor
Lines of code
https://github.com/code-423n4/2022-05-cudos/blob/main/solidity/contracts/Gravity.sol#L661
Vulnerability details
use safe math or change solidity version to 8