Skip to content

docs(midnight): add contracts-compact 0.4.x - #266

Draft
0xisk wants to merge 12 commits into
mainfrom
docs/compact-0.4.0
Draft

0xisk wants to merge 12 commits into
mainfrom
docs/compact-0.4.0

Conversation

@0xisk

@0xisk 0xisk commented Nov 4, 2026

Copy link
Copy Markdown
Member

Documentation Pull Request

Summary

Depends on #265 and #258, merge after both.

Adds the Contracts for Compact 0.4.0 page set as content/contracts-compact/0.4.x/ and makes it the latest. Every page is reconciled against the exports of each module at release/v0.4.0 (7c3ce3ee, the release content), in the same shape as the 0.3.0 pages.

Type of Change

  • New documentation
  • Documentation update/revision
  • Fix typos or grammar
  • Restructure/reorganize content
  • Add examples or tutorials
  • Update API documentation
  • Other: ___________

Related Issues

Relates to #258

Checklist

Additional Notes

  • Draft until docs(midnight): version the contracts-compact set #265 and midnight: bump docs to v0.3.0 #258 land; the diff carries their commits until then and will be force-pushed down to the 0.4.x/ addition.
  • GitHub source links point at the v0.4.0 tag, which does not exist yet; they resolve once the release is cut.
  • Where to start: 0.4.x/multisig.mdx and 0.4.x/api/multisig.mdx carry most of the change (presets are modules now, Secp256k1EcdsaMultisig, EIP-712 digests). crypto.mdx gains Ecdsa and Eip712, utils.mdx gains EvmAbi. The other pages change constraint figures and ledger descriptions only.
  • The ShieldedMultiSigV2Example.execute return value is documented as the source has it; the ShieldedTreasuryStateless._send warning about returning that result may be an upstream inconsistency worth a look.

andrew-fleming and others added 12 commits October 25, 2026 13:19
Move the 0.3.0 pages under 0.3.x/, restore main's 0.1.x pages under
0.1.x/ with their links pinned to v0.1.0, and wire the contracts-cairo
layout: landing page, latest-versions.js, Previous Versions nav, outdated
banner, search filter and Netlify passthroughs. Old flat URLs redirect to
the latest set.

Two moved pages change beyond the rename: api/utils.mdx linked the Utils
guide by absolute path and the token guides linked ../contracts/5.x, both
of which resolve inside the version folder after the move.
Copy of 0.3.x reconciled page by page against the exports of every
module at release/v0.4.0 (7c3ce3ee): new Ecdsa, Eip712, EvmAbi and
Secp256k1EcdsaMultisig modules, presets rewritten as modules with the
examples as the deployable contracts, JubjubScalar-typed ElGamal and
EcdhMask scalars, ProposalManager expiry, and every constraint figure
re-sourced from the 0.34.0 compiler.
@netlify

netlify Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for openzeppelin-docs-v2 ready!

Name Link
🔨 Latest commit e19ef23
🔍 Latest deploy log https://app.netlify.com/projects/openzeppelin-docs-v2/deploys/6aeb515d37b3f36b725874d0
😎 Deploy Preview https://deploy-preview-266--openzeppelin-docs-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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