livepeer / protocol

Livepeer protocol
MIT License
154 stars 45 forks source link

Remove SafeMath from the protocol's dependencies #559

Open RiccardoBiosas opened 2 years ago

RiccardoBiosas commented 2 years ago

Since solidity 0.8.x all arithmetic is checked by default which makes the explicit usage of OpenZeppelin SafeMath unnecessary. As the protocol switched to Solidity 0.8.9, it's safe to remove OZ SafeMath from its dependencies (i.e.: here and here).