diff --git a/test/3rdPartyLibs/LogExpMath.sol b/test/3rdPartyLibs/LogExpMath.sol index 0ad6ad95e..3aff77ada 100644 --- a/test/3rdPartyLibs/LogExpMath.sol +++ b/test/3rdPartyLibs/LogExpMath.sol @@ -12,7 +12,7 @@ // COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { BalancerErrors, _require } from "./BalancerErrors.sol"; diff --git a/test/combinatorial/MultiToken._transferFrom.t.sol b/test/combinatorial/MultiToken._transferFrom.t.sol index 4b3af9398..bc147b2b4 100644 --- a/test/combinatorial/MultiToken._transferFrom.t.sol +++ b/test/combinatorial/MultiToken._transferFrom.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import "forge-std/Test.sol"; import "forge-std/console2.sol"; diff --git a/test/instances/aave/AaveHyperdrive.t.sol b/test/instances/aave/AaveHyperdrive.t.sol index 8433999ab..88b97ecf8 100644 --- a/test/instances/aave/AaveHyperdrive.t.sol +++ b/test/instances/aave/AaveHyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IPool } from "aave/interfaces/IPool.sol"; import { DataTypes } from "aave/protocol/libraries/types/DataTypes.sol"; diff --git a/test/instances/aave/AaveL2Hyperdrive.t.sol b/test/instances/aave/AaveL2Hyperdrive.t.sol index 624f6d3ab..e6b45aa4f 100644 --- a/test/instances/aave/AaveL2Hyperdrive.t.sol +++ b/test/instances/aave/AaveL2Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IL2Pool } from "contracts/src/interfaces/IAave.sol"; import { DataTypes } from "aave/protocol/libraries/types/DataTypes.sol"; diff --git a/test/instances/aerodrome/AerodromeLpHyperdriveInstanceTest.t.sol b/test/instances/aerodrome/AerodromeLpHyperdriveInstanceTest.t.sol index 119fb94b6..36414f378 100644 --- a/test/instances/aerodrome/AerodromeLpHyperdriveInstanceTest.t.sol +++ b/test/instances/aerodrome/AerodromeLpHyperdriveInstanceTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IGauge } from "aerodrome/interfaces/IGauge.sol"; diff --git a/test/instances/aerodrome/AerodromeLp_AERO_USDC_Hyperdrive.t.sol b/test/instances/aerodrome/AerodromeLp_AERO_USDC_Hyperdrive.t.sol index 852c4e722..cb41a67f9 100644 --- a/test/instances/aerodrome/AerodromeLp_AERO_USDC_Hyperdrive.t.sol +++ b/test/instances/aerodrome/AerodromeLp_AERO_USDC_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/instances/chainlink/CbETHBase.t.sol b/test/instances/chainlink/CbETHBase.t.sol index c02e2f689..3541ca2fe 100644 --- a/test/instances/chainlink/CbETHBase.t.sol +++ b/test/instances/chainlink/CbETHBase.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/instances/chainlink/ChainlinkHyperdriveInstanceTest.t.sol b/test/instances/chainlink/ChainlinkHyperdriveInstanceTest.t.sol index 4753d6db7..909c5e561 100644 --- a/test/instances/chainlink/ChainlinkHyperdriveInstanceTest.t.sol +++ b/test/instances/chainlink/ChainlinkHyperdriveInstanceTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { ChainlinkHyperdriveCoreDeployer } from "../../../contracts/src/deployers/chainlink/ChainlinkHyperdriveCoreDeployer.sol"; diff --git a/test/instances/chainlink/WstETHGnosisChain.t.sol b/test/instances/chainlink/WstETHGnosisChain.t.sol index 996ca4256..f14bf37dc 100644 --- a/test/instances/chainlink/WstETHGnosisChain.t.sol +++ b/test/instances/chainlink/WstETHGnosisChain.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/instances/corn/CornHyperdriveInstanceTest.t.sol b/test/instances/corn/CornHyperdriveInstanceTest.t.sol index c52bfe141..8d16a8268 100644 --- a/test/instances/corn/CornHyperdriveInstanceTest.t.sol +++ b/test/instances/corn/CornHyperdriveInstanceTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { CornHyperdriveCoreDeployer } from "../../../contracts/src/deployers/corn/CornHyperdriveCoreDeployer.sol"; diff --git a/test/instances/corn/Corn_LBTC_Hyperdrive.sol b/test/instances/corn/Corn_LBTC_Hyperdrive.sol index 9b1402d57..6ac1413a3 100644 --- a/test/instances/corn/Corn_LBTC_Hyperdrive.sol +++ b/test/instances/corn/Corn_LBTC_Hyperdrive.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/instances/corn/Corn_sDAI_Hyperdrive.t.sol b/test/instances/corn/Corn_sDAI_Hyperdrive.t.sol index 1c5c3c4e0..e534b1eab 100644 --- a/test/instances/corn/Corn_sDAI_Hyperdrive.t.sol +++ b/test/instances/corn/Corn_sDAI_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/instances/eeth/EETHHyperdrive.t.sol b/test/instances/eeth/EETHHyperdrive.t.sol index b002e8743..e3737f318 100644 --- a/test/instances/eeth/EETHHyperdrive.t.sol +++ b/test/instances/eeth/EETHHyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { ILiquidityPool } from "../../../contracts/src/interfaces/ILiquidityPool.sol"; import { IEETH } from "../../../contracts/src/interfaces/IEETH.sol"; diff --git a/test/instances/erc4626/ERC4626Hyperdrive.t.sol b/test/instances/erc4626/ERC4626Hyperdrive.t.sol index b4620dec1..e7dd1ef48 100644 --- a/test/instances/erc4626/ERC4626Hyperdrive.t.sol +++ b/test/instances/erc4626/ERC4626Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { ERC4626HyperdriveCoreDeployer } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveCoreDeployer.sol"; import { ERC4626HyperdriveDeployerCoordinator } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveDeployerCoordinator.sol"; diff --git a/test/instances/erc4626/ERC4626HyperdriveInstanceTest.t.sol b/test/instances/erc4626/ERC4626HyperdriveInstanceTest.t.sol index 37f82a6d5..5e7eec50a 100644 --- a/test/instances/erc4626/ERC4626HyperdriveInstanceTest.t.sol +++ b/test/instances/erc4626/ERC4626HyperdriveInstanceTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { ERC4626HyperdriveCoreDeployer } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveCoreDeployer.sol"; import { ERC4626HyperdriveDeployerCoordinator } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveDeployerCoordinator.sol"; diff --git a/test/instances/erc4626/ERC4626Validation.t.sol b/test/instances/erc4626/ERC4626Validation.t.sol index 72bd913ce..656f8e167 100644 --- a/test/instances/erc4626/ERC4626Validation.t.sol +++ b/test/instances/erc4626/ERC4626Validation.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { ERC4626HyperdriveCoreDeployer } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveCoreDeployer.sol"; import { ERC4626HyperdriveDeployerCoordinator } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveDeployerCoordinator.sol"; diff --git a/test/instances/erc4626/MetaMorphoHyperdriveInstanceTest.t.sol b/test/instances/erc4626/MetaMorphoHyperdriveInstanceTest.t.sol index 29357d24b..44e75b24f 100644 --- a/test/instances/erc4626/MetaMorphoHyperdriveInstanceTest.t.sol +++ b/test/instances/erc4626/MetaMorphoHyperdriveInstanceTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { Id, IMorpho, Market, MarketParams } from "morpho-blue/src/interfaces/IMorpho.sol"; diff --git a/test/instances/erc4626/MoonwellETH.t.sol b/test/instances/erc4626/MoonwellETH.t.sol index 86f6df775..95aece3ac 100644 --- a/test/instances/erc4626/MoonwellETH.t.sol +++ b/test/instances/erc4626/MoonwellETH.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/instances/erc4626/MoonwellEURC.t.sol b/test/instances/erc4626/MoonwellEURC.t.sol index e901d7d55..4bd8a4c6c 100644 --- a/test/instances/erc4626/MoonwellEURC.t.sol +++ b/test/instances/erc4626/MoonwellEURC.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/instances/erc4626/MoonwellUSDC.t.sol b/test/instances/erc4626/MoonwellUSDC.t.sol index b7355c7b3..9c1eaa477 100644 --- a/test/instances/erc4626/MoonwellUSDC.t.sol +++ b/test/instances/erc4626/MoonwellUSDC.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/instances/erc4626/SUSDe.t.sol b/test/instances/erc4626/SUSDe.t.sol index b99b2a67d..d63a6904c 100644 --- a/test/instances/erc4626/SUSDe.t.sol +++ b/test/instances/erc4626/SUSDe.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { ERC4626HyperdriveCoreDeployer } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveCoreDeployer.sol"; diff --git a/test/instances/erc4626/SnARS.t.sol b/test/instances/erc4626/SnARS.t.sol index 891736ea3..84de12425 100644 --- a/test/instances/erc4626/SnARS.t.sol +++ b/test/instances/erc4626/SnARS.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/instances/erc4626/StUSD.t.sol b/test/instances/erc4626/StUSD.t.sol index 60e20018e..cdfdad9d6 100644 --- a/test/instances/erc4626/StUSD.t.sol +++ b/test/instances/erc4626/StUSD.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/instances/erc4626/Sweep.t.sol b/test/instances/erc4626/Sweep.t.sol index 799f405e0..bd8d07241 100644 --- a/test/instances/erc4626/Sweep.t.sol +++ b/test/instances/erc4626/Sweep.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { HyperdriveFactory } from "../../../contracts/src/factory/HyperdriveFactory.sol"; import { ERC4626Hyperdrive } from "../../../contracts/src/instances/erc4626/ERC4626Hyperdrive.sol"; diff --git a/test/instances/erc4626/UsdcERC4626.t.sol b/test/instances/erc4626/UsdcERC4626.t.sol index 9c6576b6c..e90122f01 100644 --- a/test/instances/erc4626/UsdcERC4626.t.sol +++ b/test/instances/erc4626/UsdcERC4626.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { ERC4626HyperdriveCoreDeployer } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveCoreDeployer.sol"; import { ERC4626HyperdriveDeployerCoordinator } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveDeployerCoordinator.sol"; diff --git a/test/instances/erc4626/sDai.t.sol b/test/instances/erc4626/sDai.t.sol index 3009a069b..25d3b6ee0 100644 --- a/test/instances/erc4626/sDai.t.sol +++ b/test/instances/erc4626/sDai.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IERC4626 } from "../../../contracts/src/interfaces/IERC4626.sol"; diff --git a/test/instances/erc4626/sUSDS.t.sol b/test/instances/erc4626/sUSDS.t.sol index e3bb1ce94..164e376dc 100644 --- a/test/instances/erc4626/sUSDS.t.sol +++ b/test/instances/erc4626/sUSDS.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/instances/erc4626/sxDai.t.sol b/test/instances/erc4626/sxDai.t.sol index 40cf4fe54..84be14207 100644 --- a/test/instances/erc4626/sxDai.t.sol +++ b/test/instances/erc4626/sxDai.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { ERC4626HyperdriveCoreDeployer } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveCoreDeployer.sol"; diff --git a/test/instances/ezETH/EzETHHyperdrive.t.sol b/test/instances/ezETH/EzETHHyperdrive.t.sol index b0ebd5a8f..89defb25d 100644 --- a/test/instances/ezETH/EzETHHyperdrive.t.sol +++ b/test/instances/ezETH/EzETHHyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { EzETHHyperdriveCoreDeployer } from "../../../contracts/src/deployers/ezeth/EzETHHyperdriveCoreDeployer.sol"; diff --git a/test/instances/ezeth-linea/EzETHLineaTest.t.sol b/test/instances/ezeth-linea/EzETHLineaTest.t.sol index ca680047a..6dbb46410 100644 --- a/test/instances/ezeth-linea/EzETHLineaTest.t.sol +++ b/test/instances/ezeth-linea/EzETHLineaTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { EzETHLineaHyperdriveCoreDeployer } from "../../../contracts/src/deployers/ezeth-linea/EzETHLineaHyperdriveCoreDeployer.sol"; diff --git a/test/instances/lseth/LsETHHyperdrive.t.sol b/test/instances/lseth/LsETHHyperdrive.t.sol index 3526ddc33..aefc4b371 100644 --- a/test/instances/lseth/LsETHHyperdrive.t.sol +++ b/test/instances/lseth/LsETHHyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { LsETHHyperdriveCoreDeployer } from "../../../contracts/src/deployers/lseth/LsETHHyperdriveCoreDeployer.sol"; diff --git a/test/instances/morpho-blue/MorphoBlueHyperdriveInstanceTest.t.sol b/test/instances/morpho-blue/MorphoBlueHyperdriveInstanceTest.t.sol index 97368b477..fa9772ee8 100644 --- a/test/instances/morpho-blue/MorphoBlueHyperdriveInstanceTest.t.sol +++ b/test/instances/morpho-blue/MorphoBlueHyperdriveInstanceTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { Id, IMorpho, Market, MarketParams } from "morpho-blue/src/interfaces/IMorpho.sol"; diff --git a/test/instances/morpho-blue/MorphoBlue_USDe_DAI_Hyperdrive.t.sol b/test/instances/morpho-blue/MorphoBlue_USDe_DAI_Hyperdrive.t.sol index 1bd383c58..0de16e46f 100644 --- a/test/instances/morpho-blue/MorphoBlue_USDe_DAI_Hyperdrive.t.sol +++ b/test/instances/morpho-blue/MorphoBlue_USDe_DAI_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IMorpho } from "morpho-blue/src/interfaces/IMorpho.sol"; diff --git a/test/instances/morpho-blue/MorphoBlue_WBTC_USDC_Hyperdrive.t.sol b/test/instances/morpho-blue/MorphoBlue_WBTC_USDC_Hyperdrive.t.sol index 95ca6e8e1..8eff4fa54 100644 --- a/test/instances/morpho-blue/MorphoBlue_WBTC_USDC_Hyperdrive.t.sol +++ b/test/instances/morpho-blue/MorphoBlue_WBTC_USDC_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IMorpho } from "morpho-blue/src/interfaces/IMorpho.sol"; diff --git a/test/instances/morpho-blue/MorphoBlue_cbETH_USDC_Base_Hyperdrive.t.sol b/test/instances/morpho-blue/MorphoBlue_cbETH_USDC_Base_Hyperdrive.t.sol index f5b566d53..02fdb9f1f 100644 --- a/test/instances/morpho-blue/MorphoBlue_cbETH_USDC_Base_Hyperdrive.t.sol +++ b/test/instances/morpho-blue/MorphoBlue_cbETH_USDC_Base_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IMorpho } from "morpho-blue/src/interfaces/IMorpho.sol"; diff --git a/test/instances/morpho-blue/MorphoBlue_cbETH_USDC_Mainnet_Hyperdrive.t.sol b/test/instances/morpho-blue/MorphoBlue_cbETH_USDC_Mainnet_Hyperdrive.t.sol index 0e1d7e889..ecaa3b199 100644 --- a/test/instances/morpho-blue/MorphoBlue_cbETH_USDC_Mainnet_Hyperdrive.t.sol +++ b/test/instances/morpho-blue/MorphoBlue_cbETH_USDC_Mainnet_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IMorpho } from "morpho-blue/src/interfaces/IMorpho.sol"; diff --git a/test/instances/morpho-blue/MorphoBlue_sUSDe_DAI_Hyperdrive.t.sol b/test/instances/morpho-blue/MorphoBlue_sUSDe_DAI_Hyperdrive.t.sol index b70ba80b2..d02c399b7 100644 --- a/test/instances/morpho-blue/MorphoBlue_sUSDe_DAI_Hyperdrive.t.sol +++ b/test/instances/morpho-blue/MorphoBlue_sUSDe_DAI_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IMorpho } from "morpho-blue/src/interfaces/IMorpho.sol"; diff --git a/test/instances/morpho-blue/MorphoBlue_wstETH_USDA_Hyperdrive.t.sol b/test/instances/morpho-blue/MorphoBlue_wstETH_USDA_Hyperdrive.t.sol index d751c5ebf..da2cd030a 100644 --- a/test/instances/morpho-blue/MorphoBlue_wstETH_USDA_Hyperdrive.t.sol +++ b/test/instances/morpho-blue/MorphoBlue_wstETH_USDA_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IMorpho } from "morpho-blue/src/interfaces/IMorpho.sol"; diff --git a/test/instances/morpho-blue/MorphoBlue_wstETH_USDC_Hyperdrive.t.sol b/test/instances/morpho-blue/MorphoBlue_wstETH_USDC_Hyperdrive.t.sol index 1aaa58e0f..2b2b015f1 100644 --- a/test/instances/morpho-blue/MorphoBlue_wstETH_USDC_Hyperdrive.t.sol +++ b/test/instances/morpho-blue/MorphoBlue_wstETH_USDC_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IMorpho } from "morpho-blue/src/interfaces/IMorpho.sol"; diff --git a/test/instances/reth/RETHHyperdrive.t.sol b/test/instances/reth/RETHHyperdrive.t.sol index dd243ab32..ef1273f65 100644 --- a/test/instances/reth/RETHHyperdrive.t.sol +++ b/test/instances/reth/RETHHyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { ETH } from "../../../contracts/src/libraries/Constants.sol"; diff --git a/test/instances/rseth-linea/RsETHLineaHyperdrive.t.sol b/test/instances/rseth-linea/RsETHLineaHyperdrive.t.sol index 82ae9cbbf..2dffe3c33 100644 --- a/test/instances/rseth-linea/RsETHLineaHyperdrive.t.sol +++ b/test/instances/rseth-linea/RsETHLineaHyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { RsETHLineaHyperdriveCoreDeployer } from "../../../contracts/src/deployers/rseth-linea/RsETHLineaHyperdriveCoreDeployer.sol"; diff --git a/test/instances/staking-usds/StakingUSDSHyperdriveInstanceTest.t.sol b/test/instances/staking-usds/StakingUSDSHyperdriveInstanceTest.t.sol index 2138e8547..fac8d20b5 100644 --- a/test/instances/staking-usds/StakingUSDSHyperdriveInstanceTest.t.sol +++ b/test/instances/staking-usds/StakingUSDSHyperdriveInstanceTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { StakingUSDSHyperdriveCoreDeployer } from "../../../contracts/src/deployers/staking-usds/StakingUSDSHyperdriveCoreDeployer.sol"; diff --git a/test/instances/staking-usds/StakingUSDS_Chronicle_Hyperdrive.t.sol b/test/instances/staking-usds/StakingUSDS_Chronicle_Hyperdrive.t.sol index f5516c5ba..fe266a729 100644 --- a/test/instances/staking-usds/StakingUSDS_Chronicle_Hyperdrive.t.sol +++ b/test/instances/staking-usds/StakingUSDS_Chronicle_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/instances/staking-usds/StakingUSDS_Sky_Hyperdrive.t.sol b/test/instances/staking-usds/StakingUSDS_Sky_Hyperdrive.t.sol index e95c77664..d8f701c87 100644 --- a/test/instances/staking-usds/StakingUSDS_Sky_Hyperdrive.t.sol +++ b/test/instances/staking-usds/StakingUSDS_Sky_Hyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/instances/steth/StETHHyperdrive.t.sol b/test/instances/steth/StETHHyperdrive.t.sol index 94f4afa57..051dd50ed 100644 --- a/test/instances/steth/StETHHyperdrive.t.sol +++ b/test/instances/steth/StETHHyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { StETHHyperdriveCoreDeployer } from "../../../contracts/src/deployers/steth/StETHHyperdriveCoreDeployer.sol"; diff --git a/test/instances/steth/Sweep.t.sol b/test/instances/steth/Sweep.t.sol index c23dfe1f9..6b75bbdd2 100644 --- a/test/instances/steth/Sweep.t.sol +++ b/test/instances/steth/Sweep.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { HyperdriveFactory } from "../../../contracts/src/factory/HyperdriveFactory.sol"; import { StETHHyperdrive } from "../../../contracts/src/instances/steth/StETHHyperdrive.sol"; diff --git a/test/instances/stk-well/StkWellHyperdrive.t.sol b/test/instances/stk-well/StkWellHyperdrive.t.sol index 5e02b6f07..3e3864cd2 100644 --- a/test/instances/stk-well/StkWellHyperdrive.t.sol +++ b/test/instances/stk-well/StkWellHyperdrive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdStorage, StdStorage } from "forge-std/Test.sol"; import { StkWellHyperdriveCoreDeployer } from "../../../contracts/src/deployers/stk-well/StkWellHyperdriveCoreDeployer.sol"; diff --git a/test/integrations/deployers/DeployerCoordinator.t.sol b/test/integrations/deployers/DeployerCoordinator.t.sol index e9d5f023e..bc8372c0e 100644 --- a/test/integrations/deployers/DeployerCoordinator.t.sol +++ b/test/integrations/deployers/DeployerCoordinator.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/integrations/deployers/ERC4626DeployerCoordinator.t.sol b/test/integrations/deployers/ERC4626DeployerCoordinator.t.sol index 2be5ed6a1..0c3256bea 100644 --- a/test/integrations/deployers/ERC4626DeployerCoordinator.t.sol +++ b/test/integrations/deployers/ERC4626DeployerCoordinator.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/integrations/deployers/RethDeployerCoordinator.t.sol b/test/integrations/deployers/RethDeployerCoordinator.t.sol index 387066ef0..7c49cd9ba 100644 --- a/test/integrations/deployers/RethDeployerCoordinator.t.sol +++ b/test/integrations/deployers/RethDeployerCoordinator.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/integrations/deployers/StethDeployerCoordinator.t.sol b/test/integrations/deployers/StethDeployerCoordinator.t.sol index 20ab1db67..5f005b478 100644 --- a/test/integrations/deployers/StethDeployerCoordinator.t.sol +++ b/test/integrations/deployers/StethDeployerCoordinator.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/integrations/factory/HyperdriveFactory.t.sol b/test/integrations/factory/HyperdriveFactory.t.sol index 676fbe217..24375aa2e 100644 --- a/test/integrations/factory/HyperdriveFactory.t.sol +++ b/test/integrations/factory/HyperdriveFactory.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { ERC4626HyperdriveCoreDeployer } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveCoreDeployer.sol"; import { ERC4626HyperdriveDeployerCoordinator } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveDeployerCoordinator.sol"; diff --git a/test/integrations/hyperdrive/CheckpointRewards.t.sol b/test/integrations/hyperdrive/CheckpointRewards.t.sol index 017494e4a..a0b80f60d 100644 --- a/test/integrations/hyperdrive/CheckpointRewards.t.sol +++ b/test/integrations/hyperdrive/CheckpointRewards.t.sol @@ -1,5 +1,5 @@ /// SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { VmSafe } from "forge-std/Vm.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/integrations/hyperdrive/CircuitBreakerTest.t.sol b/test/integrations/hyperdrive/CircuitBreakerTest.t.sol index a842c6263..fa3e97737 100644 --- a/test/integrations/hyperdrive/CircuitBreakerTest.t.sol +++ b/test/integrations/hyperdrive/CircuitBreakerTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError } from "forge-std/StdError.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/integrations/hyperdrive/IntraCheckpointNettingTest.t.sol b/test/integrations/hyperdrive/IntraCheckpointNettingTest.t.sol index eae0719c6..c030b53c6 100644 --- a/test/integrations/hyperdrive/IntraCheckpointNettingTest.t.sol +++ b/test/integrations/hyperdrive/IntraCheckpointNettingTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { FixedPointMath, ONE } from "../../../contracts/src/libraries/FixedPointMath.sol"; import { HyperdriveMath } from "../../../contracts/src/libraries/HyperdriveMath.sol"; diff --git a/test/integrations/hyperdrive/LPWithdrawalTest.t.sol b/test/integrations/hyperdrive/LPWithdrawalTest.t.sol index 21ca8d2c2..c075731e8 100644 --- a/test/integrations/hyperdrive/LPWithdrawalTest.t.sol +++ b/test/integrations/hyperdrive/LPWithdrawalTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError } from "forge-std/StdError.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/integrations/hyperdrive/NegativeInterestLongFeeTest.t.sol b/test/integrations/hyperdrive/NegativeInterestLongFeeTest.t.sol index e926a6348..da545faa1 100644 --- a/test/integrations/hyperdrive/NegativeInterestLongFeeTest.t.sol +++ b/test/integrations/hyperdrive/NegativeInterestLongFeeTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { FixedPointMath, ONE } from "../../../contracts/src/libraries/FixedPointMath.sol"; import { HyperdriveMath } from "../../../contracts/src/libraries/HyperdriveMath.sol"; diff --git a/test/integrations/hyperdrive/NegativeInterestShortFeeTest.t.sol b/test/integrations/hyperdrive/NegativeInterestShortFeeTest.t.sol index b700e9371..ad79d5754 100644 --- a/test/integrations/hyperdrive/NegativeInterestShortFeeTest.t.sol +++ b/test/integrations/hyperdrive/NegativeInterestShortFeeTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { FixedPointMath, ONE } from "../../../contracts/src/libraries/FixedPointMath.sol"; import { HyperdriveMath } from "../../../contracts/src/libraries/HyperdriveMath.sol"; diff --git a/test/integrations/hyperdrive/NonstandardDecimals.sol b/test/integrations/hyperdrive/NonstandardDecimals.sol index 1034b9a18..50da1d3a4 100644 --- a/test/integrations/hyperdrive/NonstandardDecimals.sol +++ b/test/integrations/hyperdrive/NonstandardDecimals.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { AssetId } from "../../../contracts/src/libraries/AssetId.sol"; import { FixedPointMath } from "../../../contracts/src/libraries/FixedPointMath.sol"; diff --git a/test/integrations/hyperdrive/PresentValueTest.t.sol b/test/integrations/hyperdrive/PresentValueTest.t.sol index 9c2e33b9b..c9ab4d7f2 100644 --- a/test/integrations/hyperdrive/PresentValueTest.t.sol +++ b/test/integrations/hyperdrive/PresentValueTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { console2 as console } from "forge-std/console2.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/integrations/hyperdrive/PriceDiscovery.t.sol b/test/integrations/hyperdrive/PriceDiscovery.t.sol index a4ad4ee15..cae33433e 100644 --- a/test/integrations/hyperdrive/PriceDiscovery.t.sol +++ b/test/integrations/hyperdrive/PriceDiscovery.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { AssetId } from "../../../contracts/src/libraries/AssetId.sol"; import { FixedPointMath, ONE } from "../../../contracts/src/libraries/FixedPointMath.sol"; diff --git a/test/integrations/hyperdrive/ReentrancyTest.t.sol b/test/integrations/hyperdrive/ReentrancyTest.t.sol index fa1f16329..433c2ee91 100644 --- a/test/integrations/hyperdrive/ReentrancyTest.t.sol +++ b/test/integrations/hyperdrive/ReentrancyTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError } from "forge-std/StdError.sol"; import { ReentrancyGuard } from "openzeppelin/utils/ReentrancyGuard.sol"; diff --git a/test/integrations/hyperdrive/RoundTripTest.t.sol b/test/integrations/hyperdrive/RoundTripTest.t.sol index c85ec5ecf..5c8634c26 100644 --- a/test/integrations/hyperdrive/RoundTripTest.t.sol +++ b/test/integrations/hyperdrive/RoundTripTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError } from "forge-std/StdError.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/integrations/hyperdrive/SandwichTest.t.sol b/test/integrations/hyperdrive/SandwichTest.t.sol index 7e87f1ad3..1efe0d6b3 100644 --- a/test/integrations/hyperdrive/SandwichTest.t.sol +++ b/test/integrations/hyperdrive/SandwichTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { AssetId } from "../../../contracts/src/libraries/AssetId.sol"; import { FixedPointMath, ONE } from "../../../contracts/src/libraries/FixedPointMath.sol"; diff --git a/test/integrations/hyperdrive/VariableInterestLongTest.t.sol b/test/integrations/hyperdrive/VariableInterestLongTest.t.sol index a9439e92e..30eb135c4 100644 --- a/test/integrations/hyperdrive/VariableInterestLongTest.t.sol +++ b/test/integrations/hyperdrive/VariableInterestLongTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { FixedPointMath } from "../../../contracts/src/libraries/FixedPointMath.sol"; import { HyperdriveMath } from "../../../contracts/src/libraries/HyperdriveMath.sol"; diff --git a/test/integrations/hyperdrive/VariableInterestShortTest.t.sol b/test/integrations/hyperdrive/VariableInterestShortTest.t.sol index ce99a7a0b..e70fe2539 100644 --- a/test/integrations/hyperdrive/VariableInterestShortTest.t.sol +++ b/test/integrations/hyperdrive/VariableInterestShortTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { FixedPointMath } from "../../../contracts/src/libraries/FixedPointMath.sol"; import { HyperdriveMath } from "../../../contracts/src/libraries/HyperdriveMath.sol"; diff --git a/test/integrations/hyperdrive/ZombieInterestTest.t.sol b/test/integrations/hyperdrive/ZombieInterestTest.t.sol index 97fcd6239..f04fb9ed4 100644 --- a/test/integrations/hyperdrive/ZombieInterestTest.t.sol +++ b/test/integrations/hyperdrive/ZombieInterestTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { FixedPointMath } from "../../../contracts/src/libraries/FixedPointMath.sol"; import { HyperdriveTest, HyperdriveUtils } from "../../utils/HyperdriveTest.sol"; diff --git a/test/units/MultiToken.t.sol b/test/units/MultiToken.t.sol index a63d9bc0c..c12cc67de 100644 --- a/test/units/MultiToken.t.sol +++ b/test/units/MultiToken.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IHyperdrive } from "../../contracts/src/interfaces/IHyperdrive.sol"; import { IHyperdriveAdminController } from "../../contracts/src/interfaces/IHyperdriveAdminController.sol"; diff --git a/test/units/hyperdrive/AddLiquidityTest.t.sol b/test/units/hyperdrive/AddLiquidityTest.t.sol index 519f79297..2f56113e0 100644 --- a/test/units/hyperdrive/AddLiquidityTest.t.sol +++ b/test/units/hyperdrive/AddLiquidityTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { VmSafe } from "forge-std/Vm.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/units/hyperdrive/Admin.t.sol b/test/units/hyperdrive/Admin.t.sol index 4514300c6..961f6f7db 100644 --- a/test/units/hyperdrive/Admin.t.sol +++ b/test/units/hyperdrive/Admin.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { HyperdriveFactory } from "../../../contracts/src/factory/HyperdriveFactory.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/units/hyperdrive/CheckpointTest.t.sol b/test/units/hyperdrive/CheckpointTest.t.sol index 8f6d89a84..a1d38cc39 100644 --- a/test/units/hyperdrive/CheckpointTest.t.sol +++ b/test/units/hyperdrive/CheckpointTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { VmSafe } from "forge-std/Vm.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/units/hyperdrive/CloseLongTest.t.sol b/test/units/hyperdrive/CloseLongTest.t.sol index ef3850558..dd4090aab 100644 --- a/test/units/hyperdrive/CloseLongTest.t.sol +++ b/test/units/hyperdrive/CloseLongTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError } from "forge-std/StdError.sol"; import { VmSafe } from "forge-std/Vm.sol"; diff --git a/test/units/hyperdrive/CloseShortTest.t.sol b/test/units/hyperdrive/CloseShortTest.t.sol index cd2fb60f7..a6fd8dd63 100644 --- a/test/units/hyperdrive/CloseShortTest.t.sol +++ b/test/units/hyperdrive/CloseShortTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError } from "forge-std/StdError.sol"; import { VmSafe } from "forge-std/Vm.sol"; diff --git a/test/units/hyperdrive/DataProvider.t.sol b/test/units/hyperdrive/DataProvider.t.sol index 49ae645c0..0ac31d197 100644 --- a/test/units/hyperdrive/DataProvider.t.sol +++ b/test/units/hyperdrive/DataProvider.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; import { MockHyperdrive } from "../../../contracts/test/MockHyperdrive.sol"; diff --git a/test/units/hyperdrive/ExtremeInputs.t.sol b/test/units/hyperdrive/ExtremeInputs.t.sol index 7fc43dec4..e53095998 100644 --- a/test/units/hyperdrive/ExtremeInputs.t.sol +++ b/test/units/hyperdrive/ExtremeInputs.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; import { FixedPointMath } from "../../../contracts/src/libraries/FixedPointMath.sol"; diff --git a/test/units/hyperdrive/FeeTest.t.sol b/test/units/hyperdrive/FeeTest.t.sol index ccc198bc3..711c18e73 100644 --- a/test/units/hyperdrive/FeeTest.t.sol +++ b/test/units/hyperdrive/FeeTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError } from "forge-std/StdError.sol"; import { VmSafe } from "forge-std/Vm.sol"; diff --git a/test/units/hyperdrive/InitializeTest.t.sol b/test/units/hyperdrive/InitializeTest.t.sol index 603cef0d2..727bae1e4 100644 --- a/test/units/hyperdrive/InitializeTest.t.sol +++ b/test/units/hyperdrive/InitializeTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { VmSafe } from "forge-std/Vm.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/units/hyperdrive/OpenLongTest.t.sol b/test/units/hyperdrive/OpenLongTest.t.sol index b3c55c9e1..6a2e1c033 100644 --- a/test/units/hyperdrive/OpenLongTest.t.sol +++ b/test/units/hyperdrive/OpenLongTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError } from "forge-std/StdError.sol"; import { VmSafe } from "forge-std/Vm.sol"; diff --git a/test/units/hyperdrive/OpenShortTest.t.sol b/test/units/hyperdrive/OpenShortTest.t.sol index 6c769ee30..04a32f69a 100644 --- a/test/units/hyperdrive/OpenShortTest.t.sol +++ b/test/units/hyperdrive/OpenShortTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError } from "forge-std/StdError.sol"; import { VmSafe } from "forge-std/Vm.sol"; diff --git a/test/units/hyperdrive/RedeemWithdrawalSharesTest.t.sol b/test/units/hyperdrive/RedeemWithdrawalSharesTest.t.sol index 62216ba52..736611738 100644 --- a/test/units/hyperdrive/RedeemWithdrawalSharesTest.t.sol +++ b/test/units/hyperdrive/RedeemWithdrawalSharesTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { VmSafe } from "forge-std/Vm.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/units/hyperdrive/RemoveLiquidityTest.t.sol b/test/units/hyperdrive/RemoveLiquidityTest.t.sol index 2a3b2665c..bc0061f5e 100644 --- a/test/units/hyperdrive/RemoveLiquidityTest.t.sol +++ b/test/units/hyperdrive/RemoveLiquidityTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError } from "forge-std/StdError.sol"; import { VmSafe } from "forge-std/Vm.sol"; diff --git a/test/units/hyperdrive/UpdateLiquidityTest.t.sol b/test/units/hyperdrive/UpdateLiquidityTest.t.sol index 01a5554ff..bc8b61e0e 100644 --- a/test/units/hyperdrive/UpdateLiquidityTest.t.sol +++ b/test/units/hyperdrive/UpdateLiquidityTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/units/libraries/AssetId.t.sol b/test/units/libraries/AssetId.t.sol index ee2a03421..520d7dbec 100644 --- a/test/units/libraries/AssetId.t.sol +++ b/test/units/libraries/AssetId.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; import { AssetId } from "../../../contracts/src/libraries/AssetId.sol"; diff --git a/test/units/libraries/FixedPointMath.t.sol b/test/units/libraries/FixedPointMath.t.sol index 368ce854d..4b6906fce 100644 --- a/test/units/libraries/FixedPointMath.t.sol +++ b/test/units/libraries/FixedPointMath.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { stdError, Test } from "forge-std/Test.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/units/libraries/HyperdriveMath.t.sol b/test/units/libraries/HyperdriveMath.t.sol index b1d04b0f2..2f0398ed3 100644 --- a/test/units/libraries/HyperdriveMath.t.sol +++ b/test/units/libraries/HyperdriveMath.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; import { FixedPointMath, ONE } from "../../../contracts/src/libraries/FixedPointMath.sol"; diff --git a/test/units/libraries/HyperdriveUtilsTest.t.sol b/test/units/libraries/HyperdriveUtilsTest.t.sol index 289ca6d2e..4626965a0 100644 --- a/test/units/libraries/HyperdriveUtilsTest.t.sol +++ b/test/units/libraries/HyperdriveUtilsTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; import { FixedPointMath } from "../../../contracts/src/libraries/FixedPointMath.sol"; diff --git a/test/units/libraries/LPMath.t.sol b/test/units/libraries/LPMath.t.sol index b2593fbde..6747f621a 100644 --- a/test/units/libraries/LPMath.t.sol +++ b/test/units/libraries/LPMath.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { FixedPointMath, ONE } from "../../../contracts/src/libraries/FixedPointMath.sol"; import { LPMath } from "../../../contracts/src/libraries/LPMath.sol"; diff --git a/test/units/libraries/YieldSpaceMath.t.sol b/test/units/libraries/YieldSpaceMath.t.sol index 582407c17..018ae4151 100644 --- a/test/units/libraries/YieldSpaceMath.t.sol +++ b/test/units/libraries/YieldSpaceMath.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { Test } from "forge-std/Test.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/units/registry/HyperdriveRegistry.t.sol b/test/units/registry/HyperdriveRegistry.t.sol index 0e7eac670..1a97bf68d 100644 --- a/test/units/registry/HyperdriveRegistry.t.sol +++ b/test/units/registry/HyperdriveRegistry.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { VmSafe } from "forge-std/Vm.sol"; import { ERC4626HyperdriveCoreDeployer } from "../../../contracts/src/deployers/erc4626/ERC4626HyperdriveCoreDeployer.sol"; diff --git a/test/units/rewarder/HyperdriveCheckpointRewarder.t.sol b/test/units/rewarder/HyperdriveCheckpointRewarder.t.sol index 6d7e8a741..e5e621c3c 100644 --- a/test/units/rewarder/HyperdriveCheckpointRewarder.t.sol +++ b/test/units/rewarder/HyperdriveCheckpointRewarder.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { VmSafe } from "forge-std/Vm.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/units/rewarder/HyperdriveCheckpointSubrewarder.t.sol b/test/units/rewarder/HyperdriveCheckpointSubrewarder.t.sol index 9ea4fd47d..3bb360556 100644 --- a/test/units/rewarder/HyperdriveCheckpointSubrewarder.t.sol +++ b/test/units/rewarder/HyperdriveCheckpointSubrewarder.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { VmSafe } from "forge-std/Vm.sol"; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; diff --git a/test/zaps/uni-v3/AddLiquidityZap.t.sol b/test/zaps/uni-v3/AddLiquidityZap.t.sol index 753e884e1..79a5e0a51 100644 --- a/test/zaps/uni-v3/AddLiquidityZap.t.sol +++ b/test/zaps/uni-v3/AddLiquidityZap.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/zaps/uni-v3/CloseLongZap.t.sol b/test/zaps/uni-v3/CloseLongZap.t.sol index cc16b2423..22fa37b93 100644 --- a/test/zaps/uni-v3/CloseLongZap.t.sol +++ b/test/zaps/uni-v3/CloseLongZap.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/zaps/uni-v3/CloseShortZap.t.sol b/test/zaps/uni-v3/CloseShortZap.t.sol index fcc248cbf..e97327952 100644 --- a/test/zaps/uni-v3/CloseShortZap.t.sol +++ b/test/zaps/uni-v3/CloseShortZap.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/zaps/uni-v3/Conversions.t.sol b/test/zaps/uni-v3/Conversions.t.sol index 2fe4dc2cf..3b8ca432a 100644 --- a/test/zaps/uni-v3/Conversions.t.sol +++ b/test/zaps/uni-v3/Conversions.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC4626 } from "../../../contracts/src/interfaces/IERC4626.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/zaps/uni-v3/Metadata.t.sol b/test/zaps/uni-v3/Metadata.t.sol index f65369066..6e538d1de 100644 --- a/test/zaps/uni-v3/Metadata.t.sol +++ b/test/zaps/uni-v3/Metadata.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { UNI_V3_ZAP_KIND, VERSION } from "../../../contracts/src/libraries/Constants.sol"; import { UniV3ZapTest } from "./UniV3Zap.t.sol"; diff --git a/test/zaps/uni-v3/OpenLongZap.sol b/test/zaps/uni-v3/OpenLongZap.sol index d9ebc3688..8c8f29f61 100644 --- a/test/zaps/uni-v3/OpenLongZap.sol +++ b/test/zaps/uni-v3/OpenLongZap.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/zaps/uni-v3/OpenShortZap.t.sol b/test/zaps/uni-v3/OpenShortZap.t.sol index 11d77f69a..0cbb1c193 100644 --- a/test/zaps/uni-v3/OpenShortZap.t.sol +++ b/test/zaps/uni-v3/OpenShortZap.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/zaps/uni-v3/Receive.t.sol b/test/zaps/uni-v3/Receive.t.sol index e4d806b3f..e7655845c 100644 --- a/test/zaps/uni-v3/Receive.t.sol +++ b/test/zaps/uni-v3/Receive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IUniV3Zap } from "../../../contracts/src/interfaces/IUniV3Zap.sol"; import { UniV3ZapTest } from "./UniV3Zap.t.sol"; diff --git a/test/zaps/uni-v3/RedeemWithdrawalShares.sol b/test/zaps/uni-v3/RedeemWithdrawalShares.sol index fff870c10..27968e0c6 100644 --- a/test/zaps/uni-v3/RedeemWithdrawalShares.sol +++ b/test/zaps/uni-v3/RedeemWithdrawalShares.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/zaps/uni-v3/RemoveLiquidityZap.sol b/test/zaps/uni-v3/RemoveLiquidityZap.sol index cedc8caf7..a89a5fb49 100644 --- a/test/zaps/uni-v3/RemoveLiquidityZap.sol +++ b/test/zaps/uni-v3/RemoveLiquidityZap.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { IERC20 } from "../../../contracts/src/interfaces/IERC20.sol"; import { IHyperdrive } from "../../../contracts/src/interfaces/IHyperdrive.sol"; diff --git a/test/zaps/uni-v3/UniV3Zap.t.sol b/test/zaps/uni-v3/UniV3Zap.t.sol index 9b5e1cbdc..aa188e9b1 100644 --- a/test/zaps/uni-v3/UniV3Zap.t.sol +++ b/test/zaps/uni-v3/UniV3Zap.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import { ERC4626Hyperdrive } from "../../../contracts/src/instances/erc4626/ERC4626Hyperdrive.sol"; import { ERC4626Target0 } from "../../../contracts/src/instances/erc4626/ERC4626Target0.sol";