Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# following the advice from https://github.com/direnv/direnv/wiki/.envrc-Boilerplate
# load developer's own local .env
dotenv_if_exists || direnv status # https://direnv.net/man/direnv-stdlib.1.html

# foundry to use solc.nix provided solc
export FOUNDRY_OFFLINE=true
export FOUNDRY_SOLC_VERSION=`which solc-0.8.26`

# use flake shell
# Note:
# 1. use SF_SHELL_FLAVOR to select a different superfluid development shell from the flake.
# 2. use FLAKE_OVERRIDE_NIXPKGS to use your local nixpkgs to avoid bloating nix store.
use flake .#${SF_SHELL_FLAVOR} ${FLAKE_OVERRIDE_NIXPKGS:+--override-input nixpkgs "${FLAKE_OVERRIDE_NIXPKGS}"}

# initialize submodules
if git submodule status | grep -E '^-'; then
npm run git-submodule:init
fi
4 changes: 2 additions & 2 deletions .github/workflows/call.test-ethereum-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
id: set-matrix
run: |
if [ "${{ inputs.run-coverage-tests }}" == "true" ];then
echo "matrix={\"node-version\": [22]}" >> "$GITHUB_OUTPUT"
echo "matrix={\"node-version\": [24]}" >> "$GITHUB_OUTPUT"
else
echo "matrix={\"node-version\": [18, 20, 22]}" >> "$GITHUB_OUTPUT"
echo "matrix={\"node-version\": [20, 22, 24]}" >> "$GITHUB_OUTPUT"
fi

test-ethereum-contracts:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call.test-sdk-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
id: set-matrix
run: |
if [ "${{ inputs.run-coverage-tests }}" == "true" ];then
echo "matrix={\"node-version\": [22]}" >> "$GITHUB_OUTPUT"
echo "matrix={\"node-version\": [24]}" >> "$GITHUB_OUTPUT"
else
echo "matrix={\"node-version\": [18, 20, 22]}" >> "$GITHUB_OUTPUT"
echo "matrix={\"node-version\": [20, 22, 24]}" >> "$GITHUB_OUTPUT"
fi

test-sdk-core:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/cd.packages-stable.create-release-drafts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18.x
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 24.x
registry-url: https://registry.npmjs.org/

- name: Check package versions
Expand All @@ -54,10 +54,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18.x
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 24.x
registry-url: https://registry.npmjs.org/

- name: Check package versions
Expand Down Expand Up @@ -94,10 +94,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18.x
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 24.x
registry-url: https://registry.npmjs.org/

- name: Check package versions
Expand Down Expand Up @@ -171,10 +171,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18.x
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 24.x
registry-url: https://registry.npmjs.org/

- name: Create sdk-core stable release draft
Expand All @@ -198,10 +198,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18.x
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 24.x
registry-url: https://registry.npmjs.org/

- name: Check package versions
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/daily-slack-message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18.x
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 24.x


- name: Send slack message
working-directory: tasks
run: |
npm install ethers --force
node daily-slack-bot.js
env:
env:
CI_SLACK_WEBHOOK: ${{ secrets.CI_SLACK_WEBHOOK }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
POLYGONSCAN_API_KEY: ${{ secrets.POLYGONSCAN_API_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/handler.publish-pr-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18.x
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 24.x

- name: Show context
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/handler.update-evm-contracts-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
echo github.head_ref: "$HEAD_REF"
echo github.base_ref: ${{ github.base_ref }}

- name: Use Node.js 18.x
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 24.x
cache: "yarn"

- name: Install
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ out
*.env
lerna-debug.log
lcov.info
.envrc

*.ignore.*
yarn-error.log
Expand Down
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading