You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade recursive verification to Aztec v3.0.0-devnet.20251212
- Update all @aztec/* dependencies to 3.0.0-devnet.20251212
- Use bb_proof_verification::verify_honk_proof for proof verification
- Store vk_hash in PublicImmutable storage during initialization
- Read vk_hash from storage in increment function (per PR #18)
- Update proof size to 508 fields, VK size remains 115 fields
- Use PublicMutable for counters instead of EasyPrivateUint
- Update storage access pattern: self.storage.x
- Update enqueue pattern: self.enqueue_self.func()
- Use #[only_self] for public functions callable only by contract
- Fix registerContract API: use positional params (instance, artifact)
- Fix bb.js API: use deflattenFields for proof conversion
- Update README, CLAUDE.md, and EXPLAINER.md documentation
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Copy file name to clipboardExpand all lines: recursive_verification/CLAUDE.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
4
4
5
5
## Project Overview
6
6
7
-
This is an Aztec-Noir project that demonstrates proof verification in Aztec contracts. It uses Aztec version 3.0.0-devnet.4 to verify Noir proofs within smart contracts on the Aztec network.
7
+
This is an Aztec-Noir project that demonstrates proof verification in Aztec contracts. It uses Aztec version 3.0.0-devnet.20251212 to verify Noir proofs within smart contracts on the Aztec network.
8
8
9
9
The project consists of:
10
10
@@ -67,11 +67,12 @@ bun recursion
67
67
### Contract (`contract/`)
68
68
69
69
-**`src/main.nr`**: Aztec smart contract with:
70
-
-`initialize()`: Sets up counter with initial value for an owner
71
-
-`increment()`: Verifies a Noir proof and increments the counter
70
+
-`constructor()`: Sets up counter with initial value for an owner and stores the VK hash
71
+
-`increment()`: Verifies a Noir proof (reads VK hash from storage) and increments the counter
72
72
-`get_counter()`: Reads current counter value for an owner
73
-
- Uses Honk proof verification (457 field elements for proof, 115 for verification key)
74
-
- Stores private counters using `EasyPrivateUint` from Aztec-nr libraries
73
+
- Uses `bb_proof_verification::verify_honk_proof` for proof verification (508 field elements for proof, 115 for verification key)
74
+
- Stores VK hash in `PublicImmutable` storage (readable from private context)
75
+
- Stores public counters per user using `PublicMutable` from Aztec-nr libraries
0 commit comments