Skip to content

Reject trailing Halo2 proof bytes#91

Merged
czarcas7ic merged 2 commits into
mainfrom
adam/reject-trailing-proof-bytes
Jun 3, 2026
Merged

Reject trailing Halo2 proof bytes#91
czarcas7ic merged 2 commits into
mainfrom
adam/reject-trailing-proof-bytes

Conversation

@czarcas7ic

Copy link
Copy Markdown
Collaborator

Rejects Halo2 proofs that verify but leave trailing unread bytes in the transcript. This centralizes verification through a shared helper and adds a regression test proving appended proof bytes are no longer accepted.

Test plan: cargo test --manifest-path voting-circuits/Cargo.toml --workspace --no-fail-fast

@czarcas7ic czarcas7ic marked this pull request as ready for review May 24, 2026 02:38
@czarcas7ic czarcas7ic marked this pull request as draft May 24, 2026 02:41
@czarcas7ic czarcas7ic marked this pull request as ready for review May 24, 2026 02:43
@czarcas7ic czarcas7ic closed this May 24, 2026
@czarcas7ic czarcas7ic reopened this Jun 3, 2026
@czarcas7ic czarcas7ic force-pushed the adam/reject-trailing-proof-bytes branch from ac9c625 to 2ad806d Compare June 3, 2026 00:52
@czarcas7ic

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@czarcas7ic czarcas7ic merged commit 27e6475 into main Jun 3, 2026
5 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