Skip to content

Commit

Permalink
chore(compiler): bump min solidity version to 0.8.26 (#30)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Franz <[email protected]>
  • Loading branch information
0xb337r007 and gravityblast authored Aug 14, 2024
1 parent d688fae commit 6285939
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
optimizer_runs = 10_000
out = "out"
script = "script"
solc = "0.8.19"
solc = "0.8.26"
src = "src"
test = "test"

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

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

Expand Down
2 changes: 1 addition & 1 deletion src/Foo.sol
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion test/Foo.t.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down

0 comments on commit 6285939

Please sign in to comment.