fix: update Zama vendor file to current protocol architecture and mainnet status#180
Open
Himess wants to merge 4 commits into
Open
fix: update Zama vendor file to current protocol architecture and mainnet status#180Himess wants to merge 4 commits into
Himess wants to merge 4 commits into
Conversation
Himess
marked this pull request as ready for review
July 23, 2026 15:14
Himess
marked this pull request as draft
July 23, 2026 15:37
Himess
marked this pull request as ready for review
July 23, 2026 16:17
Himess
marked this pull request as draft
July 23, 2026 16:19
Himess
marked this pull request as ready for review
July 23, 2026 16:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What are you adding?
Description
The Zama entry described an older architecture and was still marked testnet. Rewrote it against Zama's current documentation.
Maturity.
testnet→mainnet. Ethereum mainnet is live per the litepaper roadmap.Architecture. The file said ciphertexts are persisted on-chain. In the Zama Protocol the on-chain value is a 32-byte handle and the ciphertext sits off-chain with the coprocessor (handles, coprocessor). Rewritten around symbolic execution and the five protocol components. Also replaced
concretewith TFHE-rs and@fhevm/solidity: Concrete ML is a separate product line.Pattern fits. Dropped Private L2s, since the litepaper states the protocol is "not a new L1 or L2, but rather a cross-chain confidentiality layer sitting on top of existing chains". Added Private Shared State (FHE). Marked Shielding as a partial fit, because ERC-7984 hides amounts and balances but not sender and receiver.
Risks. Added the trust assumptions the CROPS security rubric asks for: KMS threshold (13 nodes, a documented 9 of 13 example, tolerance up to one third malicious, AWS Nitro Enclaves), coprocessor majority-honest assumption, ZKPoK not yet post-quantum while FHE and MPC are, and operator pause plus the account deny list.
Strengths. Rewritten from generic claims to specific, sourced ones: public verifiability of coprocessor results, distributed key custody, the plain-Solidity developer surface, and audit status.
Additions. ERC-7984 with the OpenZeppelin confidential-contracts reference, and the ACL functions. Terminology fix "FHE encryption" → "Fully Homomorphic Encryption", one of the
check-termsfindings tracked in chore: fix content quality warnings from new guardrails #67.patterns/pattern-private-shared-state-fhe.md. The fhEVM implementation note still said testnet, and thedocs.zama.ai/fhevmlink redirects to a generic docs homepage. Both corrected. The pattern's ownmaturityfrontmatter is untouched, since that is a judgment about the pattern family rather than a fact about Zama.Notes:
npm run validateandnpm run check-termslocally. Output is unchanged exceptvendors/zama.mddropping off the check-terms list.Checklist