Skip to content

Commit

Permalink
build: upgrade to Solidity v0.8.25
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Apr 5, 2024
1 parent 0272adf commit d9554ea
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 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.23"],
"compiler-version": ["error", ">=0.8.25"],
"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.23"
solc = "0.8.25"
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.23 <0.9.0;
pragma solidity >=0.8.25 <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.23 <0.9.0;
pragma solidity >=0.8.25 <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.23;
pragma solidity >=0.8.25;

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.23 <0.9.0;
pragma solidity >=0.8.25 <0.9.0;

import { PRBTest } from "@prb/test/src/PRBTest.sol";
import { console2 } from "forge-std/src/console2.sol";
Expand Down

0 comments on commit d9554ea

Please sign in to comment.