chore(compiler): bump min solidity version to 0.8.26 (#30)

Co-authored-by: Andrea Franz <andrea@gravityblast.com>
This commit is contained in:
0xb337r007 2024-08-14 11:10:39 +02:00 committed by GitHub
parent d688fae569
commit 62859398be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View File

@ -143,7 +143,7 @@ jobs:
- name: Install Solidity
run: |
wget https://github.com/ethereum/solidity/releases/download/v0.8.19/solc-static-linux
wget https://github.com/ethereum/solidity/releases/download/v0.8.26/solc-static-linux
chmod +x solc-static-linux
sudo mv solc-static-linux /usr/local/bin/solc

View File

@ -2,7 +2,7 @@
"extends": "solhint:recommended",
"rules": {
"code-complexity": ["error", 8],
"compiler-version": ["error", ">=0.8.19"],
"compiler-version": ["error", ">=0.8.26"],
"func-name-mixedcase": "off",
"func-visibility": ["error", { "ignoreConstructors": true }],
"max-line-length": ["error", 120],

View File

@ -13,7 +13,7 @@
optimizer_runs = 10_000
out = "out"
script = "script"
solc = "0.8.19"
solc = "0.8.26"
src = "src"
test = "test"

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.19 <=0.9.0;
pragma solidity >=0.8.26 <=0.9.0;
import { Script } from "forge-std/Script.sol";

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <=0.9.0;
pragma solidity >=0.8.26 <=0.9.0;
import { Foo } from "../src/Foo.sol";
import { BaseScript } from "./Base.s.sol";

View File

@ -1,6 +1,6 @@
//// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <=0.9.0;
pragma solidity >=0.8.26 <=0.9.0;
import { Script } from "forge-std/Script.sol";

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19;
pragma solidity >=0.8.26 <=0.9.0;
contract Foo {
function id(uint256 value) external pure returns (uint256) {

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <0.9.0;
pragma solidity >=0.8.26 <0.9.0;
import { Test, console } from "forge-std/Test.sol";