Skip to content

v2.1 audit fixes - #6

Merged
Dami904 merged 1 commit into
mainfrom
v2.1-audit-fixes
Nov 13, 2026
Merged

Dami904 merged 1 commit into
mainfrom
v2.1-audit-fixes

Conversation

@Dami904

@Dami904 Dami904 commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Fixes from the reliability and DX audits of v2.1. No contract or enclave change (tests.rs is not part of the deployed source); the site gets a stricter Verify check and clearer allowlist wording.

  • The earlier enclave build is accepted only for the rounds it ran (up to round 2), so a downgrade can't pass as genuine.
  • The allowlist is described as limiting paid reads; LIMITATIONS covers the auditor route, takeovers and the read-in-flight case.
  • 4 new contract tests (228 total), the reproduce step hardened, API_NOTES pinned by guardrails, stale doc numbers fixed.

… allowlist wording; more tests; CI hardening

- The site accepts a run of the earlier (exact) enclave only for rounds up to 2,
  so a switch back to it can't pass the Verify check; an exact copy of a later
  round shows a warning.
- The allowlist limits paid reads, not who sees a result: the panel text and
  LIMITATIONS say so (auditors a fund names read free; takeovers keep the list;
  a reader removed mid-read still gets that copy).
- Contract tests: every proposal kind keeps its borsh tag, the reader keys are
  their own, readers beside a full round, an auditor's free read on a limited
  panel, a stale RemoveReader (228 tests).
- CI: the enclave reproduce step checks the build's exit and a 64-char hash, and
  guardrails also pin the enclave hash in API_NOTES.
- Docs: enclave test count, v2.1 arithmetic, V2_DESIGN status.
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nema Ready Ready Preview Nov 13, 2026 9:48am UTC

@Dami904
Dami904 merged commit 364abd1 into main Nov 13, 2026
12 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