From 034e2df5f09e64fadf1e9b22808128ee5611dc02 Mon Sep 17 00:00:00 2001 From: Jay Paik Date: Wed, 4 Sep 2024 13:52:51 -0400 Subject: [PATCH] chore: relax pragma version and make licenses consistent --- script/Deploy.s.sol | 4 ++-- script/DeployAllowlistModule.s.sol | 4 ++-- src/account/AccountExecutor.sol | 2 +- src/account/AccountFactory.sol | 4 ++-- src/account/AccountStorage.sol | 2 +- src/account/AccountStorageInitializable.sol | 2 +- src/account/ModularAccountView.sol | 2 +- src/account/ModuleManagerInternals.sol | 2 +- src/account/ReferenceModularAccount.sol | 2 +- src/account/SemiModularAccount.sol | 2 +- src/helpers/CollectReturnData.sol | 4 ++-- src/helpers/Constants.sol | 4 ++-- src/helpers/HookConfigLib.sol | 4 ++-- src/helpers/KnownSelectors.sol | 2 +- src/helpers/ModuleEntityLib.sol | 2 +- src/helpers/SparseCalldataSegmentLib.sol | 2 +- src/helpers/ValidationConfigLib.sol | 4 ++-- src/helpers/ValidationResHelpers.sol | 2 +- src/interfaces/IExecutionHookModule.sol | 2 +- src/interfaces/IExecutionModule.sol | 2 +- src/interfaces/IModularAccount.sol | 2 +- src/interfaces/IModularAccountView.sol | 2 +- src/interfaces/IModule.sol | 2 +- src/interfaces/IValidationHookModule.sol | 2 +- src/interfaces/IValidationModule.sol | 2 +- src/modules/BaseModule.sol | 2 +- src/modules/ERC20TokenLimitModule.sol | 2 +- src/modules/ModuleEIP712.sol | 4 ++-- src/modules/NativeTokenLimitModule.sol | 2 +- src/modules/ReplaySafeWrapper.sol | 4 ++-- src/modules/TokenReceiverModule.sol | 2 +- src/modules/permissionhooks/AllowlistModule.sol | 4 ++-- src/modules/validation/ISingleSignerValidationModule.sol | 2 +- src/modules/validation/SingleSignerValidationModule.sol | 2 +- test/account/AccountExecHooks.t.sol | 4 ++-- test/account/AccountFactory.t.sol | 4 ++-- test/account/AccountReturnData.t.sol | 4 ++-- test/account/DirectCallsFromModule.t.sol | 4 ++-- test/account/GlobalValidationTest.t.sol | 4 ++-- test/account/ModularAccountView.t.sol | 4 ++-- test/account/MultiValidation.t.sol | 4 ++-- test/account/PerHookData.t.sol | 4 ++-- test/account/PermittedCallPermissions.t.sol | 4 ++-- test/account/ReferenceModularAccount.t.sol | 4 ++-- test/account/ReplaceModule.t.sol | 4 ++-- test/account/SelfCallAuthorization.t.sol | 4 ++-- test/account/ValidationIntersection.t.sol | 4 ++-- test/comparison/CompareSimpleAccount.t.sol | 4 ++-- test/libraries/AccountStorage.t.sol | 4 ++-- test/libraries/HookConfigLib.t.sol | 4 ++-- test/libraries/KnowSelectors.t.sol | 2 +- test/libraries/ModuleEntityLib.t.sol | 4 ++-- test/libraries/SparseCalldataSegmentLib.t.sol | 4 ++-- test/libraries/ValidationConfigLib.t.sol | 4 ++-- test/mocks/ContractOwner.sol | 4 ++-- test/mocks/Counter.sol | 4 ++-- test/mocks/Counter.t.sol | 4 ++-- test/mocks/MockDiamondStorageContract.sol | 4 ++-- test/mocks/MockERC1155.sol | 4 ++-- test/mocks/MockERC20.sol | 4 ++-- test/mocks/MockERC721.sol | 4 ++-- test/mocks/MockModule.sol | 4 ++-- test/mocks/SingleSignerFactoryFixture.sol | 4 ++-- test/mocks/modules/ComprehensiveModule.sol | 4 ++-- test/mocks/modules/DirectCallModule.sol | 4 ++-- test/mocks/modules/MockAccessControlHookModule.sol | 4 ++-- test/mocks/modules/PermittedCallMocks.sol | 4 ++-- test/mocks/modules/ReturnDataModuleMocks.sol | 4 ++-- test/mocks/modules/ValidationModuleMocks.sol | 4 ++-- test/module/AllowlistModule.t.sol | 4 ++-- test/module/ERC20TokenLimitModule.t.sol | 4 ++-- test/module/NativeTokenLimitModule.t.sol | 4 ++-- test/module/SingleSignerValidationModule.t.sol | 4 ++-- test/module/TokenReceiverModule.t.sol | 4 ++-- test/script/Deploy.s.t.sol | 4 ++-- test/script/DeployAllowlistModule.s.t.sol | 4 ++-- test/utils/AccountTestBase.sol | 4 ++-- test/utils/CustomValidationTestBase.sol | 4 ++-- test/utils/OptimizedTest.sol | 4 ++-- test/utils/TestConstants.sol | 4 ++-- 80 files changed, 135 insertions(+), 135 deletions(-) diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 09c517de..7f40fef4 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {IEntryPoint} from "@eth-infinitism/account-abstraction/interfaces/IEntryPoint.sol"; import {Script, console} from "forge-std/Script.sol"; diff --git a/script/DeployAllowlistModule.s.sol b/script/DeployAllowlistModule.s.sol index 42cde52f..f1e870ab 100644 --- a/script/DeployAllowlistModule.s.sol +++ b/script/DeployAllowlistModule.s.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {Script, console} from "forge-std/Script.sol"; diff --git a/src/account/AccountExecutor.sol b/src/account/AccountExecutor.sol index 4ed2c57a..65fd6356 100644 --- a/src/account/AccountExecutor.sol +++ b/src/account/AccountExecutor.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; abstract contract AccountExecutor { /// @param target The address of the contract to call. diff --git a/src/account/AccountFactory.sol b/src/account/AccountFactory.sol index 7515df9d..d56f92d8 100644 --- a/src/account/AccountFactory.sol +++ b/src/account/AccountFactory.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {IEntryPoint} from "@eth-infinitism/account-abstraction/interfaces/IEntryPoint.sol"; diff --git a/src/account/AccountStorage.sol b/src/account/AccountStorage.sol index 3522c47e..8d763d71 100644 --- a/src/account/AccountStorage.sol +++ b/src/account/AccountStorage.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; diff --git a/src/account/AccountStorageInitializable.sol b/src/account/AccountStorageInitializable.sol index debcee40..9ef4a24d 100644 --- a/src/account/AccountStorageInitializable.sol +++ b/src/account/AccountStorageInitializable.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {AccountStorage, getAccountStorage} from "./AccountStorage.sol"; diff --git a/src/account/ModularAccountView.sol b/src/account/ModularAccountView.sol index 3b9bca5d..5756c968 100644 --- a/src/account/ModularAccountView.sol +++ b/src/account/ModularAccountView.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {UUPSUpgradeable} from "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol"; import {EnumerableMap} from "@openzeppelin/contracts/utils/structs/EnumerableMap.sol"; diff --git a/src/account/ModuleManagerInternals.sol b/src/account/ModuleManagerInternals.sol index adfef508..e92525e6 100644 --- a/src/account/ModuleManagerInternals.sol +++ b/src/account/ModuleManagerInternals.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {ERC165Checker} from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; diff --git a/src/account/ReferenceModularAccount.sol b/src/account/ReferenceModularAccount.sol index 586445cb..a5d23be6 100644 --- a/src/account/ReferenceModularAccount.sol +++ b/src/account/ReferenceModularAccount.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {BaseAccount} from "@eth-infinitism/account-abstraction/core/BaseAccount.sol"; import {IAccountExecute} from "@eth-infinitism/account-abstraction/interfaces/IAccountExecute.sol"; diff --git a/src/account/SemiModularAccount.sol b/src/account/SemiModularAccount.sol index 906349fa..8b93ac79 100644 --- a/src/account/SemiModularAccount.sol +++ b/src/account/SemiModularAccount.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {ReferenceModularAccount} from "./ReferenceModularAccount.sol"; import {IEntryPoint} from "@eth-infinitism/account-abstraction/interfaces/IEntryPoint.sol"; diff --git a/src/helpers/CollectReturnData.sol b/src/helpers/CollectReturnData.sol index 0491fb18..bc50c1c4 100644 --- a/src/helpers/CollectReturnData.sol +++ b/src/helpers/CollectReturnData.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; function collectReturnData() pure returns (bytes memory returnData) { assembly ("memory-safe") { diff --git a/src/helpers/Constants.sol b/src/helpers/Constants.sol index c65dc33d..61f2b730 100644 --- a/src/helpers/Constants.sol +++ b/src/helpers/Constants.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; // Index marking the start of the data for the validation function. uint8 constant RESERVED_VALIDATION_DATA_INDEX = type(uint8).max; diff --git a/src/helpers/HookConfigLib.sol b/src/helpers/HookConfigLib.sol index c1c27994..6ade4916 100644 --- a/src/helpers/HookConfigLib.sol +++ b/src/helpers/HookConfigLib.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {HookConfig, ModuleEntity} from "../interfaces/IModularAccount.sol"; diff --git a/src/helpers/KnownSelectors.sol b/src/helpers/KnownSelectors.sol index 0e94cf2b..47cdbe13 100644 --- a/src/helpers/KnownSelectors.sol +++ b/src/helpers/KnownSelectors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {IAccount} from "@eth-infinitism/account-abstraction/interfaces/IAccount.sol"; import {IAggregator} from "@eth-infinitism/account-abstraction/interfaces/IAggregator.sol"; diff --git a/src/helpers/ModuleEntityLib.sol b/src/helpers/ModuleEntityLib.sol index 06f51222..4f184c37 100644 --- a/src/helpers/ModuleEntityLib.sol +++ b/src/helpers/ModuleEntityLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {ModuleEntity} from "../interfaces/IModularAccount.sol"; diff --git a/src/helpers/SparseCalldataSegmentLib.sol b/src/helpers/SparseCalldataSegmentLib.sol index e6711c86..75b5854d 100644 --- a/src/helpers/SparseCalldataSegmentLib.sol +++ b/src/helpers/SparseCalldataSegmentLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {RESERVED_VALIDATION_DATA_INDEX} from "./Constants.sol"; diff --git a/src/helpers/ValidationConfigLib.sol b/src/helpers/ValidationConfigLib.sol index be3ff705..92139716 100644 --- a/src/helpers/ValidationConfigLib.sol +++ b/src/helpers/ValidationConfigLib.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {ModuleEntity, ValidationConfig} from "../interfaces/IModularAccount.sol"; diff --git a/src/helpers/ValidationResHelpers.sol b/src/helpers/ValidationResHelpers.sol index 854d442c..0f40c19f 100644 --- a/src/helpers/ValidationResHelpers.sol +++ b/src/helpers/ValidationResHelpers.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; // solhint-disable-next-line private-vars-leading-underscore function _coalescePreValidation(uint256 validationRes1, uint256 validationRes2) diff --git a/src/interfaces/IExecutionHookModule.sol b/src/interfaces/IExecutionHookModule.sol index 6ca3bd9e..501889f3 100644 --- a/src/interfaces/IExecutionHookModule.sol +++ b/src/interfaces/IExecutionHookModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: CC0-1.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {IModule} from "./IModule.sol"; diff --git a/src/interfaces/IExecutionModule.sol b/src/interfaces/IExecutionModule.sol index 2c03b8d6..30559b65 100644 --- a/src/interfaces/IExecutionModule.sol +++ b/src/interfaces/IExecutionModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: CC0-1.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {IModule} from "./IModule.sol"; diff --git a/src/interfaces/IModularAccount.sol b/src/interfaces/IModularAccount.sol index 04cc2728..055fd171 100644 --- a/src/interfaces/IModularAccount.sol +++ b/src/interfaces/IModularAccount.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: CC0-1.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {ExecutionManifest} from "./IExecutionModule.sol"; diff --git a/src/interfaces/IModularAccountView.sol b/src/interfaces/IModularAccountView.sol index 75e7af17..3541688b 100644 --- a/src/interfaces/IModularAccountView.sol +++ b/src/interfaces/IModularAccountView.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: CC0-1.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {HookConfig, ModuleEntity} from "../interfaces/IModularAccount.sol"; diff --git a/src/interfaces/IModule.sol b/src/interfaces/IModule.sol index 523e7265..fdae130d 100644 --- a/src/interfaces/IModule.sol +++ b/src/interfaces/IModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: CC0-1.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {IERC165} from "@openzeppelin/contracts/interfaces/IERC165.sol"; diff --git a/src/interfaces/IValidationHookModule.sol b/src/interfaces/IValidationHookModule.sol index 54286eee..b248f3e7 100644 --- a/src/interfaces/IValidationHookModule.sol +++ b/src/interfaces/IValidationHookModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: CC0-1.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/src/interfaces/IValidationModule.sol b/src/interfaces/IValidationModule.sol index 94441b3d..f0224e26 100644 --- a/src/interfaces/IValidationModule.sol +++ b/src/interfaces/IValidationModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: CC0-1.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/src/modules/BaseModule.sol b/src/modules/BaseModule.sol index b6d785c5..1d0a050a 100644 --- a/src/modules/BaseModule.sol +++ b/src/modules/BaseModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {IAccountExecute} from "@eth-infinitism/account-abstraction/interfaces/IAccountExecute.sol"; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/src/modules/ERC20TokenLimitModule.sol b/src/modules/ERC20TokenLimitModule.sol index eda85d15..8d5aad46 100644 --- a/src/modules/ERC20TokenLimitModule.sol +++ b/src/modules/ERC20TokenLimitModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {UserOperationLib} from "@eth-infinitism/account-abstraction/core/UserOperationLib.sol"; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/src/modules/ModuleEIP712.sol b/src/modules/ModuleEIP712.sol index 84c323e1..057d2de8 100644 --- a/src/modules/ModuleEIP712.sol +++ b/src/modules/ModuleEIP712.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; // A base for modules that use EIP-712 structured data signing. // diff --git a/src/modules/NativeTokenLimitModule.sol b/src/modules/NativeTokenLimitModule.sol index b9244145..5963a0af 100644 --- a/src/modules/NativeTokenLimitModule.sol +++ b/src/modules/NativeTokenLimitModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {UserOperationLib} from "@eth-infinitism/account-abstraction/core/UserOperationLib.sol"; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/src/modules/ReplaySafeWrapper.sol b/src/modules/ReplaySafeWrapper.sol index 37807027..c4fa33c7 100644 --- a/src/modules/ReplaySafeWrapper.sol +++ b/src/modules/ReplaySafeWrapper.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {ModuleEIP712} from "./ModuleEIP712.sol"; diff --git a/src/modules/TokenReceiverModule.sol b/src/modules/TokenReceiverModule.sol index eb1377e5..753c8051 100644 --- a/src/modules/TokenReceiverModule.sol +++ b/src/modules/TokenReceiverModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {IERC1155Receiver} from "@openzeppelin/contracts/interfaces/IERC1155Receiver.sol"; import {IERC721Receiver} from "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; diff --git a/src/modules/permissionhooks/AllowlistModule.sol b/src/modules/permissionhooks/AllowlistModule.sol index 6b693244..48577b36 100644 --- a/src/modules/permissionhooks/AllowlistModule.sol +++ b/src/modules/permissionhooks/AllowlistModule.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; import {IERC165} from "@openzeppelin/contracts/interfaces/IERC165.sol"; diff --git a/src/modules/validation/ISingleSignerValidationModule.sol b/src/modules/validation/ISingleSignerValidationModule.sol index 8ad87f5a..a533f5de 100644 --- a/src/modules/validation/ISingleSignerValidationModule.sol +++ b/src/modules/validation/ISingleSignerValidationModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {IValidationModule} from "../../interfaces/IValidationModule.sol"; diff --git a/src/modules/validation/SingleSignerValidationModule.sol b/src/modules/validation/SingleSignerValidationModule.sol index ce18ec3a..871217a6 100644 --- a/src/modules/validation/SingleSignerValidationModule.sol +++ b/src/modules/validation/SingleSignerValidationModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; import {IERC165} from "@openzeppelin/contracts/interfaces/IERC165.sol"; diff --git a/test/account/AccountExecHooks.t.sol b/test/account/AccountExecHooks.t.sol index bae59d45..903697e7 100644 --- a/test/account/AccountExecHooks.t.sol +++ b/test/account/AccountExecHooks.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {IExecutionHookModule} from "../../src/interfaces/IExecutionHookModule.sol"; import { diff --git a/test/account/AccountFactory.t.sol b/test/account/AccountFactory.t.sol index 913189d9..0a1fc54f 100644 --- a/test/account/AccountFactory.t.sol +++ b/test/account/AccountFactory.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {AccountFactory} from "../../src/account/AccountFactory.sol"; diff --git a/test/account/AccountReturnData.t.sol b/test/account/AccountReturnData.t.sol index 21192131..548d94b6 100644 --- a/test/account/AccountReturnData.t.sol +++ b/test/account/AccountReturnData.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {DIRECT_CALL_VALIDATION_ENTITYID} from "../../src/helpers/Constants.sol"; import {ValidationConfigLib} from "../../src/helpers/ValidationConfigLib.sol"; diff --git a/test/account/DirectCallsFromModule.t.sol b/test/account/DirectCallsFromModule.t.sol index 668ef0c2..c8a5d4df 100644 --- a/test/account/DirectCallsFromModule.t.sol +++ b/test/account/DirectCallsFromModule.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {ReferenceModularAccount} from "../../src/account/ReferenceModularAccount.sol"; diff --git a/test/account/GlobalValidationTest.t.sol b/test/account/GlobalValidationTest.t.sol index 055aad03..c5505187 100644 --- a/test/account/GlobalValidationTest.t.sol +++ b/test/account/GlobalValidationTest.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; import {MessageHashUtils} from "@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol"; diff --git a/test/account/ModularAccountView.t.sol b/test/account/ModularAccountView.t.sol index 0aa34afc..97d864a8 100644 --- a/test/account/ModularAccountView.t.sol +++ b/test/account/ModularAccountView.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {UUPSUpgradeable} from "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol"; diff --git a/test/account/MultiValidation.t.sol b/test/account/MultiValidation.t.sol index 73a17395..37ebde1d 100644 --- a/test/account/MultiValidation.t.sol +++ b/test/account/MultiValidation.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.21; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; diff --git a/test/account/PerHookData.t.sol b/test/account/PerHookData.t.sol index fa4e58fb..df12cafc 100644 --- a/test/account/PerHookData.t.sol +++ b/test/account/PerHookData.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {IEntryPoint} from "@eth-infinitism/account-abstraction/interfaces/IEntryPoint.sol"; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/test/account/PermittedCallPermissions.t.sol b/test/account/PermittedCallPermissions.t.sol index ad6f900c..4f823d17 100644 --- a/test/account/PermittedCallPermissions.t.sol +++ b/test/account/PermittedCallPermissions.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {ReferenceModularAccount} from "../../src/account/ReferenceModularAccount.sol"; diff --git a/test/account/ReferenceModularAccount.t.sol b/test/account/ReferenceModularAccount.t.sol index 6dca79af..9bd2e4d5 100644 --- a/test/account/ReferenceModularAccount.t.sol +++ b/test/account/ReferenceModularAccount.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {console} from "forge-std/Test.sol"; diff --git a/test/account/ReplaceModule.t.sol b/test/account/ReplaceModule.t.sol index 4a446681..b5056512 100644 --- a/test/account/ReplaceModule.t.sol +++ b/test/account/ReplaceModule.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {ReferenceModularAccount} from "../../src/account/ReferenceModularAccount.sol"; diff --git a/test/account/SelfCallAuthorization.t.sol b/test/account/SelfCallAuthorization.t.sol index 3c3eed5e..2479663d 100644 --- a/test/account/SelfCallAuthorization.t.sol +++ b/test/account/SelfCallAuthorization.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {IAccountExecute} from "@eth-infinitism/account-abstraction/interfaces/IAccountExecute.sol"; import {IEntryPoint} from "@eth-infinitism/account-abstraction/interfaces/IEntryPoint.sol"; diff --git a/test/account/ValidationIntersection.t.sol b/test/account/ValidationIntersection.t.sol index 097a12aa..aa297e99 100644 --- a/test/account/ValidationIntersection.t.sol +++ b/test/account/ValidationIntersection.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/test/comparison/CompareSimpleAccount.t.sol b/test/comparison/CompareSimpleAccount.t.sol index a7f59b69..eff75815 100644 --- a/test/comparison/CompareSimpleAccount.t.sol +++ b/test/comparison/CompareSimpleAccount.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {Test} from "forge-std/Test.sol"; diff --git a/test/libraries/AccountStorage.t.sol b/test/libraries/AccountStorage.t.sol index 972225fc..ee68b045 100644 --- a/test/libraries/AccountStorage.t.sol +++ b/test/libraries/AccountStorage.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {_ACCOUNT_STORAGE_SLOT} from "../../src/account/AccountStorage.sol"; import {AccountStorageInitializable} from "../../src/account/AccountStorageInitializable.sol"; diff --git a/test/libraries/HookConfigLib.t.sol b/test/libraries/HookConfigLib.t.sol index f1efa395..a6f41a37 100644 --- a/test/libraries/HookConfigLib.t.sol +++ b/test/libraries/HookConfigLib.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {Test} from "forge-std/Test.sol"; diff --git a/test/libraries/KnowSelectors.t.sol b/test/libraries/KnowSelectors.t.sol index 76242372..cb7e630b 100644 --- a/test/libraries/KnowSelectors.t.sol +++ b/test/libraries/KnowSelectors.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.25; +pragma solidity ^0.8.20; import {IAccount} from "@eth-infinitism/account-abstraction/interfaces/IAccount.sol"; import {IPaymaster} from "@eth-infinitism/account-abstraction/interfaces/IPaymaster.sol"; diff --git a/test/libraries/ModuleEntityLib.t.sol b/test/libraries/ModuleEntityLib.t.sol index f43a238c..8a0f9395 100644 --- a/test/libraries/ModuleEntityLib.t.sol +++ b/test/libraries/ModuleEntityLib.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {Test} from "forge-std/Test.sol"; diff --git a/test/libraries/SparseCalldataSegmentLib.t.sol b/test/libraries/SparseCalldataSegmentLib.t.sol index 7edea4e4..68a485bc 100644 --- a/test/libraries/SparseCalldataSegmentLib.t.sol +++ b/test/libraries/SparseCalldataSegmentLib.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {Test} from "forge-std/Test.sol"; diff --git a/test/libraries/ValidationConfigLib.t.sol b/test/libraries/ValidationConfigLib.t.sol index 44f94231..7127d94d 100644 --- a/test/libraries/ValidationConfigLib.t.sol +++ b/test/libraries/ValidationConfigLib.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {Test} from "forge-std/Test.sol"; diff --git a/test/mocks/ContractOwner.sol b/test/mocks/ContractOwner.sol index ddf8565a..02df13ad 100644 --- a/test/mocks/ContractOwner.sol +++ b/test/mocks/ContractOwner.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {IERC1271} from "@openzeppelin/contracts/interfaces/IERC1271.sol"; diff --git a/test/mocks/Counter.sol b/test/mocks/Counter.sol index 5e543afc..5e693500 100644 --- a/test/mocks/Counter.sol +++ b/test/mocks/Counter.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; /// @title A public counter for anyone to use. contract Counter { diff --git a/test/mocks/Counter.t.sol b/test/mocks/Counter.t.sol index 4749a846..59871bf8 100644 --- a/test/mocks/Counter.t.sol +++ b/test/mocks/Counter.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {Counter} from "./Counter.sol"; import {Test} from "forge-std/Test.sol"; diff --git a/test/mocks/MockDiamondStorageContract.sol b/test/mocks/MockDiamondStorageContract.sol index 81d40dc5..83ceb2e8 100644 --- a/test/mocks/MockDiamondStorageContract.sol +++ b/test/mocks/MockDiamondStorageContract.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {AccountStorageInitializable} from "../../src/account/AccountStorageInitializable.sol"; diff --git a/test/mocks/MockERC1155.sol b/test/mocks/MockERC1155.sol index b47d2062..63c23221 100644 --- a/test/mocks/MockERC1155.sol +++ b/test/mocks/MockERC1155.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {ERC1155} from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; diff --git a/test/mocks/MockERC20.sol b/test/mocks/MockERC20.sol index 131e0d1a..db8ca24f 100644 --- a/test/mocks/MockERC20.sol +++ b/test/mocks/MockERC20.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/test/mocks/MockERC721.sol b/test/mocks/MockERC721.sol index 1139adf2..9ba16541 100644 --- a/test/mocks/MockERC721.sol +++ b/test/mocks/MockERC721.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; diff --git a/test/mocks/MockModule.sol b/test/mocks/MockModule.sol index 260c515c..7b4a2fcd 100644 --- a/test/mocks/MockModule.sol +++ b/test/mocks/MockModule.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {ERC165} from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; diff --git a/test/mocks/SingleSignerFactoryFixture.sol b/test/mocks/SingleSignerFactoryFixture.sol index 89dff51e..a54f15f6 100644 --- a/test/mocks/SingleSignerFactoryFixture.sol +++ b/test/mocks/SingleSignerFactoryFixture.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {IEntryPoint} from "@eth-infinitism/account-abstraction/interfaces/IEntryPoint.sol"; import {ERC1967Proxy} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; diff --git a/test/mocks/modules/ComprehensiveModule.sol b/test/mocks/modules/ComprehensiveModule.sol index ba89fa78..7b8a290b 100644 --- a/test/mocks/modules/ComprehensiveModule.sol +++ b/test/mocks/modules/ComprehensiveModule.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/test/mocks/modules/DirectCallModule.sol b/test/mocks/modules/DirectCallModule.sol index a8342367..dc676675 100644 --- a/test/mocks/modules/DirectCallModule.sol +++ b/test/mocks/modules/DirectCallModule.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {IERC165} from "@openzeppelin/contracts/interfaces/IERC165.sol"; diff --git a/test/mocks/modules/MockAccessControlHookModule.sol b/test/mocks/modules/MockAccessControlHookModule.sol index bad9fcb4..311c2844 100644 --- a/test/mocks/modules/MockAccessControlHookModule.sol +++ b/test/mocks/modules/MockAccessControlHookModule.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; import {IERC165} from "@openzeppelin/contracts/interfaces/IERC165.sol"; diff --git a/test/mocks/modules/PermittedCallMocks.sol b/test/mocks/modules/PermittedCallMocks.sol index 1340f99f..f11dca8c 100644 --- a/test/mocks/modules/PermittedCallMocks.sol +++ b/test/mocks/modules/PermittedCallMocks.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import { ExecutionManifest, diff --git a/test/mocks/modules/ReturnDataModuleMocks.sol b/test/mocks/modules/ReturnDataModuleMocks.sol index 7d16dc05..e9f2e62b 100644 --- a/test/mocks/modules/ReturnDataModuleMocks.sol +++ b/test/mocks/modules/ReturnDataModuleMocks.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/test/mocks/modules/ValidationModuleMocks.sol b/test/mocks/modules/ValidationModuleMocks.sol index 4c383744..ac60892b 100644 --- a/test/mocks/modules/ValidationModuleMocks.sol +++ b/test/mocks/modules/ValidationModuleMocks.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/test/module/AllowlistModule.t.sol b/test/module/AllowlistModule.t.sol index c27787f4..fc6a2db3 100644 --- a/test/module/AllowlistModule.t.sol +++ b/test/module/AllowlistModule.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {IEntryPoint} from "@eth-infinitism/account-abstraction/interfaces/IEntryPoint.sol"; diff --git a/test/module/ERC20TokenLimitModule.t.sol b/test/module/ERC20TokenLimitModule.t.sol index 2be4fd0e..bb6386e2 100644 --- a/test/module/ERC20TokenLimitModule.t.sol +++ b/test/module/ERC20TokenLimitModule.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {MockERC20} from "../mocks/MockERC20.sol"; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/test/module/NativeTokenLimitModule.t.sol b/test/module/NativeTokenLimitModule.t.sol index 5815749c..053b5f4a 100644 --- a/test/module/NativeTokenLimitModule.t.sol +++ b/test/module/NativeTokenLimitModule.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/test/module/SingleSignerValidationModule.t.sol b/test/module/SingleSignerValidationModule.t.sol index 9b310854..a4aae365 100644 --- a/test/module/SingleSignerValidationModule.t.sol +++ b/test/module/SingleSignerValidationModule.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; import {MessageHashUtils} from "@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol"; diff --git a/test/module/TokenReceiverModule.t.sol b/test/module/TokenReceiverModule.t.sol index 2b7078e5..1d786ece 100644 --- a/test/module/TokenReceiverModule.t.sol +++ b/test/module/TokenReceiverModule.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {EntryPoint} from "@eth-infinitism/account-abstraction/core/EntryPoint.sol"; diff --git a/test/script/Deploy.s.t.sol b/test/script/Deploy.s.t.sol index 73a30183..667fa3fe 100644 --- a/test/script/Deploy.s.t.sol +++ b/test/script/Deploy.s.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {Test} from "forge-std/Test.sol"; diff --git a/test/script/DeployAllowlistModule.s.t.sol b/test/script/DeployAllowlistModule.s.t.sol index 27d4666a..16c3ac4e 100644 --- a/test/script/DeployAllowlistModule.s.t.sol +++ b/test/script/DeployAllowlistModule.s.t.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {Test} from "forge-std/Test.sol"; diff --git a/test/utils/AccountTestBase.sol b/test/utils/AccountTestBase.sol index f4e37462..24b7ad91 100644 --- a/test/utils/AccountTestBase.sol +++ b/test/utils/AccountTestBase.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {EntryPoint} from "@eth-infinitism/account-abstraction/core/EntryPoint.sol"; import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interfaces/PackedUserOperation.sol"; diff --git a/test/utils/CustomValidationTestBase.sol b/test/utils/CustomValidationTestBase.sol index 80470020..f0b1f309 100644 --- a/test/utils/CustomValidationTestBase.sol +++ b/test/utils/CustomValidationTestBase.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {ERC1967Proxy} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; diff --git a/test/utils/OptimizedTest.sol b/test/utils/OptimizedTest.sol index 84cf13b6..43e48a96 100644 --- a/test/utils/OptimizedTest.sol +++ b/test/utils/OptimizedTest.sol @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; import {Test} from "forge-std/Test.sol"; diff --git a/test/utils/TestConstants.sol b/test/utils/TestConstants.sol index 119bcd0b..31fea4b3 100644 --- a/test/utils/TestConstants.sol +++ b/test/utils/TestConstants.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.25; +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.20; uint32 constant TEST_DEFAULT_VALIDATION_ENTITY_ID = type(uint32).max;