Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

feat: return boolean rather than FieldElement from check_membership #124

Merged
merged 2 commits into from
Apr 18, 2023

Conversation

TomAFrench
Copy link
Member

Similar to #123 but for a different method.

@TomAFrench TomAFrench requested a review from phated April 18, 2023 14:09
@TomAFrench TomAFrench changed the title feat: return boolean rather than FieldElement from check_membership feat: return boolean rather than FieldElement from check_membership Apr 18, 2023
Copy link
Contributor

@phated phated left a comment

Choose a reason for hiding this comment

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

These get cleaned up even further with 0.9.1 of ACVM, right?

@TomAFrench
Copy link
Member Author

It'll be 0.10.0 (release-please didn't seem to pick up there's a breaking change the first time) but yes, we'll replace the if-else with FieldElement::from(valid_proof)

@TomAFrench TomAFrench enabled auto-merge April 18, 2023 15:13
@TomAFrench TomAFrench added this pull request to the merge queue Apr 18, 2023
Merged via the queue into master with commit a0a338e Apr 18, 2023
@TomAFrench TomAFrench deleted the bool-membership-result branch April 18, 2023 16:09
TomAFrench added a commit that referenced this pull request Apr 18, 2023
* master:
  feat: return boolean rather than `FieldElement` from `check_membership` (#124)
@github-actions github-actions bot mentioned this pull request May 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants