Skip to content

feat(Barretenberg): acir<->bb tool: CHONK opcode + small ones - #25013

Open
DanielKotov wants to merge 45 commits into
merge-train/barretenbergfrom
dk/acir_recursion_constraints
Open

feat(Barretenberg): acir<->bb tool: CHONK opcode + small ones#25013
DanielKotov wants to merge 45 commits into
merge-train/barretenbergfrom
dk/acir_recursion_constraints

Conversation

@DanielKotov

Copy link
Copy Markdown
Contributor

This PR contains validation of ACIR BB opcodes (sha256, logic, poseidon2s for Ultra case, quad/big quad) + CHONK recursion. There were created AI skills how to make autonomous validation for other opcodes.

Strip dead hypernova dispatch from graph_description_acir (HN family
files were removed from this dir independently of the merge), keeping
HN_RECURSION only in the exhaustive ACIR-shape witness-collection
switch it shares with HONK/AVM/CHONK. Add per-builder-type poseidon2
block accessors in poseidon2s_helpers.hpp for Mega's poseidon2_external/
poseidon2_internal block merge, and repoint every direct block access
in recursion_constraints_helper.hpp through them.

CHONK validator re-verified clean after the merge: 12/12 tests pass,
zero fingerprint drift.
Bring newer intake/orchestrator/review skill text (and acir-constraint-
fingerprint tweak) onto dk/acir_recursion_constraints so the HONK stack
base matches the working skill set used during HONK development.
Previous skills commit had unrelated plan.md deletions already staged
in the index; put them back.
@DanielKotov
DanielKotov requested a review from iakovenkos July 27, 2026 17:17
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