Skip to content

[DOCS] tutorials: move the contract examples to 0.7 - #59

Merged
alexandrecarvalheira merged 1 commit into
mainfrom
docs/sweep-tutorials
Aug 28, 2026
Merged

[DOCS] tutorials: move the contract examples to 0.7#59
alexandrecarvalheira merged 1 commit into
mainfrom
docs/sweep-tutorials

Conversation

@alexandrecarvalheira

@alexandrecarvalheira alexandrecarvalheira commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Last content batch of the 0.7 sweep. Four of the five tutorials carried code; overview.mdx had nothing to change.

All five were already Vale-clean from #54, so this is purely API correctness.

What changed

Every InEuintXX signature becomes externalEuintXX plus the bytes proof that authenticates it, each FHE.asEuintXX call passes both, imports name the new types, and the decrypt builders move to withACP / withoutACP.

Scope

No client-side encrypt call sites exist anywhere in tutorials/, so nothing needed setConsumingContract.

Vale and lint-docs.py exit 0 on all four changed files. mint validate and mint broken-links --check-anchors --check-redirects pass.

The four tutorials with code all taught the deleted InEuintXX shape.
Every affected signature now takes externalEuintXX plus the bytes proof
that authenticates it, imports name the new types, and the decrypt
builders use withACP and withoutACP.

Three examples take two encrypted parameters and now convert them with
the plural FHE.asEuint32s form. Those inputs share one batch signature,
so converting them one at a time verifies each hash against a signature
covering both and reverts, which the old per-value shape would have done
silently at runtime.

In transfer the proof sits between the handle and the address rather than
last, following the rule that the proof immediately follows the handle it
authenticates.

No client-side encrypt call sites exist in the tutorials, so none needed
setConsumingContract. tutorials/overview.mdx had nothing to change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
fhenix 🟢 Ready View Preview Aug 28, 2026, 1:28 PM

@alexandrecarvalheira
alexandrecarvalheira merged commit b51b042 into main Aug 28, 2026
3 checks passed
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