Repository navigation
Pin the circuit toolchain and document proving flags (audit N-01, N-05) - #788
Conversation
Nargo requirements cannot name prereleases, so =1.0.0 is the tightest expressible bound; the manifest comments carry the exact supported nargo + bb versions. Adds a provisional proving recipe to vks/README.md.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (15)
WalkthroughThe circuit manifests now pin the Nargo compiler to ChangesCircuit toolchain and proving flow
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #788 +/- ##
=======================================
Coverage 96.56% 96.56%
=======================================
Files 71 71
Lines 7346 7346
=======================================
Hits 7094 7094
Misses 252 252 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Fixes #781 (audit findings N-01 and N-05).
N-01: All 14 circuit manifests declared
compiler_version = ">=0.30.0", which newer nargo releases satisfy and then fail to build against (changed stdlib APIs). Nargo requirement strings cannot name prerelease versions (=1.0.0-beta.11is rejected with "Requirements may only refer to full releases"), so the exact pin the audit suggests is not expressible. This PR uses the tightest expressible bound,=1.0.0(nargo's gate ignores prerelease tags, so1.0.0-beta.11satisfies it while0.xand1.0.1+are rejected), and adds a manifest comment stating the exact supported toolchain (nargo 1.0.0-beta.11+bb 0.87.0) with a pointer to the CI pin in.github/workflows/noir.yml.N-05: Adds a provisional Proving section to
vks/README.mddocumenting the non-default flags a proof must be generated with to match the verifier (--oracle_hash keccak, no--zk), explicitly marked to be finalized together with the unfinished UltraHonk backend.Validated locally:
nargo compile --workspacepasses under the pinned1.0.0-beta.11.🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
Chores