fix: update schnorr lib to v0.2.0 and remove remaining is_infinite field usages#22414
Merged
TomAFrench merged 1 commit intobump-noirfrom Apr 8, 2026
Merged
fix: update schnorr lib to v0.2.0 and remove remaining is_infinite field usages#22414TomAFrench merged 1 commit intobump-noirfrom
TomAFrench merged 1 commit intobump-noirfrom
Conversation
- Bump schnorr library from v0.1.3 to v0.2.0 (v0.1.3 uses the removed EmbeddedCurvePoint.is_infinite field) - Remove is_infinite field from Point struct literal in schnorr_hardcoded_account_contract - Remove is_infinite field from Point struct literals in avm_test_contract
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes remaining noir-contracts compilation failures on PR #22393 (Noir nightly 2026-04-08).
The Noir nightly removed the
is_infinitefield fromEmbeddedCurvePoint, making it a 2-field struct{ x, y }withis_infinite()as a computed method.Changes:
schnorrlibrary from v0.1.3 to v0.2.0 in both schnorr account contracts. v0.1.3 constructsEmbeddedCurvePoint { x, y, is_infinite }which no longer compiles. v0.2.0 (released today) uses the new 2-field struct.is_infinite: falsefromPointstruct literal inschnorr_hardcoded_account_contractis_infinite: falsefromPointstruct literals inavm_test_contractClaudeBox log: https://claudebox.work/s/0ef46c61b9801d30?run=2