Skip to content

fix: translator audit fixes#22242

Merged
suyash67 merged 10 commits into
merge-train/barretenbergfrom
sb/translator-fixes
Apr 2, 2026
Merged

fix: translator audit fixes#22242
suyash67 merged 10 commits into
merge-train/barretenbergfrom
sb/translator-fixes

Conversation

@suyash67

@suyash67 suyash67 commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Fixes/updates addressing findings from translator audit.

suyash67 added 8 commits April 1, 2026 19:23
…ransferRelation

Replace L_real_last with L_last_in_minicircuit in subrelations 1-8 to match the code.
Add BB_ASSERT to guard against overflow exceeding SORTED_STEPS_COUNT per group in ordered polynomial construction.
Add compute_negative_modulus_limbs<FF>() on TranslatorCircuitBuilder and
use it from the relation impl instead of independently recomputing.
@suyash67 suyash67 force-pushed the sb/translator-fixes branch from f572c54 to 0ebc136 Compare April 1, 2026 19:31
suyash67 added 2 commits April 1, 2026 19:41
Ensures infinity points are consistently mapped to (0,0) in witness
generation, matching the accumulator precomputation code path.
Add missing z_perm to the polynomial listing. The original count of 91
was missing the grand product polynomial used by the permutation argument.
@suyash67 suyash67 force-pushed the sb/translator-fixes branch from 0ebc136 to cd93ed3 Compare April 1, 2026 19:42
@suyash67 suyash67 requested a review from iakovenkos April 1, 2026 19:43
}
}
}

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 adding this check!

@iakovenkos iakovenkos 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.

everything looks good!

@suyash67 suyash67 merged commit 8233d2c into merge-train/barretenberg Apr 2, 2026
14 checks passed
@suyash67 suyash67 deleted the sb/translator-fixes branch April 2, 2026 11:06
github-merge-queue Bot pushed a commit that referenced this pull request Apr 2, 2026
BEGIN_COMMIT_OVERRIDE
fix: verify accumulated pairing points in native ChonkVerifier (#22224)
chore: enable _GLIBCXX_DEBUG in debug build presets (#22218)
feat: add --memory_profile_out flag for Chonk memory profiling (#22145)
fix: disable max capacity test in debug + tiny gate separator
improvements (#22215)
fix: WASM build for memory_profile.cpp (#22231)
fix: translator audit fixes (#22242)
fix: remove constexpr from functions using std::vector for
_GLIBCXX_DEBUG compat (#22239)
fix: pippenger edge case (#22256)
fix: avoid dereferencing past-the-end vector iterators in serialize.hpp
(#22261)
chore: crypto primitives external audit response 0 (#22263)
feat: switch memory profiling from peak RSS to live heap usage (#22266)
fix: replace UB end-iterator dereference in serialize.hpp (#22262)
fix: catch exceptions in ChonkBatchVerifier::batch_check (#22270)
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.

2 participants