Skip to content

Commit 969c089

Browse files
committed
refactor: upgrade sol version to 0.8.26
1 parent bd3840e commit 969c089

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

.github/workflows/multibuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
uses: "PaulRBerg/foundry-multibuild@v1"
3131
with:
3232
min: "0.8.19"
33-
max: "0.8.23"
33+
max: "0.8.26"
3434
skip-test: "true"

.github/workflows/slither.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fail-on: "none" # Required to avoid failing the CI run regardless of findings.
2828
node-version: 20
2929
sarif: "results.sarif"
30-
solc-version: "0.8.23"
30+
solc-version: "0.8.26"
3131

3232
- name: "Upload SARIF file to GitHub code scanning"
3333
uses: "github/codeql-action/upload-sarif@v2"

.solhint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "solhint:recommended",
33
"rules": {
44
"code-complexity": ["error", 8],
5-
"compiler-version": ["error", ">=0.8.23"],
5+
"compiler-version": ["error", ">=0.8.26"],
66
"contract-name-camelcase": "off",
77
"const-name-snakecase": "off",
88
"constructor-syntax": "error",

contracts/Lock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: UNLICENSED
2-
pragma solidity ^0.8.23;
2+
pragma solidity ^0.8.26;
33

44
// Uncomment this line to use console.log
55
// import "hardhat/console.sol";

foundry.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
optimizer_runs = 200
1212
out = "out"
1313
script = "scripts/foundry"
14-
solc = "0.8.23"
14+
solc = "0.8.26"
1515
src = "contracts"
1616
test = "test/foundry"
1717

hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const config: HardhatUserConfig = {
121121
solidity: {
122122
compilers: [
123123
{
124-
version: "0.8.23",
124+
version: "0.8.26",
125125
settings: {
126126
metadata: {
127127
// Not including the metadata hash

scripts/foundry/Base.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity >=0.8.23 <=0.9.0;
2+
pragma solidity >=0.8.26 <=0.9.0;
33

44
import { Script } from "forge-std/src/Script.sol";
55

scripts/foundry/DeployLock.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: UNLICENSED
2-
pragma solidity >=0.8.23;
2+
pragma solidity >=0.8.26;
33

44
import { Lock } from "contracts/Lock.sol";
55

test/foundry/Base.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: UNLICENSED
2-
pragma solidity >=0.8.23 <0.9.0;
2+
pragma solidity >=0.8.26 <0.9.0;
33

44
import { Test } from "forge-std/src/Test.sol";
55

test/foundry/fork/Fork.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: UNLICENSED
2-
pragma solidity >=0.8.23 <0.9.0;
2+
pragma solidity >=0.8.26 <0.9.0;
33

44
import { Base_Test } from "../Base.t.sol";
55

0 commit comments

Comments
 (0)