Skip to content

Commit

Permalink
chore(compiler): bump min solidity version to 0.8.26
Browse files Browse the repository at this point in the history
  • Loading branch information
0xb337r007 committed Jul 4, 2024
1 parent d688fae commit 9c08724
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
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 9c08724

Please sign in to comment.