Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
20dce9f
updated to next
Thunkar Jan 22, 2026
d099541
new sdk
Thunkar Jan 23, 2026
6e4f9a2
fixes
Thunkar Jan 23, 2026
62e503d
cleaner
Thunkar Jan 23, 2026
987b45a
updates
Thunkar Jan 23, 2026
c5efd74
fixes
Thunkar Jan 23, 2026
460ee4e
Merge pull request #4 from AztecProtocol/gj/sdk_improvements
Thunkar Jan 26, 2026
db875aa
update
Thunkar Jan 27, 2026
c6f43c6
refactor
Thunkar Jan 27, 2026
2153a9e
better
Thunkar Jan 27, 2026
ab2fd61
reducers
Thunkar Jan 27, 2026
771c538
finished refactor
Thunkar Jan 27, 2026
91f9b46
Merge pull request #5 from AztecProtocol/gj/refactor
Thunkar Jan 29, 2026
5af1955
capabilities support
Thunkar Jan 29, 2026
35580cd
latest nightly
Thunkar Feb 2, 2026
dd1a3b3
read version from package.json
Thunkar Feb 2, 2026
618e969
deployments
Thunkar Feb 2, 2026
1551bdf
try another domain
Thunkar Feb 2, 2026
2e378ea
install correct version
Thunkar Feb 2, 2026
af604ad
test
Thunkar Feb 2, 2026
143ba69
fix
Thunkar Feb 2, 2026
6f6df1f
fix
Thunkar Feb 2, 2026
7ff4194
fix
Thunkar Feb 2, 2026
cd4a483
fix
Thunkar Feb 2, 2026
0728269
fix
Thunkar Feb 2, 2026
d87dd90
fix
Thunkar Feb 2, 2026
7dce041
fix
Thunkar Feb 2, 2026
5bfa659
fix
Thunkar Feb 2, 2026
a9ec82b
fix
Thunkar Feb 2, 2026
bbe07ea
fix
Thunkar Feb 2, 2026
a566e5b
fix
Thunkar Feb 2, 2026
9b60920
fix
Thunkar Feb 2, 2026
441573e
fix
Thunkar Feb 2, 2026
5d9ca97
fix
Thunkar Feb 2, 2026
542c48c
fix
Thunkar Feb 2, 2026
628f619
fix
Thunkar Feb 2, 2026
fcbb6ed
nightly update
Thunkar Feb 3, 2026
431b96f
debug
Thunkar Feb 3, 2026
b044f93
headers
Thunkar Feb 3, 2026
0378696
removed debug logging
Thunkar Feb 3, 2026
03081b9
updated
Thunkar Feb 4, 2026
5c30447
Merge pull request #6 from AztecProtocol/gj/capabilities
Thunkar Feb 4, 2026
496f89d
update script
Thunkar Feb 6, 2026
5b38389
update script
Thunkar Feb 6, 2026
d7d3e3a
update devnet
Thunkar Feb 11, 2026
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
31 changes: 23 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- main
- next
workflow_dispatch:

env:
Expand All @@ -27,25 +28,35 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
node-version: '24'

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: yarn install --immutable

- name: Extract Aztec version
id: aztec-version
run: |
VERSION=$(jq -r '.dependencies["@aztec/aztec.js"]' package.json)
VERSION_NO_V=${VERSION#v}
echo "version=$VERSION_NO_V" >> $GITHUB_OUTPUT
echo "Aztec version: $VERSION_NO_V"

- name: Install Aztec CLI
run: |
curl -s https://install.aztec.network > tmp.sh
bash tmp.sh <<< yes "yes"
export CI=1
export FOUNDRY_DIR="$HOME/.foundry"
echo "Running version-specific installer for ${{ steps.aztec-version.outputs.version }}..."
curl -fsSL "https://install.aztec.network/${{ steps.aztec-version.outputs.version }}/install" | VERSION="${{ steps.aztec-version.outputs.version }}" bash
echo "Installation completed"
ls -la ~/.aztec/versions/${{ steps.aztec-version.outputs.version }}/bin/

- name: Update path
run: echo "/home/runner/.aztec/bin" >> $GITHUB_PATH

- name: Set Aztec version
run: |
aztec-up ${{ vars.VERSION }}
echo "$HOME/.aztec/versions/${{ steps.aztec-version.outputs.version }}/bin" >> $GITHUB_PATH
echo "$HOME/.aztec/versions/${{ steps.aztec-version.outputs.version }}/node_modules/.bin" >> $GITHUB_PATH

- name: Compile contracts
run: yarn compile:contracts
Expand All @@ -59,7 +70,11 @@ jobs:
- name: Deploy to Vercel
id: deploy
run: |
DEPLOY_URL=$(vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }} --archive=tgz --yes)
if [ "${{ github.event_name }}" == "push" ] && [ "${{ github.ref }}" == "refs/heads/main" ]; then
DEPLOY_URL=$(vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }} --archive=tgz --yes)
else
DEPLOY_URL=$(vercel deploy --token=${{ secrets.VERCEL_TOKEN }} --archive=tgz --yes)
fi
echo "url=$DEPLOY_URL" >> $GITHUB_OUTPUT

- name: Comment deployment URL on PR
Expand Down
88 changes: 88 additions & 0 deletions .github/workflows/update-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Update to Latest Nightly

on:
schedule:
# Run daily at 6 AM UTC (after nextnet deploys at 5 AM)
- cron: '0 6 * * *'
workflow_dispatch:
inputs:
version:
description: 'Nightly version (e.g., 4.0.0-nightly.20260206)'
required: false
type: string
deploy:
description: 'Deploy to nextnet after update'
required: false
type: boolean
default: false

permissions:
contents: write
pull-requests: write

jobs:
update-nightly:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/next'

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: next

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '24'

- name: Enable Corepack
run: corepack enable

- name: Run update script
env:
PASSWORD: ${{ secrets.PASSWORD }}
CI: 1
run: |
ARGS=""

if [ -n "${{ inputs.version }}" ]; then
ARGS="$ARGS --version ${{ inputs.version }}"
fi

if [ "${{ inputs.deploy }}" == "true" ]; then
ARGS="$ARGS --deploy"
fi

node scripts/update-to-nightly.js $ARGS

- name: Update PATH
run: |
VERSION=$(node -e "const p = JSON.parse(require('fs').readFileSync('package.json','utf-8')); console.log(p.dependencies['@aztec/aztec.js'].replace(/^v/,''))")
echo "$HOME/.aztec/versions/${VERSION}/bin" >> $GITHUB_PATH
echo "$HOME/.aztec/versions/${VERSION}/node_modules/.bin" >> $GITHUB_PATH

- name: Get updated version
id: version
run: |
VERSION=$(node -e "const p = JSON.parse(require('fs').readFileSync('package.json','utf-8')); console.log(p.dependencies['@aztec/aztec.js'])")
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: "chore: update to ${{ steps.version.outputs.version }}"
title: "chore: update to ${{ steps.version.outputs.version }}"
body: |
Automated update to Aztec nightly version ${{ steps.version.outputs.version }}

**Changes:**
- Updated all @aztec/* dependencies in package.json
- Updated Nargo.toml files with new tag
- Updated README.md references
- Compiled contracts with new version

**Note:** This PR was created automatically by the update-nightly workflow.
branch: automated-nightly-update-${{ steps.version.outputs.version }}
delete-branch: true
base: next
Loading