Skip to content

chore(port): forward-port v5-next secp256r1 soundness fix to next#24936

Merged
AztecBot merged 5 commits into
nextfrom
port-v5-bb-secp256r1
Jul 24, 2026
Merged

chore(port): forward-port v5-next secp256r1 soundness fix to next#24936
AztecBot merged 5 commits into
nextfrom
port-v5-bb-secp256r1

Conversation

@PhilWindle

Copy link
Copy Markdown
Collaborator

Forward-ports the barretenberg secp256r1 unique-lookup-index soundness fix to next — missed by the initial area-bucketed sweep because its PR-numbered wrapper (#24842) is a merge commit and its content commits carry no (#N) suffix (they arrived via merge PR #647), so both the --no-merges and (#N) filters dropped them.

Applied (clean cherry-picks, chronological)

  • c6ab912228 fix(bb): assign unique secp256r1 lookup table indices
  • 3a53c977e4 test(bb): generalize lookup table-index invariant across all tables
  • f013e4497f comment cleanup

Corresponds to v5-next #24842. Part of the manual v5-next → next backlog sweep.

AztecBot and others added 3 commits July 23, 2026 11:52
Replace the secp256r1-specific unique/positive table_index test with one
that sweeps every basic table reachable through any MultiTable. The
LogDeriv relation identifies a table solely by table_index, so this guards
against any generator (not just secp256r1 fixed-base) storing a window or
bit-slice position in place of the builder-assigned index.

(cherry picked from commit 3a53c97)
(cherry picked from commit f013e44)
@PhilWindle
PhilWindle marked this pull request as ready for review July 24, 2026 11:06
@iakovenkos iakovenkos added the claudebox Owned by claudebox. it can push to this PR. label Jul 24, 2026
@PhilWindle
PhilWindle enabled auto-merge July 24, 2026 13:34
@PhilWindle
PhilWindle added this pull request to the merge queue Jul 24, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 24, 2026
@PhilWindle
PhilWindle added this pull request to the merge queue Jul 24, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 24, 2026
@AztecBot
AztecBot merged commit e34759f into next Jul 24, 2026
24 checks passed
@AztecBot
AztecBot deleted the port-v5-bb-secp256r1 branch July 24, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. ci-no-squash claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants