Skip to content

build: repin to noir-zk 0.3.3, eid-circuits v0.8.2 and zk-encryption v0.1.3 - #1

Merged
tonyvelichko merged 2 commits into
mainfrom
build/repin-noir-zk-0.3.3
Oct 1, 2026
Merged

tonyvelichko merged 2 commits into
mainfrom
build/repin-noir-zk-0.3.3

Conversation

@tonyvelichko

Copy link
Copy Markdown
Contributor

The coordinated repin, all three pinned exactly together:

pins.toml: versions, catalogs and their SHA-256, the kernels family root, the pipeline and deployment roots (deployment 0x26c8ef80…9bf5). This repository's layers are unchanged (freeze --check with noir-zk 0.3.3: 3 circuits match; their Noir library deps moved to the same tags with identical bytecode).

Measured (scripts/demo.sh, Apple M5 Max; peak memory with /usr/bin/time -l):

step before after Δ
register, US passport (RSA-4096 → RSA-2048) 1.83–1.89 s 1.67–1.68 s −9 to −11 %
register, DE passport (brainpool) 3.85–4.05 s 3.86–3.87 s ≈ 0
deposit / transfer / split / merge / withdraw 1.35–1.49 s 1.26–1.27 s −6 to −15 %
peak memory (transfer, US registration · DE registration) 1.00 · 1.38 GB 1.00 · 1.39 GB ≈ 0

Gas is unchanged (one ZK_VERIFY per transaction).

Checked: pins (zkpool info --check, the remote catalogs), Noir tests (16), Foundry (19), cargo test, fmt, clippy, the holder-binding proof, the devnet test, scripts/demo.sh.

…v0.1.3

The coordinated repin: the three pinned exactly together.
- noir-zk 0.3.3: the kernels take each verification key's hash as a witness (bb constrains it),
  hash each Merkle level once; new keys and kernels family root.
- eid-circuits v0.8.2: RSA steps with a 2-bit windowed exponentiation (since v0.8.1).
- zk-encryption v0.1.3: the session 6% smaller (since v0.1.2), frozen as zk-encryption@0.1.3.
pins.toml: the versions, the catalogs and their SHA-256, the kernels family root, the pipeline and
deployment roots. This repository's layers are unchanged (freeze --check with noir-zk 0.3.3: 3
circuits match, also with their Noir libraries moved to the same tags).

Measured (scripts/demo.sh): registration 1.89 -> 1.68 s (US, RSA) and 4.05 -> 3.86 s (DE),
transactions 1.43-1.49 -> 1.26-1.27 s; gas unchanged. README updated.
@tonyvelichko
tonyvelichko merged commit 9efcad5 into main Oct 1, 2026
5 checks passed
@tonyvelichko
tonyvelichko deleted the build/repin-noir-zk-0.3.3 branch October 1, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant