Skip to content

Commit

Permalink
Upgrades the Solidity version to 0.8.22 (#1124)
Browse files Browse the repository at this point in the history
* Updated from Solidity 0.8.20 to 0.8.22

* Removed unchecked blocks for loop counters
  • Loading branch information
jalextowle authored Aug 7, 2024
1 parent d437fce commit 46343ea
Show file tree
Hide file tree
Showing 219 changed files with 222 additions and 236 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
import { IHyperdriveCoreDeployer } from "../../interfaces/IHyperdriveCoreDeployer.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC20 } from "openzeppelin/token/ERC20/ERC20.sol";
import { SafeERC20 } from "openzeppelin/token/ERC20/utils/SafeERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/deployers/Target0Deployer.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { {{ name.capitalized }}Target0 } from "../../instances/{{ name.lowercase }}/{{ name.capitalized }}Target0.sol";
import { I{{ name.capitalized }} } from "../../interfaces/I{{ name.capitalized }}.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/deployers/Target1Deployer.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { {{ name.capitalized }}Target1 } from "../../instances/{{ name.lowercase }}/{{ name.capitalized }}Target1.sol";
import { I{{ name.capitalized }} } from "../../interfaces/I{{ name.capitalized }}.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/deployers/Target2Deployer.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { {{ name.capitalized }}Target2 } from "../../instances/{{ name.lowercase }}/{{ name.capitalized }}Target2.sol";
import { I{{ name.capitalized }} } from "../../interfaces/I{{ name.capitalized }}.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/deployers/Target3Deployer.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { {{ name.capitalized }}Target3 } from "../../instances/{{ name.lowercase }}/{{ name.capitalized }}Target3.sol";
import { I{{ name.capitalized }} } from "../../interfaces/I{{ name.capitalized }}.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/deployers/Target4Deployer.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { {{ name.capitalized }}Target4 } from "../../instances/{{ name.lowercase }}/{{ name.capitalized }}Target4.sol";
import { I{{ name.capitalized }} } from "../../interfaces/I{{ name.capitalized }}.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/instances/Base.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC20 } from "openzeppelin/token/ERC20/ERC20.sol";
import { SafeERC20 } from "openzeppelin/token/ERC20/utils/SafeERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/instances/Hyperdrive.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC20 } from "openzeppelin/token/ERC20/ERC20.sol";
import { SafeERC20 } from "openzeppelin/token/ERC20/utils/SafeERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/instances/Target0.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { HyperdriveTarget0 } from "../../external/HyperdriveTarget0.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/instances/Target1.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { HyperdriveTarget1 } from "../../external/HyperdriveTarget1.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/instances/Target2.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { HyperdriveTarget2 } from "../../external/HyperdriveTarget2.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/instances/Target3.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { HyperdriveTarget3 } from "../../external/HyperdriveTarget3.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/instances/Target4.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { HyperdriveTarget4 } from "../../external/HyperdriveTarget4.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/interfaces/IHyperdrive.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IHyperdrive } from "./IHyperdrive.sol";

Expand Down
2 changes: 1 addition & 1 deletion codegen/templates/interfaces/IYieldSource.sol.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IERC4626 } from "./IERC4626.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/HyperdriveDeployerCoordinator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IHyperdrive } from "../interfaces/IHyperdrive.sol";
import { IHyperdriveCoreDeployer } from "../interfaces/IHyperdriveCoreDeployer.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
import { IHyperdriveCoreDeployer } from "../../interfaces/IHyperdriveCoreDeployer.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IPool } from "aave/interfaces/IPool.sol";
import { ERC20 } from "openzeppelin/token/ERC20/ERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/aave/AaveTarget0Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { AaveTarget0 } from "../../instances/aave/AaveTarget0.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/aave/AaveTarget1Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { AaveTarget1 } from "../../instances/aave/AaveTarget1.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/aave/AaveTarget2Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { AaveTarget2 } from "../../instances/aave/AaveTarget2.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/aave/AaveTarget3Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { AaveTarget3 } from "../../instances/aave/AaveTarget3.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/aave/AaveTarget4Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { AaveTarget4 } from "../../instances/aave/AaveTarget4.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
import { IHyperdriveCoreDeployer } from "../../interfaces/IHyperdriveCoreDeployer.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IERC20 } from "../../interfaces/IERC20.sol";
import { ERC20 } from "openzeppelin/token/ERC20/ERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/eeth/EETHTarget0Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { EETHTarget0 } from "../../instances/eeth/EETHTarget0.sol";
import { IEETH } from "../../interfaces/IEETH.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/eeth/EETHTarget1Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { EETHTarget1 } from "../../instances/eeth/EETHTarget1.sol";
import { IEETH } from "../../interfaces/IEETH.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/eeth/EETHTarget2Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { EETHTarget2 } from "../../instances/eeth/EETHTarget2.sol";
import { IEETH } from "../../interfaces/IEETH.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/eeth/EETHTarget3Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { EETHTarget3 } from "../../instances/eeth/EETHTarget3.sol";
import { IEETH } from "../../interfaces/IEETH.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/eeth/EETHTarget4Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { EETHTarget4 } from "../../instances/eeth/EETHTarget4.sol";
import { IEETH } from "../../interfaces/IEETH.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
import { IHyperdriveCoreDeployer } from "../../interfaces/IHyperdriveCoreDeployer.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC20 } from "openzeppelin/token/ERC20/ERC20.sol";
import { SafeERC20 } from "openzeppelin/token/ERC20/utils/SafeERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/erc4626/ERC4626Target0Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC4626Target0 } from "../../instances/erc4626/ERC4626Target0.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/erc4626/ERC4626Target1Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC4626Target1 } from "../../instances/erc4626/ERC4626Target1.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/erc4626/ERC4626Target2Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC4626Target2 } from "../../instances/erc4626/ERC4626Target2.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/erc4626/ERC4626Target3Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC4626Target3 } from "../../instances/erc4626/ERC4626Target3.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/erc4626/ERC4626Target4Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC4626Target4 } from "../../instances/erc4626/ERC4626Target4.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
import { IHyperdriveCoreDeployer } from "../../interfaces/IHyperdriveCoreDeployer.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC20 } from "openzeppelin/token/ERC20/ERC20.sol";
import { SafeERC20 } from "openzeppelin/token/ERC20/utils/SafeERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/ezeth/EzETHTarget0Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { EzETHTarget0 } from "../../instances/ezeth/EzETHTarget0.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/ezeth/EzETHTarget1Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { EzETHTarget1 } from "../../instances/ezeth/EzETHTarget1.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/ezeth/EzETHTarget2Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { EzETHTarget2 } from "../../instances/ezeth/EzETHTarget2.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/ezeth/EzETHTarget3Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { EzETHTarget3 } from "../../instances/ezeth/EzETHTarget3.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/ezeth/EzETHTarget4Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { EzETHTarget4 } from "../../instances/ezeth/EzETHTarget4.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
import { IHyperdriveCoreDeployer } from "../../interfaces/IHyperdriveCoreDeployer.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { ERC20 } from "openzeppelin/token/ERC20/ERC20.sol";
import { SafeERC20 } from "openzeppelin/token/ERC20/utils/SafeERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/lseth/LsETHTarget0Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { LsETHTarget0 } from "../../instances/lseth/LsETHTarget0.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/lseth/LsETHTarget1Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { LsETHTarget1 } from "../../instances/lseth/LsETHTarget1.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/lseth/LsETHTarget2Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { LsETHTarget2 } from "../../instances/lseth/LsETHTarget2.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/lseth/LsETHTarget3Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { LsETHTarget3 } from "../../instances/lseth/LsETHTarget3.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/deployers/lseth/LsETHTarget4Deployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { LsETHTarget4 } from "../../instances/lseth/LsETHTarget4.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
import { IHyperdriveCoreDeployer } from "../../interfaces/IHyperdriveCoreDeployer.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { IMorpho } from "morpho-blue/src/interfaces/IMorpho.sol";
import { ERC20 } from "openzeppelin/token/ERC20/ERC20.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { MorphoBlueTarget0 } from "../../instances/morpho-blue/MorphoBlueTarget0.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { MorphoBlueTarget1 } from "../../instances/morpho-blue/MorphoBlueTarget1.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.20;
pragma solidity 0.8.22;

import { MorphoBlueTarget2 } from "../../instances/morpho-blue/MorphoBlueTarget2.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
Expand Down
Loading

0 comments on commit 46343ea

Please sign in to comment.