Skip to content

chore: translator fixes#22983

Merged
iakovenkos merged 18 commits into
merge-train/barretenbergfrom
si/k-shifts-return
May 11, 2026
Merged

chore: translator fixes#22983
iakovenkos merged 18 commits into
merge-train/barretenbergfrom
si/k-shifts-return

Conversation

@iakovenkos

@iakovenkos iakovenkos commented May 6, 2026

Copy link
Copy Markdown
Contributor

.

@iakovenkos iakovenkos changed the title chore: k shifts resurrection chore: translator fixes May 6, 2026
// contribute zero and are simply not emitted.
std::array<FFType, NUM_CONCATENATED_POLYS> result;
size_t group_idx = 0;
#define ACCUMULATE_REF(name) \

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this honestly. I'd prefer verbose + a foolproof test or using constexpr templates

@ludamad

ludamad commented May 6, 2026

Copy link
Copy Markdown
Collaborator

Not a big fan of the macros here. I'd really just prefer a standalone typescript file (the best scripting format we have available, IMO, node can just run it these days with no compilation) to generate the code, and to checkin the generated code

@ludamad ludamad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving for now after discussion about delaying longer term plans of code gen

@federicobarbacovi federicobarbacovi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

@iakovenkos iakovenkos enabled auto-merge (squash) May 11, 2026 11:54
@iakovenkos iakovenkos merged commit d414a0c into merge-train/barretenberg May 11, 2026
14 checks passed
@iakovenkos iakovenkos deleted the si/k-shifts-return branch May 11, 2026 11:58
rangozd pushed a commit to rangozd/aztec-packages that referenced this pull request May 16, 2026
BEGIN_COMMIT_OVERRIDE
chore: circuit to polys cleanup (AztecProtocol#23013)
chore: translator fixes (AztecProtocol#22983)
chore: cycle group defense in depth (AztecProtocol#23118)
chore: add a shplemini failure test (AztecProtocol#23147)
feat: multi-app kernel circuits (AztecProtocol#23076)
chore(dsl): require MemOp index and value to be witnesses (AztecProtocol#23171)
chore: Fix merge-train conflicts (AztecProtocol#23173)
chore: Merge next into merge-train/barretenberg (AztecProtocol#23191)
fix: Fix conflicts next vs merge-train/barretenberg (AztecProtocol#23194)
chore: poly audit followup (AztecProtocol#23053)
chore: shrink msm test size while maintaining coverage (AztecProtocol#23226)
END_COMMIT_OVERRIDE
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.

3 participants