diff --git a/contracts/ExponentialNoError.sol b/contracts/ExponentialNoError.sol index 82f5a7a..7126c65 100644 --- a/contracts/ExponentialNoError.sol +++ b/contracts/ExponentialNoError.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BSD-3-Clause -pragma solidity 0.8.13; +pragma solidity 0.8.25; import { EXP_SCALE as EXP_SCALE_, MANTISSA_ONE as MANTISSA_ONE_ } from "./constants.sol"; diff --git a/contracts/MaxLoopsLimitHelper.sol b/contracts/MaxLoopsLimitHelper.sol index 7c5e142..4ed1ce0 100644 --- a/contracts/MaxLoopsLimitHelper.sol +++ b/contracts/MaxLoopsLimitHelper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BSD-3-Clause -pragma solidity 0.8.13; +pragma solidity 0.8.25; /** * @title MaxLoopsLimitHelper diff --git a/contracts/TimeManagerV8.sol b/contracts/TimeManagerV8.sol index 7c22190..cdd2ad4 100644 --- a/contracts/TimeManagerV8.sol +++ b/contracts/TimeManagerV8.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BSD-3-Clause -pragma solidity 0.8.13; +pragma solidity 0.8.25; import { SECONDS_PER_YEAR } from "./constants.sol"; diff --git a/contracts/constants.sol b/contracts/constants.sol index 5730cf8..49817fc 100644 --- a/contracts/constants.sol +++ b/contracts/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BSD-3-Clause -pragma solidity 0.8.13; +pragma solidity ^0.8.25; /// @dev Base unit for computations, usually used in scaling (multiplications, divisions) uint256 constant EXP_SCALE = 1e18; diff --git a/contracts/test/HarnessMaxLoopsLimitHelper.sol b/contracts/test/HarnessMaxLoopsLimitHelper.sol index 996754b..a3c017c 100644 --- a/contracts/test/HarnessMaxLoopsLimitHelper.sol +++ b/contracts/test/HarnessMaxLoopsLimitHelper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BSD-3-Clause -pragma solidity 0.8.13; +pragma solidity 0.8.25; import { MaxLoopsLimitHelper } from "../MaxLoopsLimitHelper.sol"; diff --git a/contracts/validators.sol b/contracts/validators.sol index 6456495..c7a3772 100644 --- a/contracts/validators.sol +++ b/contracts/validators.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BSD-3-Clause -pragma solidity 0.8.13; +pragma solidity 0.8.25; /// @notice Thrown if the supplied address is a zero address where it is not allowed error ZeroAddressNotAllowed(); diff --git a/hardhat.config.ts b/hardhat.config.ts index 4b06192..44418fd 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -32,7 +32,7 @@ const config: HardhatUserConfig = { solidity: { compilers: [ { - version: "0.8.13", + version: "0.8.25", settings: { optimizer: { enabled: true,