diff --git a/.github/workflows/contracts-ecdsa.yml b/.github/workflows/contracts-ecdsa.yml index b3c4ecd237..8f51955187 100644 --- a/.github/workflows/contracts-ecdsa.yml +++ b/.github/workflows/contracts-ecdsa.yml @@ -55,7 +55,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" - uses: ./.github/actions/install-yarn-deps with: @@ -81,7 +81,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" - uses: actions/setup-python@v4 with: @@ -123,7 +123,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" - uses: ./.github/actions/install-yarn-deps with: @@ -150,7 +150,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" - uses: ./.github/actions/install-yarn-deps with: @@ -183,7 +183,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" registry-url: "https://registry.npmjs.org" - uses: ./.github/actions/install-yarn-deps @@ -283,7 +283,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" registry-url: "https://registry.npmjs.org" - uses: ./.github/actions/install-yarn-deps diff --git a/.github/workflows/contracts-random-beacon.yml b/.github/workflows/contracts-random-beacon.yml index a7be8c6eab..d26528ae02 100644 --- a/.github/workflows/contracts-random-beacon.yml +++ b/.github/workflows/contracts-random-beacon.yml @@ -55,7 +55,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" - uses: ./.github/actions/install-yarn-deps with: @@ -81,7 +81,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" - uses: actions/setup-python@v4 with: @@ -121,7 +121,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" - uses: ./.github/actions/install-yarn-deps with: @@ -148,7 +148,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" - uses: ./.github/actions/install-yarn-deps with: @@ -181,7 +181,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" registry-url: "https://registry.npmjs.org" - uses: ./.github/actions/install-yarn-deps @@ -279,7 +279,7 @@ jobs: # Using fixed version, because 18.16 was sometimes causing issues with # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877 - node-version: "18.15.0" + node-version: "24.11.1" registry-url: "https://registry.npmjs.org" - uses: ./.github/actions/install-yarn-deps diff --git a/.github/workflows/npm-ecdsa.yml b/.github/workflows/npm-ecdsa.yml index f069ce2ba7..c1db4a1a76 100644 --- a/.github/workflows/npm-ecdsa.yml +++ b/.github/workflows/npm-ecdsa.yml @@ -28,7 +28,7 @@ jobs: # Using fixed version, because 18.16 may cause issues with the # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877. - node-version: "18.15.0" + node-version: "24.11.1" registry-url: "https://registry.npmjs.org" - uses: ./.github/actions/install-yarn-deps diff --git a/.github/workflows/npm-random-beacon.yml b/.github/workflows/npm-random-beacon.yml index c7a342f009..15c8b0abe3 100644 --- a/.github/workflows/npm-random-beacon.yml +++ b/.github/workflows/npm-random-beacon.yml @@ -28,7 +28,7 @@ jobs: # Using fixed version, because 18.16 may cause issues with the # artifacts generation during `hardhat compile` - see # https://github.com/NomicFoundation/hardhat/issues/3877. - node-version: "18.15.0" + node-version: "24.11.1" registry-url: "https://registry.npmjs.org" - uses: ./.github/actions/setup-git-for-yarn diff --git a/.github/workflows/reusable-solidity-docs.yml b/.github/workflows/reusable-solidity-docs.yml index 0771fcc522..b287e3c86c 100644 --- a/.github/workflows/reusable-solidity-docs.yml +++ b/.github/workflows/reusable-solidity-docs.yml @@ -125,7 +125,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: "18.15.0" + node-version: "24.11.1" - uses: ./.github/actions/install-yarn-deps with: diff --git a/solidity/ecdsa/Dockerfile b/solidity/ecdsa/Dockerfile index 086cd4c59a..bfe4b9f96d 100644 --- a/solidity/ecdsa/Dockerfile +++ b/solidity/ecdsa/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:24.11.1-alpine RUN apk add --update --no-cache \ git \ diff --git a/solidity/ecdsa/package.json b/solidity/ecdsa/package.json index e158cefc9b..223effe15f 100644 --- a/solidity/ecdsa/package.json +++ b/solidity/ecdsa/package.json @@ -78,7 +78,7 @@ "@threshold-network/solidity-contracts": "1.3.0-dev.14" }, "engines": { - "node": ">=18.15.0" + "node": ">=24.0.0" }, "resolutions": { "ethereumjs-abi": "npm:0.6.8", diff --git a/solidity/random-beacon/Dockerfile b/solidity/random-beacon/Dockerfile index 164191215d..b6e2d95dcd 100644 --- a/solidity/random-beacon/Dockerfile +++ b/solidity/random-beacon/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:24.11.1-alpine RUN apk add --update --no-cache \ git \ diff --git a/solidity/random-beacon/package.json b/solidity/random-beacon/package.json index e0df667812..090c15fc08 100644 --- a/solidity/random-beacon/package.json +++ b/solidity/random-beacon/package.json @@ -73,7 +73,7 @@ "typescript": "^4.4.3" }, "engines": { - "node": ">=18.15.0" + "node": ">=24.0.0" }, "resolutions": { "ethereumjs-abi": "npm:0.6.8"