Skip to content

Commit c563bfa

Browse files
authored
Merge pull request #32 from AztecProtocol/update-examples-to-v4.2.0-aztecnr-rc.2
Update examples to Aztec v4.2.0-aztecnr-rc.2
2 parents 5555175 + d3b917d commit c563bfa

39 files changed

+2539
-2605
lines changed

.github/workflows/note-send-proof-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
env:
2020
AZTEC_ENV: local-network
21-
AZTEC_VERSION: 4.1.0-rc.2
21+
AZTEC_VERSION: 4.2.0-aztecnr-rc.2
2222

2323
steps:
2424
- name: Checkout repository

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
env:
2020
AZTEC_ENV: local-network
21-
AZTEC_VERSION: 4.1.0-rc.2
21+
AZTEC_VERSION: 4.2.0-aztecnr-rc.2
2222

2323
steps:
2424
- name: Checkout repository

.github/workflows/recursive-verification-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
env:
2020
AZTEC_ENV: local-network
21-
AZTEC_VERSION: 4.1.0-rc.2
21+
AZTEC_VERSION: 4.2.0-aztecnr-rc.2
2222

2323
steps:
2424
- name: Checkout repository

.github/workflows/test-wallet-webapp-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Test Wallet Webapp Tests
1818
runs-on: ubuntu-latest
1919
env:
20-
AZTEC_VERSION: 4.1.0-rc.2
20+
AZTEC_VERSION: 4.2.0-aztecnr-rc.2
2121

2222
steps:
2323
- name: Checkout repository

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ aztec-examples/
5252
bash -i <(curl -s https://install.aztec.network)
5353

5454
# Set specific version (examples may require different versions)
55-
aztec-up 4.1.0-rc.2 # For recursive_verification
55+
aztec-up 4.2.0-aztecnr-rc.2 # For recursive_verification
5656
```
5757

5858
### Building Contracts
@@ -260,7 +260,7 @@ easy_private_state = { git = "https://github.com/AztecProtocol/aztec-packages/",
260260

261261
**Version Compatibility**: All examples use the same Aztec version:
262262

263-
- All examples: v4.1.0-rc.2
263+
- All examples: v4.2.0-aztecnr-rc.2
264264

265265
### JavaScript/TypeScript Dependencies
266266

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can find additional examples in the Aztec monorepo [docs examples folder](ht
1616

1717
### 1. [Recursive Verification](./recursive_verification)
1818

19-
**Aztec Version**: 4.1.0-rc.2
19+
**Aztec Version**: 4.2.0-aztecnr-rc.2
2020

2121
Demonstrates how to verify Noir circuit proofs within Aztec smart contracts using the UltraHonk proving system. This example showcases:
2222

@@ -43,7 +43,7 @@ Demonstrates how to verify Noir circuit proofs within Aztec smart contracts usin
4343
bash -i <(curl -s https://install.aztec.network)
4444

4545
# Set specific Aztec version (if needed)
46-
aztec-up 4.1.0-rc.2
46+
aztec-up 4.2.0-aztecnr-rc.2
4747
```
4848

4949
## Development Workflow

account-contract/Nargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ compiler_version = ">=1.0.0"
55
type = "contract"
66

77
[dependencies]
8-
aztec = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v4.1.0-rc.2", directory = "aztec" }
8+
aztec = { git = "https://github.com/AztecProtocol/aztec-nr/", tag = "v4.2.0-aztecnr-rc.2", directory = "aztec" }

account-contract/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,25 +172,25 @@ When implementing custom account contracts in Aztec, be aware of these critical
172172

173173
## Aztec Version Compatibility
174174

175-
This example is compatible with **Aztec v4.1.0-rc.2**.
175+
This example is compatible with **Aztec v4.2.0-aztecnr-rc.2**.
176176

177177
To set this version:
178178

179179
```bash
180-
aztec-up 4.1.0-rc.2
180+
aztec-up 4.2.0-aztecnr-rc.2
181181
```
182182

183183
## Dependencies
184184

185185
### Noir Dependencies
186186

187-
- **aztec**: v4.1.0-rc.2
187+
- **aztec**: v4.2.0-aztecnr-rc.2
188188

189189
### TypeScript Dependencies
190190

191-
- **@aztec/aztec.js**: 4.1.0-rc.2
192-
- **@aztec/accounts**: 4.1.0-rc.2
193-
- **@aztec/stdlib**: 4.1.0-rc.2
191+
- **@aztec/aztec.js**: 4.2.0-aztecnr-rc.2
192+
- **@aztec/accounts**: 4.2.0-aztecnr-rc.2
193+
- **@aztec/stdlib**: 4.2.0-aztecnr-rc.2
194194
- **@aztec/entrypoints**: Included in aztec.js
195195

196196
## Project Structure

account-contract/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
"typescript": "^5.0.0"
1313
},
1414
"dependencies": {
15-
"@aztec/accounts": "4.1.0-rc.2",
16-
"@aztec/aztec.js": "4.1.0-rc.2",
17-
"@aztec/foundation": "4.1.0-rc.2",
18-
"@aztec/noir-contracts.js": "4.1.0-rc.2",
19-
"@aztec/stdlib": "4.1.0-rc.2",
20-
"@aztec/wallets": "4.1.0-rc.2",
15+
"@aztec/accounts": "4.2.0-aztecnr-rc.2",
16+
"@aztec/aztec.js": "4.2.0-aztecnr-rc.2",
17+
"@aztec/foundation": "4.2.0-aztecnr-rc.2",
18+
"@aztec/noir-contracts.js": "4.2.0-aztecnr-rc.2",
19+
"@aztec/stdlib": "4.2.0-aztecnr-rc.2",
20+
"@aztec/wallets": "4.2.0-aztecnr-rc.2",
2121
"tsx": "^4.20.6"
2222
}
2323
}

account-contract/ts/deploy-account-contract.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { AztecAddress } from '@aztec/aztec.js/addresses';
2+
import { NO_FROM } from '@aztec/aztec.js/account';
23
import { Fr } from '@aztec/aztec.js/fields';
34
import { SponsoredFeePaymentMethod } from '@aztec/aztec.js/fee';
45
import { Contract, DeployMethod, type DeployOptions } from '@aztec/aztec.js/contracts';
@@ -26,7 +27,7 @@ const deployAccountOpts: DeployOptions = {
2627
skipClassPublication: false,
2728
skipInstancePublication: false,
2829
skipInitialization: false,
29-
from: AztecAddress.ZERO,
30+
from: NO_FROM,
3031
fee: {
3132
paymentMethod: new SponsoredFeePaymentMethod(
3233
(await getSponsoredPFCContract()).address

0 commit comments

Comments
 (0)