-
Notifications
You must be signed in to change notification settings - Fork 88
build(ci)!: move the solidity toolchain to Node 24 #4205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| FROM node:22.23.1-alpine | ||
| FROM node:24.11.1-alpine | ||
|
|
||
| RUN apk add --update --no-cache \ | ||
| git \ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,7 +78,7 @@ | |
| "@threshold-network/solidity-contracts": "1.3.0-dev.14" | ||
| }, | ||
| "engines": { | ||
| "node": ">=22.0.0" | ||
| "node": ">=24.0.0" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win Synchronize the lockfile with the new engine contract.
🤖 Prompt for AI Agents |
||
| }, | ||
| "resolutions": { | ||
| "ethereumjs-abi": "npm:0.6.8", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| FROM node:22.23.1-alpine | ||
| FROM node:24.11.1-alpine | ||
|
|
||
| RUN apk add --update --no-cache \ | ||
| git \ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
Use a non-root runtime user in both Hardhat images.
Both Dockerfiles omit
USER, so their Hardhat entrypoints run asroot. Chown$WORK_DIRafter copying the project, then setUSER nodebefore the entrypoint.solidity/ecdsa/Dockerfile#L1-L1: add the ownership change andUSER node.solidity/random-beacon/Dockerfile#L1-L1: add the same ownership change andUSER node.🧰 Tools
🪛 Trivy (0.72.0)
[error] 1-1: Image user should not be 'root'
Specify at least 1 USER command in Dockerfile with non-root user as argument
Rule: DS-0002
Learn more
(IaC/Dockerfile)
[error] 1-1: Image user should not be 'root'
Specify at least 1 USER command in Dockerfile with non-root user as argument
Rule: DS-0002
Learn more
(IaC/Dockerfile)
📍 Affects 2 files
solidity/ecdsa/Dockerfile#L1-L1(this comment)solidity/random-beacon/Dockerfile#L1-L1🤖 Prompt for AI Agents
Source: Linters/SAST tools