Skip to content

Commit 8b14ac1

Browse files
hellwolfdependabot[bot]kasparkallas
authored
Update flake inputs to the latest nixpkgs and use node 20,22,24 (#2064)
* include customizable .envrc * update to the latest nixpkgs * use node 20,22,24 * fix lint issues * use node 24 by default * fix hot-fuzz tests * upgrade graph-cli graph-ts pacakgs * use @graphprotocol/graph-cli: 0.97.0 * use immutable: false * Bump undici from 5.28.4 to 5.29.0 (#2067) * Update handler.list-super-token.yml (#2062) * Bump undici from 5.28.4 to 5.29.0 Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.29.0. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v5.28.4...v5.29.0) --- updated-dependencies: - dependency-name: undici dependency-version: 5.29.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Miao ZhiCheng <miao@superfluid.finance> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump tar-fs from 1.16.3 to 1.16.4 (#2063) Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 1.16.3 to 1.16.4. - [Commits](mafintosh/tar-fs@v1.16.3...v1.16.4) --- updated-dependencies: - dependency-name: tar-fs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @babel/helpers from 7.21.0 to 7.26.10 (#2059) Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.21.0 to 7.26.10. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-helpers) --- updated-dependencies: - dependency-name: "@babel/helpers" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump base-x from 3.0.9 to 3.0.11 (#2066) Bumps [base-x](https://github.com/cryptocoinjs/base-x) from 3.0.9 to 3.0.11. - [Commits](cryptocoinjs/base-x@v3.0.9...v3.0.11) --- updated-dependencies: - dependency-name: base-x dependency-version: 3.0.11 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kaspar Kallas <git@kasparkallas.com>
1 parent a7cedef commit 8b14ac1

File tree

17 files changed

+1346
-1119
lines changed

17 files changed

+1346
-1119
lines changed

.envrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# following the advice from https://github.com/direnv/direnv/wiki/.envrc-Boilerplate
2+
# load developer's own local .env
3+
dotenv_if_exists || direnv status # https://direnv.net/man/direnv-stdlib.1.html
4+
5+
# foundry to use solc.nix provided solc
6+
export FOUNDRY_OFFLINE=true
7+
export FOUNDRY_SOLC_VERSION=`which solc-0.8.26`
8+
9+
# use flake shell
10+
# Note:
11+
# 1. use SF_SHELL_FLAVOR to select a different superfluid development shell from the flake.
12+
# 2. use FLAKE_OVERRIDE_NIXPKGS to use your local nixpkgs to avoid bloating nix store.
13+
use flake .#${SF_SHELL_FLAVOR} ${FLAKE_OVERRIDE_NIXPKGS:+--override-input nixpkgs "${FLAKE_OVERRIDE_NIXPKGS}"}
14+
15+
# initialize submodules
16+
if git submodule status | grep -E '^-'; then
17+
npm run git-submodule:init
18+
fi

.github/workflows/call.test-ethereum-contracts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
id: set-matrix
2727
run: |
2828
if [ "${{ inputs.run-coverage-tests }}" == "true" ];then
29-
echo "matrix={\"node-version\": [22]}" >> "$GITHUB_OUTPUT"
29+
echo "matrix={\"node-version\": [24]}" >> "$GITHUB_OUTPUT"
3030
else
31-
echo "matrix={\"node-version\": [18, 20, 22]}" >> "$GITHUB_OUTPUT"
31+
echo "matrix={\"node-version\": [20, 22, 24]}" >> "$GITHUB_OUTPUT"
3232
fi
3333
3434
test-ethereum-contracts:

.github/workflows/call.test-sdk-core.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
id: set-matrix
3030
run: |
3131
if [ "${{ inputs.run-coverage-tests }}" == "true" ];then
32-
echo "matrix={\"node-version\": [22]}" >> "$GITHUB_OUTPUT"
32+
echo "matrix={\"node-version\": [24]}" >> "$GITHUB_OUTPUT"
3333
else
34-
echo "matrix={\"node-version\": [18, 20, 22]}" >> "$GITHUB_OUTPUT"
34+
echo "matrix={\"node-version\": [20, 22, 24]}" >> "$GITHUB_OUTPUT"
3535
fi
3636
3737
test-sdk-core:

.github/workflows/cd.packages-stable.create-release-drafts.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626

27-
- name: Use Node.js 18.x
27+
- name: Use Node.js 24.x
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: 18.x
30+
node-version: 24.x
3131
registry-url: https://registry.npmjs.org/
3232

3333
- name: Check package versions
@@ -54,10 +54,10 @@ jobs:
5454
steps:
5555
- uses: actions/checkout@v4
5656

57-
- name: Use Node.js 18.x
57+
- name: Use Node.js 24.x
5858
uses: actions/setup-node@v4
5959
with:
60-
node-version: 18.x
60+
node-version: 24.x
6161
registry-url: https://registry.npmjs.org/
6262

6363
- name: Check package versions
@@ -94,10 +94,10 @@ jobs:
9494
steps:
9595
- uses: actions/checkout@v4
9696

97-
- name: Use Node.js 18.x
97+
- name: Use Node.js 24.x
9898
uses: actions/setup-node@v4
9999
with:
100-
node-version: 18.x
100+
node-version: 24.x
101101
registry-url: https://registry.npmjs.org/
102102

103103
- name: Check package versions
@@ -171,10 +171,10 @@ jobs:
171171
steps:
172172
- uses: actions/checkout@v4
173173

174-
- name: Use Node.js 18.x
174+
- name: Use Node.js 24.x
175175
uses: actions/setup-node@v4
176176
with:
177-
node-version: 18.x
177+
node-version: 24.x
178178
registry-url: https://registry.npmjs.org/
179179

180180
- name: Create sdk-core stable release draft
@@ -198,10 +198,10 @@ jobs:
198198
steps:
199199
- uses: actions/checkout@v4
200200

201-
- name: Use Node.js 18.x
201+
- name: Use Node.js 24.x
202202
uses: actions/setup-node@v4
203203
with:
204-
node-version: 18.x
204+
node-version: 24.x
205205
registry-url: https://registry.npmjs.org/
206206

207207
- name: Check package versions

.github/workflows/daily-slack-message.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14-
- name: Use Node.js 18.x
14+
- name: Use Node.js 24.x
1515
uses: actions/setup-node@v4
1616
with:
17-
node-version: 18.x
18-
17+
node-version: 24.x
18+
1919

2020
- name: Send slack message
2121
working-directory: tasks
2222
run: |
2323
npm install ethers --force
2424
node daily-slack-bot.js
25-
env:
25+
env:
2626
CI_SLACK_WEBHOOK: ${{ secrets.CI_SLACK_WEBHOOK }}
2727
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
2828
POLYGONSCAN_API_KEY: ${{ secrets.POLYGONSCAN_API_KEY }}

.github/workflows/handler.publish-pr-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22-
- name: Use Node.js 18.x
22+
- name: Use Node.js 24.x
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 18.x
25+
node-version: 24.x
2626

2727
- name: Show context
2828
env:

.github/workflows/handler.update-evm-contracts-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
echo github.head_ref: "$HEAD_REF"
2424
echo github.base_ref: ${{ github.base_ref }}
2525
26-
- name: Use Node.js 18.x
26+
- name: Use Node.js 24.x
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: 18.x
29+
node-version: 24.x
3030
cache: "yarn"
3131

3232
- name: Install

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ out
1616
*.env
1717
lerna-debug.log
1818
lcov.info
19-
.envrc
2019

2120
*.ignore.*
2221
yarn-error.log

flake.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)