Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: Make MOD_BITS generic to work with nargo 0.36 #35

Closed
wants to merge 6 commits into from

Conversation

sirasistant
Copy link
Contributor

@sirasistant sirasistant commented Oct 22, 2024

Description

Problem*

After nargo 0.36, assert_max_bit_size needs bit_size to be a generic. This PR modifies noir-bignum to have the bits of the modulus as a generic to be able to compute max bit size with arithmetic on generics.

Summary*

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@sirasistant sirasistant changed the title fix: Make MOD_BITS generic (worse version) fix: Make MOD_BITS generic to work with nargo 0.36 Oct 25, 2024
@sirasistant sirasistant changed the title fix: Make MOD_BITS generic to work with nargo 0.36 fix!: Make MOD_BITS generic to work with nargo 0.36 Oct 25, 2024
@sirasistant sirasistant marked this pull request as ready for review October 25, 2024 10:01
@sirasistant sirasistant requested a review from kashbrti October 25, 2024 10:04
@TomAFrench TomAFrench closed this Nov 8, 2024
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