Skip to content

Commit

Permalink
Bump contracts to 0.8.15 (#429)
Browse files Browse the repository at this point in the history
* update contracts to 0.8.15

* update SolcList.json
  • Loading branch information
scott-silver authored Jun 23, 2022
1 parent 6b6f12b commit 4e62929
Show file tree
Hide file tree
Showing 31 changed files with 629 additions and 31 deletions.
2 changes: 1 addition & 1 deletion contracts/Bulker.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./CometInterface.sol";
import "./ERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/Comet.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./CometMainInterface.sol";
import "./ERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/CometConfiguration.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

/**
* @title Compound's Comet Configuration Interface
Expand Down
2 changes: 1 addition & 1 deletion contracts/CometCore.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./CometConfiguration.sol";
import "./CometStorage.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/CometExt.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./CometExtInterface.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/CometExtInterface.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./CometCore.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/CometFactory.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./Comet.sol";
import "./CometConfiguration.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/CometInterface.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./CometMainInterface.sol";
import "./CometExtInterface.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/CometMainInterface.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./CometCore.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/CometMath.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

/**
* @title Compound's Comet Math Contract
Expand Down
2 changes: 1 addition & 1 deletion contracts/CometProxyAdmin.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./vendor/proxy/transparent/ProxyAdmin.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/CometRewards.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./CometInterface.sol";
import "./ERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/CometStorage.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

/**
* @title Compound's Comet Storage Interface
Expand Down
2 changes: 1 addition & 1 deletion contracts/Configurator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./CometFactory.sol";
import "./CometConfiguration.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/ConfiguratorStorage.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./CometConfiguration.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/ERC20.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

/**
* @title ERC 20 Token Standard Interface
Expand Down
2 changes: 1 addition & 1 deletion contracts/IWETH9.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

interface IWETH9 {
function name() external view returns (string memory);
Expand Down
2 changes: 1 addition & 1 deletion contracts/TransparentUpgradeableConfiguratorProxy.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./vendor/proxy/transparent/TransparentUpgradeableProxy.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/CometHarness.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "../Comet.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/CometHarnessInterface.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "../CometInterface.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/Dog.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

contract Dog {
bool public initialized;
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/EvilToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: XXX
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "./../ERC20.sol";
import "./../Comet.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/FaucetToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: XXX
pragma solidity 0.8.13;
pragma solidity 0.8.15;

/**
* @title Standard ERC20 token
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/FaucetWETH.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: XXX
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "../vendor/canonical-weth/contracts/WETH9.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/Fauceteer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "../ERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/GovernorSimple.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

interface TimelockInterface {
function queuedTransactions(bytes32 hash) external view returns (bool);
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/SimplePriceFeed.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

import "../vendor/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/SimpleTimelock.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
pragma solidity 0.8.15;

/**
* @dev Simple Timelock for more realistic deployments and scenarios.
Expand Down
2 changes: 1 addition & 1 deletion contracts/vendor/canonical-weth/contracts/WETH9.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

pragma solidity 0.8.13;
pragma solidity 0.8.15;

contract WETH9 {
string public name = "Wrapped Ether";
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function setupDefaultNetworkProviders(hardhatConfig: HardhatUserConfig) {
*/
const config: HardhatUserConfig = {
solidity: {
version: '0.8.13',
version: '0.8.15',
settings: {
optimizer: (
process.env['OPTIMIZER_DISABLED'] ? { enabled: false } : {
Expand Down
Loading

0 comments on commit 4e62929

Please sign in to comment.