Skip to content

Commit

Permalink
build: use solc v0.8.23
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Dec 19, 2023
1 parent 2fbc24e commit 9aa8251
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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.21"],
"compiler-version": ["error", ">=0.8.23"],
"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 @@ -11,7 +11,7 @@
optimizer_runs = 10_000
out = "out"
script = "script"
solc = "0.8.21"
solc = "0.8.23"
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.21 <0.9.0;
pragma solidity >=0.8.23 <0.9.0;

import { Script } from "forge-std/src/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.21 <0.9.0;
pragma solidity >=0.8.23 <0.9.0;

import { Foo } from "../src/Foo.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.21;
pragma solidity >=0.8.23;

contract Foo {
function id(uint256 value) external pure returns (uint256) {
Expand Down

0 comments on commit 9aa8251

Please sign in to comment.