From 68534c467aee73ec94047ecdd9d3331a433fc952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renaud?= Date: Thu, 2 Jun 2022 11:59:19 +0200 Subject: [PATCH 1/2] public lock uses solc 0.8.11 --- smart-contracts/contracts/PublicLock.sol | 2 +- smart-contracts/contracts/UnlockUtils.sol | 2 +- smart-contracts/hardhat.config.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/smart-contracts/contracts/PublicLock.sol b/smart-contracts/contracts/PublicLock.sol index 2e432455770..1dc70b8cc8c 100755 --- a/smart-contracts/contracts/PublicLock.sol +++ b/smart-contracts/contracts/PublicLock.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.7; +pragma solidity ^0.8.11; import '@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol'; import '@openzeppelin/contracts-upgradeable/utils/introspection/ERC165StorageUpgradeable.sol'; diff --git a/smart-contracts/contracts/UnlockUtils.sol b/smart-contracts/contracts/UnlockUtils.sol index af302ff9a30..6af0d7fb8dc 100644 --- a/smart-contracts/contracts/UnlockUtils.sol +++ b/smart-contracts/contracts/UnlockUtils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.5.17 <=0.8.7; +pragma solidity >=0.5.17 <=0.8.11; // This contract provides some utility methods for use with the unlock protocol smart contracts. // Borrowed from: diff --git a/smart-contracts/hardhat.config.js b/smart-contracts/hardhat.config.js index 4012332c986..291cd6fed6b 100644 --- a/smart-contracts/hardhat.config.js +++ b/smart-contracts/hardhat.config.js @@ -138,6 +138,7 @@ module.exports = { { version: '0.8.2', settings }, { version: '0.8.4', settings }, { version: '0.8.7', settings }, + { version: '0.8.11', settings }, ], }, mocha: { From d0f9f293c1bff12d2518ce74e565504a867bf2dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renaud?= Date: Thu, 2 Jun 2022 12:05:27 +0200 Subject: [PATCH 2/2] bump to 0.8.13 --- smart-contracts/contracts/PublicLock.sol | 2 +- smart-contracts/contracts/UnlockUtils.sol | 2 +- smart-contracts/hardhat.config.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/smart-contracts/contracts/PublicLock.sol b/smart-contracts/contracts/PublicLock.sol index 1dc70b8cc8c..6a4e45cda60 100755 --- a/smart-contracts/contracts/PublicLock.sol +++ b/smart-contracts/contracts/PublicLock.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.11; +pragma solidity ^0.8.13; import '@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol'; import '@openzeppelin/contracts-upgradeable/utils/introspection/ERC165StorageUpgradeable.sol'; diff --git a/smart-contracts/contracts/UnlockUtils.sol b/smart-contracts/contracts/UnlockUtils.sol index 6af0d7fb8dc..f4647c6cc27 100644 --- a/smart-contracts/contracts/UnlockUtils.sol +++ b/smart-contracts/contracts/UnlockUtils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.5.17 <=0.8.11; +pragma solidity >=0.5.17 <=0.8.13; // This contract provides some utility methods for use with the unlock protocol smart contracts. // Borrowed from: diff --git a/smart-contracts/hardhat.config.js b/smart-contracts/hardhat.config.js index 291cd6fed6b..1f31ffe05ff 100644 --- a/smart-contracts/hardhat.config.js +++ b/smart-contracts/hardhat.config.js @@ -138,7 +138,7 @@ module.exports = { { version: '0.8.2', settings }, { version: '0.8.4', settings }, { version: '0.8.7', settings }, - { version: '0.8.11', settings }, + { version: '0.8.13', settings }, ], }, mocha: {