Skip to content

Commit 7a50a48

Browse files
committed
build: update deps
build: remove submodules and use node.js dependencies
1 parent f57e2ba commit 7a50a48

File tree

9 files changed

+446
-146
lines changed

9 files changed

+446
-146
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: "actions/setup-node@v3"
3030
with:
3131
cache: "yarn"
32-
node-version: 18
32+
node-version: 20
3333

3434
- name: "Install the Node.js dependencies"
3535
run: "yarn install --immutable --inline-builds"
@@ -59,7 +59,7 @@ jobs:
5959
uses: "actions/setup-node@v3"
6060
with:
6161
cache: "yarn"
62-
node-version: 18
62+
node-version: 20
6363

6464
- name: "Install the Node.js dependencies"
6565
run: "yarn install --immutable --inline-builds"

.github/workflows/multibuild.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: "actions/setup-node@v3"
2222
with:
2323
cache: "yarn"
24-
node-version: 18
24+
node-version: 20
2525

2626
- name: "Install the Node.js dependencies"
2727
run: "yarn install --immutable --inline-builds"

.github/workflows/slither.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
id: "slither" # Required to reference this step in the next step.
2626
with:
2727
fail-on: "none" # Required to avoid failing the CI run regardless of findings.
28-
node-version: 18
28+
node-version: 20
2929
sarif: "results.sarif"
3030
solc-version: "0.8.23"
3131

.gitmodules

-4
This file was deleted.

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18
1+
v20

foundry.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
auto_detect_solc = false
55
bytecode_hash = "none"
66
cbor_metadata = false
7-
evm_version = "paris" # See https://www.evmdiff.com/features?name=PUSH0&kind=opcode
7+
evm_version = "paris" # See https://www.evmdiff.com/features?name=PUSH0&kind=opcode
88
gas_reports = ["*"]
9-
libs = ["node_modules", "lib"]
9+
libs = ["node_modules"]
1010
optimizer = true
1111
optimizer_runs = 200
1212
out = "out"

lib/forge-std

-1
This file was deleted.

package.json

+11-10
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"devDependencies": {
3333
"@ethersproject/bignumber": "^5.7.0",
34-
"@nomicfoundation/hardhat-chai-matchers": "^2.0.4",
34+
"@nomicfoundation/hardhat-chai-matchers": "^2.0.5",
3535
"@nomicfoundation/hardhat-ethers": "^3.0.5",
3636
"@nomicfoundation/hardhat-foundry": "^1.1.1",
3737
"@nomicfoundation/hardhat-network-helpers": "^1.0.10",
@@ -44,31 +44,32 @@
4444
"@types/chai": "^4.3.11",
4545
"@types/fs-extra": "^11.0.4",
4646
"@types/mocha": "^10.0.6",
47-
"@types/node": "^20.11.13",
48-
"@typescript-eslint/eslint-plugin": "^6.20.0",
49-
"@typescript-eslint/parser": "^6.20.0",
47+
"@types/node": "^20.11.17",
48+
"@typescript-eslint/eslint-plugin": "^6.21.0",
49+
"@typescript-eslint/parser": "^6.21.0",
5050
"chai": "4.4.1",
5151
"chalk": "4.1.2",
5252
"cross-env": "^7.0.3",
53-
"dotenv": "^16.4.1",
53+
"dotenv": "^16.4.4",
5454
"eslint": "^8.56.0",
5555
"eslint-config-prettier": "^9.1.0",
56-
"ethers": "6.10.0",
56+
"ethers": "6.11.0",
5757
"evm-bn": "^1.1.2",
58+
"forge-std": "github:foundry-rs/forge-std#v1.7.5",
5859
"fs-extra": "^11.2.0",
59-
"hardhat": "2.19.5",
60+
"hardhat": "2.20.0",
6061
"hardhat-contract-sizer": "2.10.0",
6162
"hardhat-deploy": "^0.11.45",
6263
"hardhat-deploy-ethers": "^0.4.1",
6364
"hardhat-gas-reporter": "1.0.10",
6465
"hardhat-preprocessor": "^0.1.5",
6566
"hardhat-test-suite-generator": "^2.0.0",
6667
"lodash": "^4.17.21",
67-
"mocha": "^10.2.0",
68-
"prettier": "^3.2.4",
68+
"mocha": "^10.3.0",
69+
"prettier": "^3.2.5",
6970
"shx": "0.3.4",
7071
"solhint-community": "^3.7.0",
71-
"solidity-coverage": "0.8.6",
72+
"solidity-coverage": "0.8.7",
7273
"ts-generator": "^0.1.1",
7374
"ts-node": "^10.9.2",
7475
"typechain": "^8.3.2",

0 commit comments

Comments
 (0)