From 891b5d4f52b58eb7030597fbb22dca67fd86c4c8 Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Fri, 17 Jun 2022 17:27:57 +0100 Subject: [PATCH] Prevent compilation with future 0.9.x solidity version --- contracts/Seaport.sol | 2 +- contracts/conduit/Conduit.sol | 2 +- contracts/conduit/ConduitController.sol | 2 +- contracts/conduit/lib/ConduitConstants.sol | 2 +- contracts/conduit/lib/ConduitEnums.sol | 2 +- contracts/conduit/lib/ConduitStructs.sol | 2 +- contracts/helpers/TransferHelper.sol | 2 +- contracts/helpers/TransferHelperStructs.sol | 2 +- contracts/interfaces/AbridgedTokenInterfaces.sol | 2 +- contracts/interfaces/AmountDerivationErrors.sol | 2 +- contracts/interfaces/ConduitControllerInterface.sol | 2 +- contracts/interfaces/ConduitInterface.sol | 2 +- contracts/interfaces/ConsiderationEventsAndErrors.sol | 2 +- contracts/interfaces/ConsiderationInterface.sol | 2 +- contracts/interfaces/CriteriaResolutionErrors.sol | 2 +- contracts/interfaces/EIP1271Interface.sol | 2 +- contracts/interfaces/FulfillmentApplicationErrors.sol | 2 +- contracts/interfaces/ImmutableCreate2FactoryInterface.sol | 2 +- contracts/interfaces/ReentrancyErrors.sol | 2 +- contracts/interfaces/SeaportInterface.sol | 2 +- contracts/interfaces/SignatureVerificationErrors.sol | 2 +- contracts/interfaces/TokenTransferrerErrors.sol | 2 +- contracts/interfaces/TransferHelperInterface.sol | 2 +- contracts/interfaces/ZoneInteractionErrors.sol | 2 +- contracts/interfaces/ZoneInterface.sol | 2 +- contracts/lib/AmountDeriver.sol | 2 +- contracts/lib/Assertions.sol | 2 +- contracts/lib/BasicOrderFulfiller.sol | 2 +- contracts/lib/Consideration.sol | 2 +- contracts/lib/ConsiderationBase.sol | 2 +- contracts/lib/ConsiderationConstants.sol | 2 +- contracts/lib/ConsiderationEnums.sol | 2 +- contracts/lib/ConsiderationStructs.sol | 2 +- contracts/lib/CounterManager.sol | 2 +- contracts/lib/CriteriaResolution.sol | 2 +- contracts/lib/Executor.sol | 2 +- contracts/lib/FulfillmentApplier.sol | 2 +- contracts/lib/GettersAndDerivers.sol | 2 +- contracts/lib/LowLevelHelpers.sol | 2 +- contracts/lib/OrderCombiner.sol | 2 +- contracts/lib/OrderFulfiller.sol | 2 +- contracts/lib/OrderValidator.sol | 2 +- contracts/lib/ReentrancyGuard.sol | 2 +- contracts/lib/SignatureVerification.sol | 2 +- contracts/lib/TokenTransferrer.sol | 2 +- contracts/lib/TokenTransferrerConstants.sol | 2 +- contracts/lib/Verifiers.sol | 2 +- contracts/lib/ZoneInteraction.sol | 2 +- contracts/test/EIP1271Wallet.sol | 2 +- contracts/test/ERC1155BatchRecipient.sol | 2 +- contracts/test/ExcessReturnDataRecipient.sol | 2 +- contracts/test/Reenterer.sol | 2 +- contracts/test/TestERC1155.sol | 2 +- contracts/test/TestERC20.sol | 2 +- contracts/test/TestERC721.sol | 2 +- contracts/test/TestZone.sol | 2 +- test/foundry/CeilEquivalenceTest.t.sol | 2 +- test/foundry/FulfillAdvancedOrder.t.sol | 2 +- test/foundry/FulfillAdvancedOrderCriteria.t.sol | 2 +- test/foundry/FulfillAvailableAdvancedOrder.t.sol | 2 +- test/foundry/FulfillAvailableAdvancedOrderCriteria.t.sol | 2 +- test/foundry/FulfillBasicOrderTest.t.sol | 2 +- test/foundry/FulfillOrderTest.t.sol | 2 +- test/foundry/FullfillAvailableOrder.t.sol | 2 +- test/foundry/GetterTests.t.sol | 2 +- test/foundry/MatchAdvancedOrder.t.sol | 2 +- test/foundry/MatchOrders.t.sol | 2 +- test/foundry/NonReentrant.t.sol | 2 +- test/foundry/SignatureVerification.t.sol | 2 +- test/foundry/TransferHelperTest.sol | 2 +- test/foundry/conduit/BaseConduitTest.sol | 2 +- test/foundry/conduit/ConduitExecute.t.sol | 2 +- test/foundry/conduit/ConduitExecuteBatch1155.t.sol | 2 +- test/foundry/conduit/ConduitExecuteWithBatch1155.t.sol | 2 +- test/foundry/interfaces/OwnableDelegateProxy.sol | 2 +- test/foundry/interfaces/ProxyRegistry.sol | 2 +- test/foundry/token/ERC721.sol | 2 +- test/foundry/utils/ArithmeticUtil.sol | 2 +- test/foundry/utils/BaseConsiderationTest.sol | 2 +- test/foundry/utils/BaseOrderTest.sol | 2 +- test/foundry/utils/DifferentialTest.sol | 2 +- test/foundry/utils/ERC1155Recipient.sol | 2 +- test/foundry/utils/ERC721Recipient.sol | 2 +- test/foundry/utils/ExternalCounter.sol | 2 +- test/foundry/utils/OfferConsiderationItemAdder.sol | 2 +- test/foundry/utils/PseudoRandom.sol | 2 +- test/foundry/utils/StructCopier.sol | 2 +- test/foundry/utils/TestTokenMinter.sol | 2 +- test/foundry/utils/reentrancy/ReentrantEnums.sol | 2 +- test/foundry/utils/reentrancy/ReentrantStructs.sol | 2 +- 90 files changed, 90 insertions(+), 90 deletions(-) diff --git a/contracts/Seaport.sol b/contracts/Seaport.sol index ad036f657..4265cd50e 100644 --- a/contracts/Seaport.sol +++ b/contracts/Seaport.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { Consideration } from "./lib/Consideration.sol"; diff --git a/contracts/conduit/Conduit.sol b/contracts/conduit/Conduit.sol index 411f77bc4..2e5a8c71c 100644 --- a/contracts/conduit/Conduit.sol +++ b/contracts/conduit/Conduit.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import { ConduitInterface } from "../interfaces/ConduitInterface.sol"; diff --git a/contracts/conduit/ConduitController.sol b/contracts/conduit/ConduitController.sol index d3e0b711a..304589ef8 100644 --- a/contracts/conduit/ConduitController.sol +++ b/contracts/conduit/ConduitController.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; // prettier-ignore import { diff --git a/contracts/conduit/lib/ConduitConstants.sol b/contracts/conduit/lib/ConduitConstants.sol index 2979289c4..516607318 100644 --- a/contracts/conduit/lib/ConduitConstants.sol +++ b/contracts/conduit/lib/ConduitConstants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; // error ChannelClosed(address channel) uint256 constant ChannelClosed_error_signature = ( diff --git a/contracts/conduit/lib/ConduitEnums.sol b/contracts/conduit/lib/ConduitEnums.sol index 3d0243cd4..2154bf7bd 100644 --- a/contracts/conduit/lib/ConduitEnums.sol +++ b/contracts/conduit/lib/ConduitEnums.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; enum ConduitItemType { NATIVE, // unused diff --git a/contracts/conduit/lib/ConduitStructs.sol b/contracts/conduit/lib/ConduitStructs.sol index d1b19f0c3..03c54f4ec 100644 --- a/contracts/conduit/lib/ConduitStructs.sol +++ b/contracts/conduit/lib/ConduitStructs.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import { ConduitItemType } from "./ConduitEnums.sol"; diff --git a/contracts/helpers/TransferHelper.sol b/contracts/helpers/TransferHelper.sol index 593fd967b..67ed1d1aa 100644 --- a/contracts/helpers/TransferHelper.sol +++ b/contracts/helpers/TransferHelper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import "./TransferHelperStructs.sol"; diff --git a/contracts/helpers/TransferHelperStructs.sol b/contracts/helpers/TransferHelperStructs.sol index 35aeec140..c6d0be123 100644 --- a/contracts/helpers/TransferHelperStructs.sol +++ b/contracts/helpers/TransferHelperStructs.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import { ConduitItemType } from "../conduit/lib/ConduitEnums.sol"; diff --git a/contracts/interfaces/AbridgedTokenInterfaces.sol b/contracts/interfaces/AbridgedTokenInterfaces.sol index fc39bdae0..d961faf29 100644 --- a/contracts/interfaces/AbridgedTokenInterfaces.sol +++ b/contracts/interfaces/AbridgedTokenInterfaces.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; interface ERC20Interface { function transferFrom( diff --git a/contracts/interfaces/AmountDerivationErrors.sol b/contracts/interfaces/AmountDerivationErrors.sol index 718809956..58deccc40 100644 --- a/contracts/interfaces/AmountDerivationErrors.sol +++ b/contracts/interfaces/AmountDerivationErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; /** * @title AmountDerivationErrors diff --git a/contracts/interfaces/ConduitControllerInterface.sol b/contracts/interfaces/ConduitControllerInterface.sol index 83561ae54..bf3ec0c8a 100644 --- a/contracts/interfaces/ConduitControllerInterface.sol +++ b/contracts/interfaces/ConduitControllerInterface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; /** * @title ConduitControllerInterface diff --git a/contracts/interfaces/ConduitInterface.sol b/contracts/interfaces/ConduitInterface.sol index d988fcc83..c4955ac7b 100644 --- a/contracts/interfaces/ConduitInterface.sol +++ b/contracts/interfaces/ConduitInterface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; // prettier-ignore import { diff --git a/contracts/interfaces/ConsiderationEventsAndErrors.sol b/contracts/interfaces/ConsiderationEventsAndErrors.sol index 13682ecda..6d84b04d1 100644 --- a/contracts/interfaces/ConsiderationEventsAndErrors.sol +++ b/contracts/interfaces/ConsiderationEventsAndErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import { SpentItem, ReceivedItem } from "../lib/ConsiderationStructs.sol"; diff --git a/contracts/interfaces/ConsiderationInterface.sol b/contracts/interfaces/ConsiderationInterface.sol index 1c6d5c9fc..8b5f2465b 100644 --- a/contracts/interfaces/ConsiderationInterface.sol +++ b/contracts/interfaces/ConsiderationInterface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; // prettier-ignore import { diff --git a/contracts/interfaces/CriteriaResolutionErrors.sol b/contracts/interfaces/CriteriaResolutionErrors.sol index dfbe88c26..9d7af48ae 100644 --- a/contracts/interfaces/CriteriaResolutionErrors.sol +++ b/contracts/interfaces/CriteriaResolutionErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; /** * @title CriteriaResolutionErrors diff --git a/contracts/interfaces/EIP1271Interface.sol b/contracts/interfaces/EIP1271Interface.sol index 21c9cf1c6..50b671196 100644 --- a/contracts/interfaces/EIP1271Interface.sol +++ b/contracts/interfaces/EIP1271Interface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; interface EIP1271Interface { function isValidSignature(bytes32 digest, bytes calldata signature) diff --git a/contracts/interfaces/FulfillmentApplicationErrors.sol b/contracts/interfaces/FulfillmentApplicationErrors.sol index 776a0f6be..e72d4a40d 100644 --- a/contracts/interfaces/FulfillmentApplicationErrors.sol +++ b/contracts/interfaces/FulfillmentApplicationErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import { Side } from "../lib/ConsiderationEnums.sol"; diff --git a/contracts/interfaces/ImmutableCreate2FactoryInterface.sol b/contracts/interfaces/ImmutableCreate2FactoryInterface.sol index a8a34a590..e9756fb95 100644 --- a/contracts/interfaces/ImmutableCreate2FactoryInterface.sol +++ b/contracts/interfaces/ImmutableCreate2FactoryInterface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; /** * @title ImmutableCreate2FactoryInterface diff --git a/contracts/interfaces/ReentrancyErrors.sol b/contracts/interfaces/ReentrancyErrors.sol index 042654f5c..94f523873 100644 --- a/contracts/interfaces/ReentrancyErrors.sol +++ b/contracts/interfaces/ReentrancyErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; /** * @title ReentrancyErrors diff --git a/contracts/interfaces/SeaportInterface.sol b/contracts/interfaces/SeaportInterface.sol index 6593f8658..37c6199a6 100644 --- a/contracts/interfaces/SeaportInterface.sol +++ b/contracts/interfaces/SeaportInterface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; // prettier-ignore import { diff --git a/contracts/interfaces/SignatureVerificationErrors.sol b/contracts/interfaces/SignatureVerificationErrors.sol index 90a2a4c97..b20ea0033 100644 --- a/contracts/interfaces/SignatureVerificationErrors.sol +++ b/contracts/interfaces/SignatureVerificationErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; /** * @title SignatureVerificationErrors diff --git a/contracts/interfaces/TokenTransferrerErrors.sol b/contracts/interfaces/TokenTransferrerErrors.sol index 21887650b..6734c9fba 100644 --- a/contracts/interfaces/TokenTransferrerErrors.sol +++ b/contracts/interfaces/TokenTransferrerErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; /** * @title TokenTransferrerErrors diff --git a/contracts/interfaces/TransferHelperInterface.sol b/contracts/interfaces/TransferHelperInterface.sol index c579868fd..b2717d6db 100644 --- a/contracts/interfaces/TransferHelperInterface.sol +++ b/contracts/interfaces/TransferHelperInterface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import { TransferHelperItem } from "../helpers/TransferHelperStructs.sol"; diff --git a/contracts/interfaces/ZoneInteractionErrors.sol b/contracts/interfaces/ZoneInteractionErrors.sol index f7b271c4c..fc0ef9773 100644 --- a/contracts/interfaces/ZoneInteractionErrors.sol +++ b/contracts/interfaces/ZoneInteractionErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; /** * @title ZoneInteractionErrors diff --git a/contracts/interfaces/ZoneInterface.sol b/contracts/interfaces/ZoneInterface.sol index 94dd037f2..90f2f4158 100644 --- a/contracts/interfaces/ZoneInterface.sol +++ b/contracts/interfaces/ZoneInterface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; // prettier-ignore import { diff --git a/contracts/lib/AmountDeriver.sol b/contracts/lib/AmountDeriver.sol index f35b2cb73..a1fc0ddf6 100644 --- a/contracts/lib/AmountDeriver.sol +++ b/contracts/lib/AmountDeriver.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; // prettier-ignore import { diff --git a/contracts/lib/Assertions.sol b/contracts/lib/Assertions.sol index ec10a11fe..4bff5c683 100644 --- a/contracts/lib/Assertions.sol +++ b/contracts/lib/Assertions.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderParameters } from "./ConsiderationStructs.sol"; diff --git a/contracts/lib/BasicOrderFulfiller.sol b/contracts/lib/BasicOrderFulfiller.sol index 62dcf1816..54d5d75ee 100644 --- a/contracts/lib/BasicOrderFulfiller.sol +++ b/contracts/lib/BasicOrderFulfiller.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ConduitInterface } from "../interfaces/ConduitInterface.sol"; diff --git a/contracts/lib/Consideration.sol b/contracts/lib/Consideration.sol index 765f6b38b..a10fa3333 100644 --- a/contracts/lib/Consideration.sol +++ b/contracts/lib/Consideration.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; // prettier-ignore import { diff --git a/contracts/lib/ConsiderationBase.sol b/contracts/lib/ConsiderationBase.sol index f7e46be2a..db45f1d4f 100644 --- a/contracts/lib/ConsiderationBase.sol +++ b/contracts/lib/ConsiderationBase.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; // prettier-ignore import { diff --git a/contracts/lib/ConsiderationConstants.sol b/contracts/lib/ConsiderationConstants.sol index 12f4b0963..4aa08de85 100644 --- a/contracts/lib/ConsiderationConstants.sol +++ b/contracts/lib/ConsiderationConstants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; /* * -------------------------- Disambiguation & Other Notes --------------------- diff --git a/contracts/lib/ConsiderationEnums.sol b/contracts/lib/ConsiderationEnums.sol index c8797f204..6bcfd701c 100644 --- a/contracts/lib/ConsiderationEnums.sol +++ b/contracts/lib/ConsiderationEnums.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; // prettier-ignore enum OrderType { diff --git a/contracts/lib/ConsiderationStructs.sol b/contracts/lib/ConsiderationStructs.sol index 064d01d9a..c85893058 100644 --- a/contracts/lib/ConsiderationStructs.sol +++ b/contracts/lib/ConsiderationStructs.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; // prettier-ignore import { diff --git a/contracts/lib/CounterManager.sol b/contracts/lib/CounterManager.sol index 69532b391..d262449cc 100644 --- a/contracts/lib/CounterManager.sol +++ b/contracts/lib/CounterManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; // prettier-ignore import { diff --git a/contracts/lib/CriteriaResolution.sol b/contracts/lib/CriteriaResolution.sol index 6c814958a..6b60e2614 100644 --- a/contracts/lib/CriteriaResolution.sol +++ b/contracts/lib/CriteriaResolution.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ItemType, Side } from "./ConsiderationEnums.sol"; diff --git a/contracts/lib/Executor.sol b/contracts/lib/Executor.sol index 6e030b29b..4e5516f57 100644 --- a/contracts/lib/Executor.sol +++ b/contracts/lib/Executor.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ConduitInterface } from "../interfaces/ConduitInterface.sol"; diff --git a/contracts/lib/FulfillmentApplier.sol b/contracts/lib/FulfillmentApplier.sol index 02c0957f5..809518fac 100644 --- a/contracts/lib/FulfillmentApplier.sol +++ b/contracts/lib/FulfillmentApplier.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ItemType, Side } from "./ConsiderationEnums.sol"; diff --git a/contracts/lib/GettersAndDerivers.sol b/contracts/lib/GettersAndDerivers.sol index 4b0d16357..bef8b6db6 100644 --- a/contracts/lib/GettersAndDerivers.sol +++ b/contracts/lib/GettersAndDerivers.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderParameters } from "./ConsiderationStructs.sol"; diff --git a/contracts/lib/LowLevelHelpers.sol b/contracts/lib/LowLevelHelpers.sol index c3bba2398..0b45d0ced 100644 --- a/contracts/lib/LowLevelHelpers.sol +++ b/contracts/lib/LowLevelHelpers.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import "./ConsiderationConstants.sol"; diff --git a/contracts/lib/OrderCombiner.sol b/contracts/lib/OrderCombiner.sol index 7de31ccef..5ba99d8c6 100644 --- a/contracts/lib/OrderCombiner.sol +++ b/contracts/lib/OrderCombiner.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { Side, ItemType } from "./ConsiderationEnums.sol"; diff --git a/contracts/lib/OrderFulfiller.sol b/contracts/lib/OrderFulfiller.sol index 4a7fe6a21..437b0c5a5 100644 --- a/contracts/lib/OrderFulfiller.sol +++ b/contracts/lib/OrderFulfiller.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ItemType } from "./ConsiderationEnums.sol"; diff --git a/contracts/lib/OrderValidator.sol b/contracts/lib/OrderValidator.sol index 70e05f049..b3dbc842e 100644 --- a/contracts/lib/OrderValidator.sol +++ b/contracts/lib/OrderValidator.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderType } from "./ConsiderationEnums.sol"; diff --git a/contracts/lib/ReentrancyGuard.sol b/contracts/lib/ReentrancyGuard.sol index 69169fe0a..ece4802e9 100644 --- a/contracts/lib/ReentrancyGuard.sol +++ b/contracts/lib/ReentrancyGuard.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ReentrancyErrors } from "../interfaces/ReentrancyErrors.sol"; diff --git a/contracts/lib/SignatureVerification.sol b/contracts/lib/SignatureVerification.sol index 023d3c25f..ea4e5128b 100644 --- a/contracts/lib/SignatureVerification.sol +++ b/contracts/lib/SignatureVerification.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { EIP1271Interface } from "../interfaces/EIP1271Interface.sol"; diff --git a/contracts/lib/TokenTransferrer.sol b/contracts/lib/TokenTransferrer.sol index 197a28355..b32cbaf70 100644 --- a/contracts/lib/TokenTransferrer.sol +++ b/contracts/lib/TokenTransferrer.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import "./TokenTransferrerConstants.sol"; diff --git a/contracts/lib/TokenTransferrerConstants.sol b/contracts/lib/TokenTransferrerConstants.sol index adb01c58d..54293bcb4 100644 --- a/contracts/lib/TokenTransferrerConstants.sol +++ b/contracts/lib/TokenTransferrerConstants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; /* * -------------------------- Disambiguation & Other Notes --------------------- diff --git a/contracts/lib/Verifiers.sol b/contracts/lib/Verifiers.sol index baba8da90..aeb606303 100644 --- a/contracts/lib/Verifiers.sol +++ b/contracts/lib/Verifiers.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderStatus } from "./ConsiderationStructs.sol"; diff --git a/contracts/lib/ZoneInteraction.sol b/contracts/lib/ZoneInteraction.sol index fbe88a514..326ccc4fd 100644 --- a/contracts/lib/ZoneInteraction.sol +++ b/contracts/lib/ZoneInteraction.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ZoneInterface } from "../interfaces/ZoneInterface.sol"; diff --git a/contracts/test/EIP1271Wallet.sol b/contracts/test/EIP1271Wallet.sol index b0e5b50a1..75bb206c5 100644 --- a/contracts/test/EIP1271Wallet.sol +++ b/contracts/test/EIP1271Wallet.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; interface ERC20ApprovalInterface { function approve(address, uint256) external returns (bool); diff --git a/contracts/test/ERC1155BatchRecipient.sol b/contracts/test/ERC1155BatchRecipient.sol index 2704c169d..c5a6a2d4a 100644 --- a/contracts/test/ERC1155BatchRecipient.sol +++ b/contracts/test/ERC1155BatchRecipient.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; contract ERC1155BatchRecipient { error UnexpectedBatchData(); diff --git a/contracts/test/ExcessReturnDataRecipient.sol b/contracts/test/ExcessReturnDataRecipient.sol index 7196920ab..0efd1cc1c 100644 --- a/contracts/test/ExcessReturnDataRecipient.sol +++ b/contracts/test/ExcessReturnDataRecipient.sol @@ -1,5 +1,5 @@ //SPDX-License-Identifier: Unlicense -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; contract ExcessReturnDataRecipient { uint256 private revertDataSize; diff --git a/contracts/test/Reenterer.sol b/contracts/test/Reenterer.sol index 18d7eda0d..d932daf67 100644 --- a/contracts/test/Reenterer.sol +++ b/contracts/test/Reenterer.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; contract Reenterer { address public target; diff --git a/contracts/test/TestERC1155.sol b/contracts/test/TestERC1155.sol index 959dad790..41001ca27 100644 --- a/contracts/test/TestERC1155.sol +++ b/contracts/test/TestERC1155.sol @@ -1,5 +1,5 @@ //SPDX-License-Identifier: Unlicense -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import "@rari-capital/solmate/src/tokens/ERC1155.sol"; diff --git a/contracts/test/TestERC20.sol b/contracts/test/TestERC20.sol index 9113ecf68..31b3f7c96 100644 --- a/contracts/test/TestERC20.sol +++ b/contracts/test/TestERC20.sol @@ -1,5 +1,5 @@ //SPDX-License-Identifier: Unlicense -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import "@rari-capital/solmate/src/tokens/ERC20.sol"; diff --git a/contracts/test/TestERC721.sol b/contracts/test/TestERC721.sol index 5e9e143ee..f45d8fb8f 100644 --- a/contracts/test/TestERC721.sol +++ b/contracts/test/TestERC721.sol @@ -1,5 +1,5 @@ //SPDX-License-Identifier: Unlicense -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import "@rari-capital/solmate/src/tokens/ERC721.sol"; diff --git a/contracts/test/TestZone.sol b/contracts/test/TestZone.sol index 45f520be8..881529aa3 100644 --- a/contracts/test/TestZone.sol +++ b/contracts/test/TestZone.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import { ZoneInterface } from "../interfaces/ZoneInterface.sol"; diff --git a/test/foundry/CeilEquivalenceTest.t.sol b/test/foundry/CeilEquivalenceTest.t.sol index 168233ac6..ba8f64c03 100644 --- a/test/foundry/CeilEquivalenceTest.t.sol +++ b/test/foundry/CeilEquivalenceTest.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; contract CeilEquivalenceTest { function testCeilEquivalence(uint256 numerator, uint256 denominator) diff --git a/test/foundry/FulfillAdvancedOrder.t.sol b/test/foundry/FulfillAdvancedOrder.t.sol index d606d6f46..30418dc45 100644 --- a/test/foundry/FulfillAdvancedOrder.t.sol +++ b/test/foundry/FulfillAdvancedOrder.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OneWord } from "../../contracts/lib/ConsiderationConstants.sol"; import { OrderType, ItemType } from "../../contracts/lib/ConsiderationEnums.sol"; diff --git a/test/foundry/FulfillAdvancedOrderCriteria.t.sol b/test/foundry/FulfillAdvancedOrderCriteria.t.sol index e8207b1b2..31526298b 100644 --- a/test/foundry/FulfillAdvancedOrderCriteria.t.sol +++ b/test/foundry/FulfillAdvancedOrderCriteria.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { BaseOrderTest } from "./utils/BaseOrderTest.sol"; import { Merkle } from "murky/Merkle.sol"; diff --git a/test/foundry/FulfillAvailableAdvancedOrder.t.sol b/test/foundry/FulfillAvailableAdvancedOrder.t.sol index ebed17425..bc962e5f4 100644 --- a/test/foundry/FulfillAvailableAdvancedOrder.t.sol +++ b/test/foundry/FulfillAvailableAdvancedOrder.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderType, BasicOrderType, ItemType, Side } from "../../contracts/lib/ConsiderationEnums.sol"; import { AdditionalRecipient } from "../../contracts/lib/ConsiderationStructs.sol"; diff --git a/test/foundry/FulfillAvailableAdvancedOrderCriteria.t.sol b/test/foundry/FulfillAvailableAdvancedOrderCriteria.t.sol index 79f7abe38..9ce720e52 100644 --- a/test/foundry/FulfillAvailableAdvancedOrderCriteria.t.sol +++ b/test/foundry/FulfillAvailableAdvancedOrderCriteria.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { BaseOrderTest } from "./utils/BaseOrderTest.sol"; import { Merkle } from "murky/Merkle.sol"; diff --git a/test/foundry/FulfillBasicOrderTest.t.sol b/test/foundry/FulfillBasicOrderTest.t.sol index c5373756b..34efa7c89 100644 --- a/test/foundry/FulfillBasicOrderTest.t.sol +++ b/test/foundry/FulfillBasicOrderTest.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT //Author: CupOJoseph -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderType, BasicOrderType, ItemType, Side } from "../../contracts/lib/ConsiderationEnums.sol"; import { AdditionalRecipient, Order } from "../../contracts/lib/ConsiderationStructs.sol"; diff --git a/test/foundry/FulfillOrderTest.t.sol b/test/foundry/FulfillOrderTest.t.sol index 3d05a820a..29228ee42 100644 --- a/test/foundry/FulfillOrderTest.t.sol +++ b/test/foundry/FulfillOrderTest.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderType, BasicOrderType, ItemType, Side } from "../../contracts/lib/ConsiderationEnums.sol"; import { AdditionalRecipient } from "../../contracts/lib/ConsiderationStructs.sol"; diff --git a/test/foundry/FullfillAvailableOrder.t.sol b/test/foundry/FullfillAvailableOrder.t.sol index 8b8f67127..c602a2fc7 100644 --- a/test/foundry/FullfillAvailableOrder.t.sol +++ b/test/foundry/FullfillAvailableOrder.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderType, BasicOrderType, ItemType, Side } from "../../contracts/lib/ConsiderationEnums.sol"; import { ConsiderationInterface } from "../../contracts/interfaces/ConsiderationInterface.sol"; diff --git a/test/foundry/GetterTests.t.sol b/test/foundry/GetterTests.t.sol index 079323047..b8f85c222 100644 --- a/test/foundry/GetterTests.t.sol +++ b/test/foundry/GetterTests.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { BaseConsiderationTest } from "./utils/BaseConsiderationTest.sol"; diff --git a/test/foundry/MatchAdvancedOrder.t.sol b/test/foundry/MatchAdvancedOrder.t.sol index 006f3dab3..7902ee172 100644 --- a/test/foundry/MatchAdvancedOrder.t.sol +++ b/test/foundry/MatchAdvancedOrder.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderType, ItemType } from "../../contracts/lib/ConsiderationEnums.sol"; import { Order } from "../../contracts/lib/ConsiderationStructs.sol"; diff --git a/test/foundry/MatchOrders.t.sol b/test/foundry/MatchOrders.t.sol index 39dec3dfc..7c69ad752 100644 --- a/test/foundry/MatchOrders.t.sol +++ b/test/foundry/MatchOrders.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderType, ItemType } from "../../contracts/lib/ConsiderationEnums.sol"; import { Order, Fulfillment, OfferItem, OrderParameters, ConsiderationItem, OrderComponents, FulfillmentComponent } from "../../contracts/lib/ConsiderationStructs.sol"; diff --git a/test/foundry/NonReentrant.t.sol b/test/foundry/NonReentrant.t.sol index f23f60da3..1f60bbc4a 100644 --- a/test/foundry/NonReentrant.t.sol +++ b/test/foundry/NonReentrant.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OrderType, BasicOrderType, ItemType, Side } from "../../contracts/lib/ConsiderationEnums.sol"; import { ConsiderationInterface } from "../../contracts/interfaces/ConsiderationInterface.sol"; diff --git a/test/foundry/SignatureVerification.t.sol b/test/foundry/SignatureVerification.t.sol index 92f22ef68..71237528c 100644 --- a/test/foundry/SignatureVerification.t.sol +++ b/test/foundry/SignatureVerification.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { SignatureVerification } from "../../contracts/lib/SignatureVerification.sol"; import { ReferenceSignatureVerification } from "../../reference/lib/ReferenceSignatureVerification.sol"; diff --git a/test/foundry/TransferHelperTest.sol b/test/foundry/TransferHelperTest.sol index 051934490..5636c1452 100644 --- a/test/foundry/TransferHelperTest.sol +++ b/test/foundry/TransferHelperTest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; // prettier-ignore import { BaseConsiderationTest } from "./utils/BaseConsiderationTest.sol"; diff --git a/test/foundry/conduit/BaseConduitTest.sol b/test/foundry/conduit/BaseConduitTest.sol index da7d87236..57636b5cf 100644 --- a/test/foundry/conduit/BaseConduitTest.sol +++ b/test/foundry/conduit/BaseConduitTest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { BaseConsiderationTest } from "../utils/BaseConsiderationTest.sol"; import { ConduitTransfer, ConduitItemType, ConduitBatch1155Transfer } from "../../../contracts/conduit/lib/ConduitStructs.sol"; diff --git a/test/foundry/conduit/ConduitExecute.t.sol b/test/foundry/conduit/ConduitExecute.t.sol index 1cc43ab7c..258652d2a 100644 --- a/test/foundry/conduit/ConduitExecute.t.sol +++ b/test/foundry/conduit/ConduitExecute.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { BaseConsiderationTest } from "../utils/BaseConsiderationTest.sol"; import { ConduitTransfer, ConduitItemType } from "../../../contracts/conduit/lib/ConduitStructs.sol"; diff --git a/test/foundry/conduit/ConduitExecuteBatch1155.t.sol b/test/foundry/conduit/ConduitExecuteBatch1155.t.sol index 8d41f7259..1e390da97 100644 --- a/test/foundry/conduit/ConduitExecuteBatch1155.t.sol +++ b/test/foundry/conduit/ConduitExecuteBatch1155.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { BaseConsiderationTest } from "../utils/BaseConsiderationTest.sol"; import { ConduitTransfer, ConduitBatch1155Transfer, ConduitItemType } from "../../../contracts/conduit/lib/ConduitStructs.sol"; diff --git a/test/foundry/conduit/ConduitExecuteWithBatch1155.t.sol b/test/foundry/conduit/ConduitExecuteWithBatch1155.t.sol index 3d2c9ed93..a5bafb5e0 100644 --- a/test/foundry/conduit/ConduitExecuteWithBatch1155.t.sol +++ b/test/foundry/conduit/ConduitExecuteWithBatch1155.t.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { Conduit } from "../../../contracts/conduit/Conduit.sol"; import { ConduitController } from "../../../contracts/conduit/ConduitController.sol"; diff --git a/test/foundry/interfaces/OwnableDelegateProxy.sol b/test/foundry/interfaces/OwnableDelegateProxy.sol index c4cb97ecd..ddd5b3770 100644 --- a/test/foundry/interfaces/OwnableDelegateProxy.sol +++ b/test/foundry/interfaces/OwnableDelegateProxy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; interface OwnableDelegateProxy { function name() external returns (string memory); diff --git a/test/foundry/interfaces/ProxyRegistry.sol b/test/foundry/interfaces/ProxyRegistry.sol index 90fa938bc..5f95e1bc7 100644 --- a/test/foundry/interfaces/ProxyRegistry.sol +++ b/test/foundry/interfaces/ProxyRegistry.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { OwnableDelegateProxy } from "./OwnableDelegateProxy.sol"; diff --git a/test/foundry/token/ERC721.sol b/test/foundry/token/ERC721.sol index 751cebb17..f532d1aff 100644 --- a/test/foundry/token/ERC721.sol +++ b/test/foundry/token/ERC721.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -pragma solidity >=0.8.0; +pragma solidity ^0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) diff --git a/test/foundry/utils/ArithmeticUtil.sol b/test/foundry/utils/ArithmeticUtil.sol index 6c59092ba..c3e83a625 100644 --- a/test/foundry/utils/ArithmeticUtil.sol +++ b/test/foundry/utils/ArithmeticUtil.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; library ArithmeticUtil { ///@dev utility function to avoid overflows when multiplying fuzzed uints with widths <256 diff --git a/test/foundry/utils/BaseConsiderationTest.sol b/test/foundry/utils/BaseConsiderationTest.sol index 2b4d9ed34..0c2b6d4e1 100644 --- a/test/foundry/utils/BaseConsiderationTest.sol +++ b/test/foundry/utils/BaseConsiderationTest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ConduitController } from "../../../contracts/conduit/ConduitController.sol"; import { ConsiderationInterface } from "../../../contracts/interfaces/ConsiderationInterface.sol"; diff --git a/test/foundry/utils/BaseOrderTest.sol b/test/foundry/utils/BaseOrderTest.sol index 084e43dcd..f0b835405 100644 --- a/test/foundry/utils/BaseOrderTest.sol +++ b/test/foundry/utils/BaseOrderTest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { BaseConsiderationTest } from "./BaseConsiderationTest.sol"; import { stdStorage, StdStorage } from "forge-std/Test.sol"; diff --git a/test/foundry/utils/DifferentialTest.sol b/test/foundry/utils/DifferentialTest.sol index a002a19f7..43103b242 100644 --- a/test/foundry/utils/DifferentialTest.sol +++ b/test/foundry/utils/DifferentialTest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { Test } from "forge-std/Test.sol"; contract DifferentialTest is Test { diff --git a/test/foundry/utils/ERC1155Recipient.sol b/test/foundry/utils/ERC1155Recipient.sol index 075d7d741..f6213d709 100644 --- a/test/foundry/utils/ERC1155Recipient.sol +++ b/test/foundry/utils/ERC1155Recipient.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ERC1155TokenReceiver } from "@rari-capital/solmate/src/tokens/ERC1155.sol"; diff --git a/test/foundry/utils/ERC721Recipient.sol b/test/foundry/utils/ERC721Recipient.sol index 2a09d0f69..66d47134f 100644 --- a/test/foundry/utils/ERC721Recipient.sol +++ b/test/foundry/utils/ERC721Recipient.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ERC721TokenReceiver } from "@rari-capital/solmate/src/tokens/ERC721.sol"; diff --git a/test/foundry/utils/ExternalCounter.sol b/test/foundry/utils/ExternalCounter.sol index 290563785..b26390251 100644 --- a/test/foundry/utils/ExternalCounter.sol +++ b/test/foundry/utils/ExternalCounter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; contract ExternalCounter { uint256 public value; diff --git a/test/foundry/utils/OfferConsiderationItemAdder.sol b/test/foundry/utils/OfferConsiderationItemAdder.sol index 989378b92..196e9100c 100644 --- a/test/foundry/utils/OfferConsiderationItemAdder.sol +++ b/test/foundry/utils/OfferConsiderationItemAdder.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { ConsiderationItem, OfferItem, ItemType } from "../../../contracts/lib/ConsiderationStructs.sol"; import { TestTokenMinter } from "./TestTokenMinter.sol"; diff --git a/test/foundry/utils/PseudoRandom.sol b/test/foundry/utils/PseudoRandom.sol index dc438c569..2495b5245 100644 --- a/test/foundry/utils/PseudoRandom.sol +++ b/test/foundry/utils/PseudoRandom.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; contract PseudoRandom { bytes32 seedHash; diff --git a/test/foundry/utils/StructCopier.sol b/test/foundry/utils/StructCopier.sol index ac8f08491..95c802408 100644 --- a/test/foundry/utils/StructCopier.sol +++ b/test/foundry/utils/StructCopier.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { BasicOrderParameters, CriteriaResolver, AdvancedOrder, AdditionalRecipient, OfferItem, Order, ConsiderationItem, Fulfillment, FulfillmentComponent, OrderParameters, OrderComponents } from "../../../contracts/lib/ConsiderationStructs.sol"; import { ConsiderationInterface } from "../../../contracts/interfaces/ConsiderationInterface.sol"; diff --git a/test/foundry/utils/TestTokenMinter.sol b/test/foundry/utils/TestTokenMinter.sol index 623d63aa1..0729eb39b 100644 --- a/test/foundry/utils/TestTokenMinter.sol +++ b/test/foundry/utils/TestTokenMinter.sol @@ -1,5 +1,5 @@ // SPDX-Identifier: MIT -pragma solidity >=0.8.7; +pragma solidity ^0.8.7; import { TestERC1155 } from "../../../contracts/test/TestERC1155.sol"; import { TestERC20 } from "../../../contracts/test/TestERC20.sol"; diff --git a/test/foundry/utils/reentrancy/ReentrantEnums.sol b/test/foundry/utils/reentrancy/ReentrantEnums.sol index e3b03d725..0ba1abb77 100644 --- a/test/foundry/utils/reentrancy/ReentrantEnums.sol +++ b/test/foundry/utils/reentrancy/ReentrantEnums.sol @@ -1,5 +1,5 @@ //SPDX-License-Identifier: Unlicense -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; /** * @dev Enum of functions that set the reentrancy guard diff --git a/test/foundry/utils/reentrancy/ReentrantStructs.sol b/test/foundry/utils/reentrancy/ReentrantStructs.sol index 0e089b552..b860fca1b 100644 --- a/test/foundry/utils/reentrancy/ReentrantStructs.sol +++ b/test/foundry/utils/reentrancy/ReentrantStructs.sol @@ -1,5 +1,5 @@ //SPDX-License-Identifier: Unlicense -pragma solidity >=0.8.13; +pragma solidity ^0.8.13; import { BasicOrderParameters, OfferItem, ConsiderationItem, OrderParameters, OrderComponents, Fulfillment, FulfillmentComponent, Execution, Order, AdvancedOrder, OrderStatus, CriteriaResolver } from "../../../../contracts/lib/ConsiderationStructs.sol"; struct FulfillBasicOrderParameters {