Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock compiler version to 0.8.28 #120

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/DecentralizedKV.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion contracts/EthStorageContract.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion contracts/EthStorageContract2.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion contracts/EthStorageContractL2.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
pragma solidity 0.8.28;

import "./EthStorageContract2.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/EthStorageUpgradeableProxy.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion contracts/Interfaces/IProxyAdmin.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion contracts/Interfaces/ISemver.sol
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion contracts/StorageContract.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion contracts/libraries/BinaryRelated.sol
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion contracts/libraries/MerkleLib.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma solidity 0.8.28;

import "./BinaryRelated.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/libraries/MiningLib.sol
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion contracts/libraries/RLPReader.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion contracts/libraries/RandaoLib.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma solidity 0.8.28;

import "./RLPReader.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/DecentralizedKVTest.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/EthStorageContractL2Test.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/EthStorageContractTest.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/StorageContractTest.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.28;
pragma solidity 0.8.28;

import "./TestStorageContract.sol";
import "../StorageContract.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestDecentralizedKV.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma solidity 0.8.28;

import "../DecentralizedKV.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestEthStorageContract.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestEthStorageContractKZG.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
pragma solidity 0.8.28;

import "../EthStorageContract2.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestEthStorageContractL2.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
pragma solidity 0.8.28;

import "../EthStorageContractL2.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestMerkleLib.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma solidity 0.8.28;

import "../libraries/MerkleLib.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestRandao.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma solidity 0.8.28;

import "../libraries/RandaoLib.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestStorageContract.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
pragma solidity 0.8.28;

import "../StorageContract.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/zk-verify/Decoder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//
//
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
pragma solidity 0.8.28;

library Pairing {
struct G1Point {
Expand Down
2 changes: 1 addition & 1 deletion contracts/zk-verify/Decoder2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
along with snarkJS. If not, see <https://www.gnu.org/licenses/>.
*/

pragma solidity >=0.7.0 <0.9.0;
pragma solidity 0.8.28;

contract Decoder2 {
// Scalar field size
Expand Down
Loading