Skip to content

chore: cycle group 13#18200

Merged
ledwards2225 merged 6 commits intomerge-train/barretenbergfrom
lde/cycle-group-13
Nov 7, 2025
Merged

chore: cycle group 13#18200
ledwards2225 merged 6 commits intomerge-train/barretenbergfrom
lde/cycle-group-13

Conversation

@ledwards2225
Copy link
Contributor

@ledwards2225 ledwards2225 commented Nov 4, 2025

Minor safety/docs updates to cycle_scalar, no logic changes

  • Add "unsafe" syntax to validate_split_in_field_unsafe to highlight that it only does what it claims when range constraints are applied on the lo/hi limbs (as is done when a cycle_scalar is used in batch_mul)
  • Make limbs _lo, _hi private members
  • Remove skip_validation bool from constructor; public constructor just always does it, option to not is private/internal use only

@ledwards2225 ledwards2225 marked this pull request as ready for review November 4, 2025 21:48
@ledwards2225 ledwards2225 requested a review from suyash67 November 5, 2025 17:00
const field_t<Builder>& hi,
const size_t lo_bits,
const uint256_t& field_modulus);
void validate_split_in_field_unsafe(const field_t<Builder>& lo,
Copy link
Contributor

Choose a reason for hiding this comment

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

nice, love the _unsafe usage here.

ledwards2225 and others added 2 commits November 7, 2025 07:22
Co-authored-by: Suyash Bagad <suyash@aztecprotocol.com>
Co-authored-by: Suyash Bagad <suyash@aztecprotocol.com>
@ledwards2225 ledwards2225 merged commit 7640d2c into merge-train/barretenberg Nov 7, 2025
6 checks passed
@ledwards2225 ledwards2225 deleted the lde/cycle-group-13 branch November 7, 2025 17:45
github-merge-queue bot pushed a commit that referenced this pull request Nov 7, 2025
BEGIN_COMMIT_OVERRIDE
chore: remove more pg references and leftovers (#18260)
refactor: Migrate --update_inputs flag to --vk_policy option (#18237)
chore: stdlib byte_array and bool external audit fixes (#17838)
chore: update naming in bb_proof_verification lib (#18269)
chore: cycle group 13 (#18200)
chore: universal handling for coord constancy in cycle_group (#18253)
END_COMMIT_OVERRIDE
ludamad pushed a commit that referenced this pull request Dec 16, 2025
Minor safety/docs updates to `cycle_scalar`, no logic changes
- Add "unsafe" syntax to `validate_split_in_field_unsafe` to highlight
that it only does what it claims when range constraints are applied on
the lo/hi limbs (as is done when a cycle_scalar is used in batch_mul)
- Make limbs `_lo`, `_hi` private members
- Remove `skip_validation` bool from constructor; public constructor
just always does it, option to not is private/internal use only

---------

Co-authored-by: Suyash Bagad <suyash@aztecprotocol.com>
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