Skip to content

Commit 848e3ff

Browse files
critesjoshclaude
andcommitted
Fix CI: Update workflow to use local-network instead of sandbox
The sandbox terminology was replaced with local-network in recent Aztec updates. The workflow was failing because it was using the old aztec start --sandbox command. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 2458528 commit 848e3ff

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/prediction-market-tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Prediction Market Tests
1818
runs-on: ubuntu-latest
1919
env:
20-
AZTEC_ENV: sandbox
20+
AZTEC_ENV: local-network
2121
AZTEC_VERSION: 3.0.0-devnet.20251212
2222

2323
steps:
@@ -46,23 +46,23 @@ jobs:
4646
- name: Update path
4747
run: echo "$HOME/.aztec/bin" >> $GITHUB_PATH
4848

49-
- name: Set Aztec version and start sandbox
49+
- name: Set Aztec version and start local network
5050
run: |
5151
aztec-up ${{ env.AZTEC_VERSION }}
5252
docker tag aztecprotocol/aztec:${{ env.AZTEC_VERSION }} aztecprotocol/aztec:latest
53-
aztec start --sandbox &
53+
aztec start --local-network &
5454
55-
- name: Wait for sandbox to be ready
55+
- name: Wait for local network to be ready
5656
run: |
57-
echo "Waiting for sandbox to start..."
57+
echo "Waiting for local network to start..."
5858
MAX_RETRIES=60
5959
for i in $(seq 1 $MAX_RETRIES); do
6060
if curl -s http://localhost:8080/status >/dev/null 2>&1; then
61-
echo "Sandbox is ready!"
61+
echo "✅ Local network is ready!"
6262
break
6363
fi
6464
if [ $i -eq $MAX_RETRIES ]; then
65-
echo "Sandbox failed to start after $MAX_RETRIES attempts"
65+
echo "❌ Local network failed to start after $MAX_RETRIES attempts"
6666
exit 1
6767
fi
6868
echo "Waiting... ($i/$MAX_RETRIES)"
@@ -101,7 +101,7 @@ jobs:
101101
- name: Cleanup
102102
if: always()
103103
run: |
104-
echo "Stopping Aztec sandbox..."
104+
echo "Stopping Aztec local network..."
105105
pkill -f "aztec" || true
106106
docker stop $(docker ps -q) || true
107107
docker rm $(docker ps -a -q) || true

0 commit comments

Comments
 (0)