diff --git a/contracts/mocks/FixedPoolHarness.sol b/contracts/mocks/FixedPoolHarness.sol index b4339ab66..274a676e8 100644 --- a/contracts/mocks/FixedPoolHarness.sol +++ b/contracts/mocks/FixedPoolHarness.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { FixedLib } from "../utils/FixedLib.sol"; diff --git a/contracts/mocks/MarketHarness.sol b/contracts/mocks/MarketHarness.sol index 7e9216372..b0f353507 100644 --- a/contracts/mocks/MarketHarness.sol +++ b/contracts/mocks/MarketHarness.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { Auditor, ERC20, InterestRateModel, Market } from "../Market.sol"; diff --git a/contracts/mocks/MockBalancerVault.sol b/contracts/mocks/MockBalancerVault.sol index 73e66ccf8..b6ab31484 100644 --- a/contracts/mocks/MockBalancerVault.sol +++ b/contracts/mocks/MockBalancerVault.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { ERC20 } from "solmate/src/tokens/ERC20.sol"; import { ReentrancyGuard } from "solmate/src/utils/ReentrancyGuard.sol"; diff --git a/contracts/mocks/MockInterestRateModel.sol b/contracts/mocks/MockInterestRateModel.sol index 62e7367d2..7b06fce0d 100644 --- a/contracts/mocks/MockInterestRateModel.sol +++ b/contracts/mocks/MockInterestRateModel.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; contract MockInterestRateModel { uint256 public borrowRate; diff --git a/contracts/mocks/MockPriceFeed.sol b/contracts/mocks/MockPriceFeed.sol index 7b93e3ab8..db3162f84 100644 --- a/contracts/mocks/MockPriceFeed.sol +++ b/contracts/mocks/MockPriceFeed.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { MockERC20 } from "solmate/src/test/utils/mocks/MockERC20.sol"; import { IPriceFeed } from "../utils/IPriceFeed.sol"; diff --git a/contracts/mocks/MockStETH.sol b/contracts/mocks/MockStETH.sol index 78b9762a8..0bacae894 100644 --- a/contracts/mocks/MockStETH.sol +++ b/contracts/mocks/MockStETH.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { ERC20 } from "solmate/src/tokens/ERC20.sol"; diff --git a/contracts/utils/IPriceFeed.sol b/contracts/utils/IPriceFeed.sol index aa8bb1886..7255095bb 100644 --- a/contracts/utils/IPriceFeed.sol +++ b/contracts/utils/IPriceFeed.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; interface IPriceFeed { function decimals() external view returns (uint8); diff --git a/contracts/utils/import.sol b/contracts/utils/import.sol index fcc45157c..2df7a6872 100644 --- a/contracts/utils/import.sol +++ b/contracts/utils/import.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { ProxyAdmin } from "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol"; import { TimelockController } from "@openzeppelin/contracts/governance/TimelockController.sol"; diff --git a/scripts/Base.s.sol b/scripts/Base.s.sol index 3337828c3..d50928c8c 100644 --- a/scripts/Base.s.sol +++ b/scripts/Base.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.23; import { ForkTest } from "../test/Fork.t.sol"; diff --git a/test/Airdrop.t.sol b/test/Airdrop.t.sol index d6932f653..816536520 100644 --- a/test/Airdrop.t.sol +++ b/test/Airdrop.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { MockERC20 } from "solmate/src/test/utils/mocks/MockERC20.sol"; import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; diff --git a/test/Auditor.t.sol b/test/Auditor.t.sol index 58a6d5046..3b302ccc7 100644 --- a/test/Auditor.t.sol +++ b/test/Auditor.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { Vm } from "forge-std/Vm.sol"; import { Test } from "forge-std/Test.sol"; diff --git a/test/DebtManager.t.sol b/test/DebtManager.t.sol index e3609b966..1cd692896 100644 --- a/test/DebtManager.t.sol +++ b/test/DebtManager.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { ForkTest, stdJson, stdError } from "./Fork.t.sol"; import { FixedPointMathLib } from "solmate/src/utils/FixedPointMathLib.sol"; diff --git a/test/DebtPreviewer.t.sol b/test/DebtPreviewer.t.sol index a26fa8fa5..783a63e34 100644 --- a/test/DebtPreviewer.t.sol +++ b/test/DebtPreviewer.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { ForkTest, stdError } from "./Fork.t.sol"; import { FixedPointMathLib } from "solmate/src/utils/FixedPointMathLib.sol"; diff --git a/test/EscrowedEXA.t.sol b/test/EscrowedEXA.t.sol index a164dde8b..81edc4098 100644 --- a/test/EscrowedEXA.t.sol +++ b/test/EscrowedEXA.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { FixedPointMathLib } from "solmate/src/utils/FixedPointMathLib.sol"; import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; diff --git a/test/FixedLib.t.sol b/test/FixedLib.t.sol index 24924be36..47c3fbaf6 100644 --- a/test/FixedLib.t.sol +++ b/test/FixedLib.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { Vm } from "forge-std/Vm.sol"; import { Test, stdError } from "forge-std/Test.sol"; diff --git a/test/Fork.t.sol b/test/Fork.t.sol index b35683e10..f44946641 100644 --- a/test/Fork.t.sol +++ b/test/Fork.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { Test, stdError, stdJson } from "forge-std/Test.sol"; import { ProxyAdmin, ITransparentUpgradeableProxy } from "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol"; diff --git a/test/InterestRateModel.t.sol b/test/InterestRateModel.t.sol index eca01b3d6..9515a423c 100644 --- a/test/InterestRateModel.t.sol +++ b/test/InterestRateModel.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { Test } from "forge-std/Test.sol"; import { FixedPointMathLib } from "solmate/src/utils/FixedPointMathLib.sol"; diff --git a/test/Market.t.sol b/test/Market.t.sol index 3a4c98d6e..eb81550f0 100644 --- a/test/Market.t.sol +++ b/test/Market.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { MockERC20 } from "solmate/src/test/utils/mocks/MockERC20.sol"; import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; diff --git a/test/Previewer.t.sol b/test/Previewer.t.sol index 5bc819638..d87373409 100644 --- a/test/Previewer.t.sol +++ b/test/Previewer.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { Vm } from "forge-std/Vm.sol"; import { Test } from "forge-std/Test.sol"; diff --git a/test/PriceFeedDouble.t.sol b/test/PriceFeedDouble.t.sol index 6409fff79..e37d21c53 100644 --- a/test/PriceFeedDouble.t.sol +++ b/test/PriceFeedDouble.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { Vm } from "forge-std/Vm.sol"; import { Test, stdError } from "forge-std/Test.sol"; diff --git a/test/PriceFeedPool.t.sol b/test/PriceFeedPool.t.sol index 317f93a46..4fc81fad2 100644 --- a/test/PriceFeedPool.t.sol +++ b/test/PriceFeedPool.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { MockERC20 } from "solmate/src/test/utils/mocks/MockERC20.sol"; import { Test, stdError } from "forge-std/Test.sol"; diff --git a/test/PriceFeedWrapper.t.sol b/test/PriceFeedWrapper.t.sol index d2bba4b16..e7df72375 100644 --- a/test/PriceFeedWrapper.t.sol +++ b/test/PriceFeedWrapper.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { Vm } from "forge-std/Vm.sol"; import { Test, stdError } from "forge-std/Test.sol"; diff --git a/test/Protocol.t.sol b/test/Protocol.t.sol index ac2c8740f..e632752e7 100644 --- a/test/Protocol.t.sol +++ b/test/Protocol.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { Vm } from "forge-std/Vm.sol"; import { LibString } from "solmate/src/utils/LibString.sol"; diff --git a/test/RewardsController.t.sol b/test/RewardsController.t.sol index ffec58f01..849b292fd 100644 --- a/test/RewardsController.t.sol +++ b/test/RewardsController.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { Vm } from "forge-std/Vm.sol"; import { MockERC20 } from "solmate/src/test/utils/mocks/MockERC20.sol"; diff --git a/test/Swapper.t.sol b/test/Swapper.t.sol index 29506fa0e..910ee7f96 100644 --- a/test/Swapper.t.sol +++ b/test/Swapper.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import { ForkTest } from "./Fork.t.sol"; import { FixedPointMathLib } from "solmate/src/utils/FixedPointMathLib.sol";