-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ensuring translator range constraint polynomials are zeroes outs…
…ide of minicircuit (#9251) When Translator was built, there was expectation on using ZM's degree checks for minicircuit polynomials later. ZM is dead, so we have to enforce those in another way so there is no soundness issue during polynomial concatenation. This PR adds relations to ensure range_constraint polynomials are zero outside of minicircuit ClientIVC before: ![image](https://github.com/user-attachments/assets/6299f04b-41de-4f41-90e4-45e49bf42470) ClientIVC after: ![image](https://github.com/user-attachments/assets/5b0c8677-ee3f-4195-898e-892ef38e9eef) Fixes AztecProtocol/barretenberg#1128
- Loading branch information
Showing
6 changed files
with
719 additions
and
4 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
barretenberg/cpp/src/barretenberg/relations/translator_vm/translator_extra_relations.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
#include "barretenberg/relations/translator_vm/translator_extra_relations.hpp" | ||
#include "barretenberg/relations/translator_vm/translator_extra_relations_impl.hpp" | ||
#include "barretenberg/translator_vm/translator_flavor.hpp" | ||
namespace bb { | ||
template class TranslatorOpcodeConstraintRelationImpl<fr>; | ||
template class TranslatorAccumulatorTransferRelationImpl<fr>; | ||
template class TranslatorZeroConstraintsRelationImpl<fr>; | ||
|
||
DEFINE_ZK_SUMCHECK_RELATION_CLASS(TranslatorOpcodeConstraintRelationImpl, TranslatorFlavor); | ||
DEFINE_ZK_SUMCHECK_RELATION_CLASS(TranslatorAccumulatorTransferRelationImpl, TranslatorFlavor); | ||
DEFINE_ZK_SUMCHECK_RELATION_CLASS(TranslatorZeroConstraintsRelationImpl, TranslatorFlavor); | ||
} // namespace bb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.