Skip to content

Commit 4031003

Browse files
authored
Merge pull request #5 from AztecProtocol/jc/2.0.2
Update to 2.0.2
2 parents 6967317 + 2bf24ab commit 4031003

File tree

15 files changed

+385
-3503
lines changed

15 files changed

+385
-3503
lines changed

.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONTRACT_ADDRESS=
2+
DEPLOYER_ADDRESS=
3+
DEPLOYMENT_SALT=
4+
AZTEC_NODE_URL=http://localhost:8080

.github/workflows/e2e.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,38 @@ jobs:
99
timeout-minutes: 120
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v4
1313

14-
- uses: actions/setup-node@v4
15-
with:
16-
node-version: lts/*
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: lts/*
1717

18-
- name: Set up Docker
19-
uses: docker/setup-buildx-action@v2
18+
- name: Set up Docker
19+
uses: docker/setup-buildx-action@v2
2020

21-
- name: Install Aztec CLI
22-
run: |
23-
curl -s https://install.aztec.network > tmp.sh
24-
bash tmp.sh <<< yes "yes"
21+
- name: Install Aztec CLI
22+
run: |
23+
curl -s https://install.aztec.network > tmp.sh
24+
bash tmp.sh <<< yes "yes"
2525
26-
- name: Update path
27-
run: echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
26+
- name: Update path
27+
run: echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
2828

29-
- name: Set Aztec version and start sandbox
30-
run: |
31-
aztec-up 0.87.4
32-
aztec start --sandbox &
29+
- name: Set Aztec version and start sandbox
30+
run: |
31+
aztec-up 2.0.2
32+
aztec start --sandbox &
3333
34-
- name: Install dependencies
35-
working-directory: ./app
36-
run: npm install -g yarn && yarn
34+
- name: Install dependencies
35+
working-directory: ./app
36+
run: npm install -g yarn && yarn
3737

38-
- name: Install Playwright Browsers
39-
working-directory: ./app
40-
run: yarn playwright install --with-deps
38+
- name: Install Playwright Browsers
39+
working-directory: ./app
40+
run: yarn playwright install --with-deps
4141

42-
- name: Build
43-
run: yarn build
42+
- name: Build
43+
run: yarn build
4444

45-
- name: Run tests
46-
run: yarn test
45+
- name: Run tests
46+
run: yarn test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ blob-report/
3838
playwright/.cache/
3939

4040
.env
41+
app/artifacts/

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ This is an example web app that demonstrates how to interact with an Aztec contr
1010

1111
1. Install the Aztec tools from the first few steps in [Quick Start Guide](https://docs.aztec.network/developers/getting_started).
1212

13-
Please note that this project uses `0.87.4` version of Aztec SDK. If you wish to use a different version, please update the dependencies in the `app/package.json` and in `contracts/Nargo.toml` file to match your version.
13+
Please note that this project uses `2.0.2` version of Aztec SDK. If you wish to use a different version, please update the dependencies in the `app/package.json` and in `contracts/Nargo.toml` file to match your version.
1414

1515
You can install a specific version of Aztec tools by running `aztec-up 0.X.X`
1616

17-
1817
2. Compile smart contracts in `/contracts`:
1918

2019
```sh

app/artifacts/EasyPrivateVoting.ts

Lines changed: 0 additions & 168 deletions
This file was deleted.

0 commit comments

Comments
 (0)