Skip to content

fix(faq): correct Aztec privacy-model classification - #50

Closed
arunimshukla wants to merge 1 commit into
ethsystems:mainfrom
arunimshukla:fix/faq-aztec-state-model
Closed

arunimshukla wants to merge 1 commit into
ethsystems:mainfrom
arunimshukla:fix/faq-aztec-state-model

Conversation

@arunimshukla

Copy link
Copy Markdown
Contributor

What I found

I found that the “UTXO vs account model” FAQ groups Aztec under account-based privacy. Aztec instead uses a hybrid model: private state uses UTXO-style notes, commitments and nullifiers, while public contract state is separate and transparent.

I verified the distinction against Aztec’s official documentation:

What I changed

I corrected the two-paragraph answer to describe Aztec’s hybrid architecture. I also qualified the FHE comparison as applying to some FHE-based confidential-token designs, which retain an account-style balance model through encrypted mappings.

The answer now frames the choice around threat model, composability, trust assumptions and deployment environment.

The diff contains only the FAQ answer and its focused regression test.

Reproduction

On unpatched main (91c6c257), the regression fails because the answer contains Account-based privacy (Aztec, FHE-based) and does not describe Aztec’s private state as note-based. The same test passes with this patch.

Verification

I validated both revisions using the same pinned content submodule, facbe021.

  • npm ci — passed
  • npm run build:graph — passed; 154 nodes, 1,042 edges and 74 glossary terms
  • npm test — 63/63 tests passed
  • npm run lint:refs — passed
  • npm run build — passed
  • git diff --check — passed
  • Generated FAQ HTML contains the corrected explanation and no longer contains the old classification
  • npm run check — identical baseline diagnostics: 63 existing errors, 0 warnings and 160 hints; no new diagnostics

The branch is one commit ahead and zero behind the verified upstream base.

rymnc pushed a commit that referenced this pull request Oct 14, 2026
Mirror of [#50](#50)
by @arunimshukla, with original commit authorship preserved
([5f2c35d](5f2c35d)).

Corrects the "UTXO vs account model" FAQ: Aztec uses a hybrid model
(private state is UTXO-style notes, commitments and nullifiers; public
contract state is separate and transparent), not account-based privacy.
The FHE comparison now applies to "some FHE-based confidential-token
designs".

Sources cited in the original PR:
-
https://docs.aztec.network/developers/docs/foundational-topics/state_management
-
https://docs.aztec.network/developers/docs/aztec-nr/framework-description/state_variables

Excludes `tests/faq-content.test.ts` from the original PR, as requested.

Prompted by: @rymnc

Co-authored-by: Arunim Shukla <54760103+arunimshukla@users.noreply.github.com>
@rymnc

rymnc commented Oct 14, 2026

Copy link
Copy Markdown
Member

thank you for your contribution! included on main in 638a7a1

@rymnc rymnc closed this Oct 14, 2026
rymnc pushed a commit that referenced this pull request Dec 1, 2026
Someone on Chrome/Android reported that the animation in the formal
verification writeup never shows. Figure 2 ("No double spend") just sits
there faded.

The cause is the IntersectionObserver in `[slug].astro`. It waits until
50% of the SVG is on screen. But on screens up to 640px, figure 2 is
800px wide inside a `.figure-scroll` box, so a phone can only ever show
40 to 49% of it. The observer never fires, and the figure stays paused
at 12% opacity. iPhone Safari seems to measure without clipping to the
scroll box, which is probably why it worked there.

The fix watches the `.figure-scroll` box when there is one, and still
puts `in-view` on the SVG. Figures without a scroll box work as before.

I tested it in headless Chromium against the dev server, scrolling the
figure into view:

| Viewport | Before (live site) | After |
|---|---|---|
| 360px | stuck at 12% | plays |
| 412px | stuck at 12% | plays |
| 430px | stuck at 12% | plays |
| 1280px | plays | plays |

It still waits while the figure is off screen, and reduced motion still
shows the figure static at full opacity. I couldn't test on a real
Android phone, so a quick check on one after deploy would be good.
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.

2 participants