diff --git a/contracts/DecentralizedKV.sol b/contracts/DecentralizedKV.sol index db82432..a8bc734 100644 --- a/contracts/DecentralizedKV.sol +++ b/contracts/DecentralizedKV.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol"; import "./libraries/MerkleLib.sol"; diff --git a/contracts/EthStorageContract.sol b/contracts/EthStorageContract.sol index 4e42d50..964897a 100644 --- a/contracts/EthStorageContract.sol +++ b/contracts/EthStorageContract.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "./StorageContract.sol"; import "./zk-verify/Decoder.sol"; diff --git a/contracts/EthStorageContract2.sol b/contracts/EthStorageContract2.sol index 7aa7706..39179ad 100644 --- a/contracts/EthStorageContract2.sol +++ b/contracts/EthStorageContract2.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "./EthStorageContract.sol"; import "./zk-verify/Decoder2.sol"; diff --git a/contracts/EthStorageContractL2.sol b/contracts/EthStorageContractL2.sol index 2d7ad9c..7164417 100644 --- a/contracts/EthStorageContractL2.sol +++ b/contracts/EthStorageContractL2.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "./EthStorageContract2.sol"; diff --git a/contracts/EthStorageUpgradeableProxy.sol b/contracts/EthStorageUpgradeableProxy.sol index a21b61b..fc56932 100644 --- a/contracts/EthStorageUpgradeableProxy.sol +++ b/contracts/EthStorageUpgradeableProxy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.20; +pragma solidity 0.8.28; import "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; diff --git a/contracts/Interfaces/IProxyAdmin.sol b/contracts/Interfaces/IProxyAdmin.sol index 50164e3..cd73406 100644 --- a/contracts/Interfaces/IProxyAdmin.sol +++ b/contracts/Interfaces/IProxyAdmin.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.20; +pragma solidity 0.8.28; import {ITransparentUpgradeableProxy} from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; diff --git a/contracts/Interfaces/ISemver.sol b/contracts/Interfaces/ISemver.sol index 22a5dde..f2f73d3 100644 --- a/contracts/Interfaces/ISemver.sol +++ b/contracts/Interfaces/ISemver.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; +pragma solidity 0.8.28; /// @title ISemver /// @notice ISemver is a simple contract for ensuring that contracts are diff --git a/contracts/StorageContract.sol b/contracts/StorageContract.sol index 6228135..529b00c 100644 --- a/contracts/StorageContract.sol +++ b/contracts/StorageContract.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "./DecentralizedKV.sol"; import "./libraries/MiningLib.sol"; diff --git a/contracts/libraries/BinaryRelated.sol b/contracts/libraries/BinaryRelated.sol index b5dac0f..efba112 100644 --- a/contracts/libraries/BinaryRelated.sol +++ b/contracts/libraries/BinaryRelated.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; +pragma solidity 0.8.28; library BinaryRelated { function pow(uint256 fp, uint256 n) internal pure returns (uint256) { diff --git a/contracts/libraries/MerkleLib.sol b/contracts/libraries/MerkleLib.sol index 7872332..4c63d89 100644 --- a/contracts/libraries/MerkleLib.sol +++ b/contracts/libraries/MerkleLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; +pragma solidity 0.8.28; import "./BinaryRelated.sol"; diff --git a/contracts/libraries/MiningLib.sol b/contracts/libraries/MiningLib.sol index 03795d5..78e6cfa 100644 --- a/contracts/libraries/MiningLib.sol +++ b/contracts/libraries/MiningLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; +pragma solidity 0.8.28; /// @title MiningLib /// @notice Handles mining difficulty calculation and mining info update diff --git a/contracts/libraries/RLPReader.sol b/contracts/libraries/RLPReader.sol index 3721a50..5612c51 100644 --- a/contracts/libraries/RLPReader.sol +++ b/contracts/libraries/RLPReader.sol @@ -4,7 +4,7 @@ * Please reach out with any questions or concerns * https://github.com/hamdiallam/Solidity-RLP/blob/0212f8e754471da67fc5387df7855f47f944f925/contracts/RLPReader.sol */ -pragma solidity >=0.5.10 <0.9.0; +pragma solidity 0.8.28; library RLPReader { uint8 constant STRING_SHORT_START = 0x80; diff --git a/contracts/libraries/RandaoLib.sol b/contracts/libraries/RandaoLib.sol index cf48cde..50eb48e 100644 --- a/contracts/libraries/RandaoLib.sol +++ b/contracts/libraries/RandaoLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; +pragma solidity 0.8.28; import "./RLPReader.sol"; diff --git a/contracts/test/DecentralizedKVTest.t.sol b/contracts/test/DecentralizedKVTest.t.sol index e1a0fb3..6156699 100644 --- a/contracts/test/DecentralizedKVTest.t.sol +++ b/contracts/test/DecentralizedKVTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "./TestDecentralizedKV.sol"; import "forge-std/Test.sol"; diff --git a/contracts/test/EthStorageContractL2Test.t.sol b/contracts/test/EthStorageContractL2Test.t.sol index 71d4aca..2427af8 100644 --- a/contracts/test/EthStorageContractL2Test.t.sol +++ b/contracts/test/EthStorageContractL2Test.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "forge-std/Test.sol"; import "./TestEthStorageContractL2.sol"; diff --git a/contracts/test/EthStorageContractTest.t.sol b/contracts/test/EthStorageContractTest.t.sol index fb271a0..98f978e 100644 --- a/contracts/test/EthStorageContractTest.t.sol +++ b/contracts/test/EthStorageContractTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "./TestEthStorageContract.sol"; import "forge-std/Test.sol"; diff --git a/contracts/test/StorageContractTest.t.sol b/contracts/test/StorageContractTest.t.sol index d340e87..6c37ed1 100644 --- a/contracts/test/StorageContractTest.t.sol +++ b/contracts/test/StorageContractTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "./TestStorageContract.sol"; import "../StorageContract.sol"; diff --git a/contracts/test/TestDecentralizedKV.sol b/contracts/test/TestDecentralizedKV.sol index 9a76300..513bbfa 100644 --- a/contracts/test/TestDecentralizedKV.sol +++ b/contracts/test/TestDecentralizedKV.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; +pragma solidity 0.8.28; import "../DecentralizedKV.sol"; diff --git a/contracts/test/TestEthStorageContract.sol b/contracts/test/TestEthStorageContract.sol index 0203bc0..987291b 100644 --- a/contracts/test/TestEthStorageContract.sol +++ b/contracts/test/TestEthStorageContract.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "../EthStorageContract.sol"; import "../libraries/MerkleLib.sol"; diff --git a/contracts/test/TestEthStorageContractKZG.sol b/contracts/test/TestEthStorageContractKZG.sol index 72f063e..43a0aec 100644 --- a/contracts/test/TestEthStorageContractKZG.sol +++ b/contracts/test/TestEthStorageContractKZG.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "../EthStorageContract2.sol"; diff --git a/contracts/test/TestEthStorageContractL2.sol b/contracts/test/TestEthStorageContractL2.sol index 0082378..4ef6da7 100644 --- a/contracts/test/TestEthStorageContractL2.sol +++ b/contracts/test/TestEthStorageContractL2.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "../EthStorageContractL2.sol"; diff --git a/contracts/test/TestMerkleLib.sol b/contracts/test/TestMerkleLib.sol index 7293bb9..757f33d 100644 --- a/contracts/test/TestMerkleLib.sol +++ b/contracts/test/TestMerkleLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; +pragma solidity 0.8.28; import "../libraries/MerkleLib.sol"; diff --git a/contracts/test/TestRandao.sol b/contracts/test/TestRandao.sol index 5b95f5d..841942f 100644 --- a/contracts/test/TestRandao.sol +++ b/contracts/test/TestRandao.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; +pragma solidity 0.8.28; import "../libraries/RandaoLib.sol"; diff --git a/contracts/test/TestStorageContract.sol b/contracts/test/TestStorageContract.sol index 6023dd2..6ebde3b 100644 --- a/contracts/test/TestStorageContract.sol +++ b/contracts/test/TestStorageContract.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.28; +pragma solidity 0.8.28; import "../StorageContract.sol"; diff --git a/contracts/zk-verify/Decoder.sol b/contracts/zk-verify/Decoder.sol index d54c241..2215748 100644 --- a/contracts/zk-verify/Decoder.sol +++ b/contracts/zk-verify/Decoder.sol @@ -11,7 +11,7 @@ // // // SPDX-License-Identifier: GPL-3.0 -pragma solidity ^0.8.0; +pragma solidity 0.8.28; library Pairing { struct G1Point { diff --git a/contracts/zk-verify/Decoder2.sol b/contracts/zk-verify/Decoder2.sol index ce7a42b..a8c8d01 100644 --- a/contracts/zk-verify/Decoder2.sol +++ b/contracts/zk-verify/Decoder2.sol @@ -18,7 +18,7 @@ along with snarkJS. If not, see . */ -pragma solidity >=0.7.0 <0.9.0; +pragma solidity 0.8.28; contract Decoder2 { // Scalar field size