From 9c84fa976952491059ebfd5353c7a6d4eca8864b Mon Sep 17 00:00:00 2001 From: zorzal Date: Tue, 10 Dec 2024 12:47:27 -0500 Subject: [PATCH] fix: pin solidity version to 0.8.26 --- foundry.toml | 2 +- solidity/contracts/Module.sol | 2 +- solidity/contracts/Oracle.sol | 2 +- solidity/contracts/Validator.sol | 2 +- solidity/contracts/access/CommonAccessController.sol | 2 +- solidity/contracts/access/ModuleAccessController.sol | 2 +- solidity/contracts/access/OracleAccessController.sol | 2 +- solidity/contracts/utils/OracleTypehash.sol | 2 +- solidity/interfaces/IModule.sol | 2 +- solidity/interfaces/IOracle.sol | 2 +- solidity/interfaces/IValidator.sol | 2 +- solidity/interfaces/access/IAccessController.sol | 2 +- solidity/interfaces/access/IModuleAccessController.sol | 2 +- solidity/interfaces/access/IOracleAccessController.sol | 2 +- solidity/interfaces/modules/access/IAccessModule.sol | 2 +- solidity/interfaces/modules/dispute/IDisputeModule.sol | 2 +- solidity/interfaces/modules/finality/IFinalityModule.sol | 2 +- solidity/interfaces/modules/request/IRequestModule.sol | 2 +- solidity/interfaces/modules/resolution/IResolutionModule.sol | 2 +- solidity/interfaces/modules/response/IResponseModule.sol | 2 +- solidity/libraries/ValidatorLib.sol | 2 +- solidity/scripts/Deploy.sol | 2 +- solidity/test/integration/EscalateDispute.t.sol | 2 +- solidity/test/integration/Finalization.t.sol | 2 +- solidity/test/integration/IntegrationBase.sol | 2 +- solidity/test/integration/ResponseDispute.t.sol | 2 +- solidity/test/integration/ResponseProposal.t.sol | 2 +- solidity/test/mocks/contracts/MockAccessModule.sol | 2 +- solidity/test/mocks/contracts/MockAccounting.sol | 2 +- solidity/test/mocks/contracts/MockArbitrator.sol | 2 +- solidity/test/mocks/contracts/MockAtomicArbitrator.sol | 2 +- solidity/test/mocks/contracts/MockCallback.sol | 2 +- solidity/test/mocks/contracts/MockDisputeModule.sol | 2 +- solidity/test/mocks/contracts/MockFinalityModule.sol | 2 +- solidity/test/mocks/contracts/MockRequestModule.sol | 2 +- solidity/test/mocks/contracts/MockResolutionModule.sol | 2 +- solidity/test/mocks/contracts/MockResponseModule.sol | 2 +- solidity/test/mocks/interfaces/IMockAccessModule.sol | 2 +- solidity/test/mocks/interfaces/IMockAccounting.sol | 2 +- solidity/test/mocks/interfaces/IMockDisputeModule.sol | 2 +- solidity/test/mocks/interfaces/IMockFinalityModule.sol | 2 +- solidity/test/mocks/interfaces/IMockRequestModule.sol | 2 +- solidity/test/mocks/interfaces/IMockResolutionModule.sol | 2 +- solidity/test/mocks/interfaces/IMockResponseModule.sol | 2 +- solidity/test/unit/CommonAccessController.t.sol | 2 +- solidity/test/unit/Module.t.sol | 2 +- solidity/test/unit/ModuleAccessController.t.sol | 2 +- solidity/test/unit/Oracle.t.sol | 2 +- solidity/test/unit/OracleAccessController.t.sol | 2 +- solidity/test/unit/Validator.t.sol | 2 +- solidity/test/unit/ValidatorLib.t.sol | 2 +- solidity/test/utils/Helpers.sol | 2 +- solidity/test/utils/TestConstants.sol | 2 +- solidity/test/utils/external/IWETH9.sol | 2 +- 54 files changed, 54 insertions(+), 54 deletions(-) diff --git a/foundry.toml b/foundry.toml index 871a7ad..633a1b9 100644 --- a/foundry.toml +++ b/foundry.toml @@ -9,7 +9,7 @@ multiline_func_header = 'params_first_multi' sort_imports = true [profile.default] -solc_version = '0.8.19' +solc_version = '0.8.26' src = 'solidity' test = 'solidity/test' out = 'out' diff --git a/solidity/contracts/Module.sol b/solidity/contracts/Module.sol index 306bcd3..7a3ae0d 100644 --- a/solidity/contracts/Module.sol +++ b/solidity/contracts/Module.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IModule} from '../interfaces/IModule.sol'; import {IOracle} from '../interfaces/IOracle.sol'; diff --git a/solidity/contracts/Oracle.sol b/solidity/contracts/Oracle.sol index 9283cb9..95a3105 100644 --- a/solidity/contracts/Oracle.sol +++ b/solidity/contracts/Oracle.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IOracle} from '../interfaces/IOracle.sol'; diff --git a/solidity/contracts/Validator.sol b/solidity/contracts/Validator.sol index 515aa92..6de17e3 100644 --- a/solidity/contracts/Validator.sol +++ b/solidity/contracts/Validator.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IOracle, IValidator} from '../interfaces/IValidator.sol'; diff --git a/solidity/contracts/access/CommonAccessController.sol b/solidity/contracts/access/CommonAccessController.sol index 5c8766f..434b2e0 100644 --- a/solidity/contracts/access/CommonAccessController.sol +++ b/solidity/contracts/access/CommonAccessController.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IAccessController} from '../../interfaces/access/IAccessController.sol'; import {IAccessModule} from '../../interfaces/modules/access/IAccessModule.sol'; diff --git a/solidity/contracts/access/ModuleAccessController.sol b/solidity/contracts/access/ModuleAccessController.sol index 7a82508..1426014 100644 --- a/solidity/contracts/access/ModuleAccessController.sol +++ b/solidity/contracts/access/ModuleAccessController.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IOracle} from '../../interfaces/IOracle.sol'; import {IModuleAccessController} from '../../interfaces/access/IModuleAccessController.sol'; diff --git a/solidity/contracts/access/OracleAccessController.sol b/solidity/contracts/access/OracleAccessController.sol index cdca1b6..42cb40e 100644 --- a/solidity/contracts/access/OracleAccessController.sol +++ b/solidity/contracts/access/OracleAccessController.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IOracleAccessController} from '../../interfaces/access/IOracleAccessController.sol'; import {CommonAccessController} from './CommonAccessController.sol'; diff --git a/solidity/contracts/utils/OracleTypehash.sol b/solidity/contracts/utils/OracleTypehash.sol index 77ae352..d10a380 100644 --- a/solidity/contracts/utils/OracleTypehash.sol +++ b/solidity/contracts/utils/OracleTypehash.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; library OracleTypehash { bytes32 public constant CREATE_TYPEHASH = diff --git a/solidity/interfaces/IModule.sol b/solidity/interfaces/IModule.sol index 13c25e0..57ed283 100644 --- a/solidity/interfaces/IModule.sol +++ b/solidity/interfaces/IModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IOracle} from './IOracle.sol'; import {IValidator} from './IValidator.sol'; diff --git a/solidity/interfaces/IOracle.sol b/solidity/interfaces/IOracle.sol index 6246de7..46214f8 100644 --- a/solidity/interfaces/IOracle.sol +++ b/solidity/interfaces/IOracle.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IAccessController, IOracleAccessController} from './access/IOracleAccessController.sol'; diff --git a/solidity/interfaces/IValidator.sol b/solidity/interfaces/IValidator.sol index 694c798..17d8411 100644 --- a/solidity/interfaces/IValidator.sol +++ b/solidity/interfaces/IValidator.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IOracle} from './IOracle.sol'; diff --git a/solidity/interfaces/access/IAccessController.sol b/solidity/interfaces/access/IAccessController.sol index c882bb2..d8348e0 100644 --- a/solidity/interfaces/access/IAccessController.sol +++ b/solidity/interfaces/access/IAccessController.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; /** * @title Access Controller Interface diff --git a/solidity/interfaces/access/IModuleAccessController.sol b/solidity/interfaces/access/IModuleAccessController.sol index dc6d4ce..a0f6cc7 100644 --- a/solidity/interfaces/access/IModuleAccessController.sol +++ b/solidity/interfaces/access/IModuleAccessController.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IAccessController} from './IAccessController.sol'; diff --git a/solidity/interfaces/access/IOracleAccessController.sol b/solidity/interfaces/access/IOracleAccessController.sol index d44df90..4a6671f 100644 --- a/solidity/interfaces/access/IOracleAccessController.sol +++ b/solidity/interfaces/access/IOracleAccessController.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IAccessController} from './IAccessController.sol'; diff --git a/solidity/interfaces/modules/access/IAccessModule.sol b/solidity/interfaces/modules/access/IAccessModule.sol index 9bd84fd..a439361 100644 --- a/solidity/interfaces/modules/access/IAccessModule.sol +++ b/solidity/interfaces/modules/access/IAccessModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IModule} from '../../IModule.sol'; import {IAccessController} from '../../access/IAccessController.sol'; diff --git a/solidity/interfaces/modules/dispute/IDisputeModule.sol b/solidity/interfaces/modules/dispute/IDisputeModule.sol index 7bc8d3f..0514a3f 100644 --- a/solidity/interfaces/modules/dispute/IDisputeModule.sol +++ b/solidity/interfaces/modules/dispute/IDisputeModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IModule} from '../../IModule.sol'; import {IOracle} from '../../IOracle.sol'; diff --git a/solidity/interfaces/modules/finality/IFinalityModule.sol b/solidity/interfaces/modules/finality/IFinalityModule.sol index 96a06af..eafb061 100644 --- a/solidity/interfaces/modules/finality/IFinalityModule.sol +++ b/solidity/interfaces/modules/finality/IFinalityModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IModule} from '../../IModule.sol'; diff --git a/solidity/interfaces/modules/request/IRequestModule.sol b/solidity/interfaces/modules/request/IRequestModule.sol index bf9a870..e50b354 100644 --- a/solidity/interfaces/modules/request/IRequestModule.sol +++ b/solidity/interfaces/modules/request/IRequestModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IModule} from '../../IModule.sol'; diff --git a/solidity/interfaces/modules/resolution/IResolutionModule.sol b/solidity/interfaces/modules/resolution/IResolutionModule.sol index 92af7f9..c1a0284 100644 --- a/solidity/interfaces/modules/resolution/IResolutionModule.sol +++ b/solidity/interfaces/modules/resolution/IResolutionModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IModule} from '../../IModule.sol'; import {IOracle} from '../../IOracle.sol'; diff --git a/solidity/interfaces/modules/response/IResponseModule.sol b/solidity/interfaces/modules/response/IResponseModule.sol index c5f0dfb..e03460e 100644 --- a/solidity/interfaces/modules/response/IResponseModule.sol +++ b/solidity/interfaces/modules/response/IResponseModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IModule} from '../../IModule.sol'; import {IOracle} from '../../IOracle.sol'; diff --git a/solidity/libraries/ValidatorLib.sol b/solidity/libraries/ValidatorLib.sol index 8c694ca..a35d316 100644 --- a/solidity/libraries/ValidatorLib.sol +++ b/solidity/libraries/ValidatorLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IOracle} from '../interfaces/IOracle.sol'; diff --git a/solidity/scripts/Deploy.sol b/solidity/scripts/Deploy.sol index 579b957..251808e 100644 --- a/solidity/scripts/Deploy.sol +++ b/solidity/scripts/Deploy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {Script, console} from 'forge-std/Script.sol'; diff --git a/solidity/test/integration/EscalateDispute.t.sol b/solidity/test/integration/EscalateDispute.t.sol index 8c3b140..afd13e3 100644 --- a/solidity/test/integration/EscalateDispute.t.sol +++ b/solidity/test/integration/EscalateDispute.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import './IntegrationBase.sol'; diff --git a/solidity/test/integration/Finalization.t.sol b/solidity/test/integration/Finalization.t.sol index 42a89ee..24ca06b 100644 --- a/solidity/test/integration/Finalization.t.sol +++ b/solidity/test/integration/Finalization.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import './IntegrationBase.sol'; diff --git a/solidity/test/integration/IntegrationBase.sol b/solidity/test/integration/IntegrationBase.sol index 701ded5..fa3adae 100644 --- a/solidity/test/integration/IntegrationBase.sol +++ b/solidity/test/integration/IntegrationBase.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; // solhint-disable no-unused-import // solhint-disable-next-line no-console diff --git a/solidity/test/integration/ResponseDispute.t.sol b/solidity/test/integration/ResponseDispute.t.sol index 5e1b76b..ce6320a 100644 --- a/solidity/test/integration/ResponseDispute.t.sol +++ b/solidity/test/integration/ResponseDispute.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import './IntegrationBase.sol'; diff --git a/solidity/test/integration/ResponseProposal.t.sol b/solidity/test/integration/ResponseProposal.t.sol index 77f37fb..60f5ca7 100644 --- a/solidity/test/integration/ResponseProposal.t.sol +++ b/solidity/test/integration/ResponseProposal.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import './IntegrationBase.sol'; diff --git a/solidity/test/mocks/contracts/MockAccessModule.sol b/solidity/test/mocks/contracts/MockAccessModule.sol index 7e6d74b..b9ed271 100644 --- a/solidity/test/mocks/contracts/MockAccessModule.sol +++ b/solidity/test/mocks/contracts/MockAccessModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {Module} from '../../../contracts/Module.sol'; diff --git a/solidity/test/mocks/contracts/MockAccounting.sol b/solidity/test/mocks/contracts/MockAccounting.sol index b906d87..14c03e3 100644 --- a/solidity/test/mocks/contracts/MockAccounting.sol +++ b/solidity/test/mocks/contracts/MockAccounting.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IMockAccounting} from '../interfaces/IMockAccounting.sol'; diff --git a/solidity/test/mocks/contracts/MockArbitrator.sol b/solidity/test/mocks/contracts/MockArbitrator.sol index ef438d5..2b343e2 100644 --- a/solidity/test/mocks/contracts/MockArbitrator.sol +++ b/solidity/test/mocks/contracts/MockArbitrator.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IOracle} from '../../../interfaces/IOracle.sol'; diff --git a/solidity/test/mocks/contracts/MockAtomicArbitrator.sol b/solidity/test/mocks/contracts/MockAtomicArbitrator.sol index 2fb163d..5ac0da7 100644 --- a/solidity/test/mocks/contracts/MockAtomicArbitrator.sol +++ b/solidity/test/mocks/contracts/MockAtomicArbitrator.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IAccessController, IOracle} from '../../../interfaces/IOracle.sol'; diff --git a/solidity/test/mocks/contracts/MockCallback.sol b/solidity/test/mocks/contracts/MockCallback.sol index 2a02419..0daa30b 100644 --- a/solidity/test/mocks/contracts/MockCallback.sol +++ b/solidity/test/mocks/contracts/MockCallback.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; contract MockCallback { uint256 public randomValue; diff --git a/solidity/test/mocks/contracts/MockDisputeModule.sol b/solidity/test/mocks/contracts/MockDisputeModule.sol index aa78837..82fb69b 100644 --- a/solidity/test/mocks/contracts/MockDisputeModule.sol +++ b/solidity/test/mocks/contracts/MockDisputeModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {Module} from '../../../contracts/Module.sol'; import {IOracle} from '../../../interfaces/IOracle.sol'; diff --git a/solidity/test/mocks/contracts/MockFinalityModule.sol b/solidity/test/mocks/contracts/MockFinalityModule.sol index 0a503d7..4d43626 100644 --- a/solidity/test/mocks/contracts/MockFinalityModule.sol +++ b/solidity/test/mocks/contracts/MockFinalityModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IModule, Module} from '../../../contracts/Module.sol'; import {IOracle} from '../../../interfaces/IOracle.sol'; diff --git a/solidity/test/mocks/contracts/MockRequestModule.sol b/solidity/test/mocks/contracts/MockRequestModule.sol index 627bf94..a2ee6aa 100644 --- a/solidity/test/mocks/contracts/MockRequestModule.sol +++ b/solidity/test/mocks/contracts/MockRequestModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {Module} from '../../../contracts/Module.sol'; import {IOracle} from '../../../interfaces/IOracle.sol'; diff --git a/solidity/test/mocks/contracts/MockResolutionModule.sol b/solidity/test/mocks/contracts/MockResolutionModule.sol index 5e5468a..e57f296 100644 --- a/solidity/test/mocks/contracts/MockResolutionModule.sol +++ b/solidity/test/mocks/contracts/MockResolutionModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {Module} from '../../../contracts/Module.sol'; import {IOracle} from '../../../interfaces/IOracle.sol'; diff --git a/solidity/test/mocks/contracts/MockResponseModule.sol b/solidity/test/mocks/contracts/MockResponseModule.sol index e7cb351..6d6267d 100644 --- a/solidity/test/mocks/contracts/MockResponseModule.sol +++ b/solidity/test/mocks/contracts/MockResponseModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {Module} from '../../../contracts/Module.sol'; import {IOracle} from '../../../interfaces/IOracle.sol'; diff --git a/solidity/test/mocks/interfaces/IMockAccessModule.sol b/solidity/test/mocks/interfaces/IMockAccessModule.sol index 921b2fc..cbf822f 100644 --- a/solidity/test/mocks/interfaces/IMockAccessModule.sol +++ b/solidity/test/mocks/interfaces/IMockAccessModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IAccessController, IAccessModule} from '../../../interfaces/modules/access/IAccessModule.sol'; diff --git a/solidity/test/mocks/interfaces/IMockAccounting.sol b/solidity/test/mocks/interfaces/IMockAccounting.sol index 7427c43..0c8bbf0 100644 --- a/solidity/test/mocks/interfaces/IMockAccounting.sol +++ b/solidity/test/mocks/interfaces/IMockAccounting.sol @@ -1,4 +1,4 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; interface IMockAccounting {} diff --git a/solidity/test/mocks/interfaces/IMockDisputeModule.sol b/solidity/test/mocks/interfaces/IMockDisputeModule.sol index 8b55791..c6c7c12 100644 --- a/solidity/test/mocks/interfaces/IMockDisputeModule.sol +++ b/solidity/test/mocks/interfaces/IMockDisputeModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IERC20} from '../../utils/external/IERC20.sol'; diff --git a/solidity/test/mocks/interfaces/IMockFinalityModule.sol b/solidity/test/mocks/interfaces/IMockFinalityModule.sol index 2dd8dfa..0fcdaef 100644 --- a/solidity/test/mocks/interfaces/IMockFinalityModule.sol +++ b/solidity/test/mocks/interfaces/IMockFinalityModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IFinalityModule} from '../../../interfaces/modules/finality/IFinalityModule.sol'; diff --git a/solidity/test/mocks/interfaces/IMockRequestModule.sol b/solidity/test/mocks/interfaces/IMockRequestModule.sol index 085730f..b319ff5 100644 --- a/solidity/test/mocks/interfaces/IMockRequestModule.sol +++ b/solidity/test/mocks/interfaces/IMockRequestModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IERC20} from '../../utils/external/IERC20.sol'; diff --git a/solidity/test/mocks/interfaces/IMockResolutionModule.sol b/solidity/test/mocks/interfaces/IMockResolutionModule.sol index e903c68..8643ef9 100644 --- a/solidity/test/mocks/interfaces/IMockResolutionModule.sol +++ b/solidity/test/mocks/interfaces/IMockResolutionModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IResolutionModule} from '../../../interfaces/modules/resolution/IResolutionModule.sol'; diff --git a/solidity/test/mocks/interfaces/IMockResponseModule.sol b/solidity/test/mocks/interfaces/IMockResponseModule.sol index d619d21..6700032 100644 --- a/solidity/test/mocks/interfaces/IMockResponseModule.sol +++ b/solidity/test/mocks/interfaces/IMockResponseModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IERC20} from '../../utils/external/IERC20.sol'; diff --git a/solidity/test/unit/CommonAccessController.t.sol b/solidity/test/unit/CommonAccessController.t.sol index cb2d43b..9156cb5 100644 --- a/solidity/test/unit/CommonAccessController.t.sol +++ b/solidity/test/unit/CommonAccessController.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import 'forge-std/Test.sol'; diff --git a/solidity/test/unit/Module.t.sol b/solidity/test/unit/Module.t.sol index fbce818..23087dc 100644 --- a/solidity/test/unit/Module.t.sol +++ b/solidity/test/unit/Module.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import 'forge-std/Test.sol'; diff --git a/solidity/test/unit/ModuleAccessController.t.sol b/solidity/test/unit/ModuleAccessController.t.sol index 9aaa53e..eaa7680 100644 --- a/solidity/test/unit/ModuleAccessController.t.sol +++ b/solidity/test/unit/ModuleAccessController.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IModuleAccessController, ModuleAccessController} from '../../contracts/access/ModuleAccessController.sol'; import {IOracle} from '../../interfaces/IOracle.sol'; diff --git a/solidity/test/unit/Oracle.t.sol b/solidity/test/unit/Oracle.t.sol index 6034398..9a9249a 100644 --- a/solidity/test/unit/Oracle.t.sol +++ b/solidity/test/unit/Oracle.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import 'forge-std/Test.sol'; diff --git a/solidity/test/unit/OracleAccessController.t.sol b/solidity/test/unit/OracleAccessController.t.sol index 528e82f..13e5fbb 100644 --- a/solidity/test/unit/OracleAccessController.t.sol +++ b/solidity/test/unit/OracleAccessController.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import 'forge-std/Test.sol'; diff --git a/solidity/test/unit/Validator.t.sol b/solidity/test/unit/Validator.t.sol index af839f2..a3a38cf 100644 --- a/solidity/test/unit/Validator.t.sol +++ b/solidity/test/unit/Validator.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import 'forge-std/Test.sol'; diff --git a/solidity/test/unit/ValidatorLib.t.sol b/solidity/test/unit/ValidatorLib.t.sol index e45b7ca..18419a7 100644 --- a/solidity/test/unit/ValidatorLib.t.sol +++ b/solidity/test/unit/ValidatorLib.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import 'forge-std/Test.sol'; diff --git a/solidity/test/utils/Helpers.sol b/solidity/test/utils/Helpers.sol index c282ab4..03cba76 100644 --- a/solidity/test/utils/Helpers.sol +++ b/solidity/test/utils/Helpers.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IOracle} from '../../contracts/Oracle.sol'; import {IAccessController} from '../../interfaces/access/IAccessController.sol'; diff --git a/solidity/test/utils/TestConstants.sol b/solidity/test/utils/TestConstants.sol index 1628f09..69face2 100644 --- a/solidity/test/utils/TestConstants.sol +++ b/solidity/test/utils/TestConstants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.26; contract TestConstants { address public constant USDC_ADDRESS = 0x7F5c764cBc14f9669B88837ca1490cCa17c31607; diff --git a/solidity/test/utils/external/IWETH9.sol b/solidity/test/utils/external/IWETH9.sol index 9cbc425..0728697 100644 --- a/solidity/test/utils/external/IWETH9.sol +++ b/solidity/test/utils/external/IWETH9.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.19; +pragma solidity 0.8.26; import {IERC20} from './IERC20.sol';