Skip to content

Commit

Permalink
fix: upgrade minimum rigo token interfaces solc
Browse files Browse the repository at this point in the history
- minimum solc 0.8.0 required to prevent rogue rollback which skips safe math default checks
  • Loading branch information
gabririgo committed Oct 25, 2022
1 parent 8216d2f commit 7ac33a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/rigoToken/interfaces/IInflation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

pragma solidity >=0.4.22 <0.9.0;
pragma solidity >=0.8.0 <0.9.0;

/// @title Inflation Interface - Allows interaction with the Inflation contract.
/// @author Gabriele Rigo - <gab@rigoblock.com>
Expand Down
2 changes: 1 addition & 1 deletion contracts/rigoToken/interfaces/IProofOfPerformance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

pragma solidity >=0.4.22 <0.9.0;
pragma solidity >=0.8.0 <0.9.0;

/// @title Proof of Performance Interface - Allows interaction with the PoP contract.
/// @author Gabriele Rigo - <gab@rigoblock.com>
Expand Down
2 changes: 1 addition & 1 deletion contracts/rigoToken/interfaces/IRigoToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

pragma solidity >=0.5.0 <0.9.0;
pragma solidity >=0.8.0 <0.9.0;

import "../../tokens/ERC20/IERC20.sol";

Expand Down

0 comments on commit 7ac33a1

Please sign in to comment.