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 verify_signature #123

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

TomAFrench
Copy link
Member

@TomAFrench TomAFrench commented Apr 18, 2023

This PR simplifies the verify_signature function so that it returns a boolean for whether the signature was valid or not rather than the field element which will be assigned to a witness as a result of this.

This translation is now done in solve_black_box_func_call.

@TomAFrench TomAFrench requested a review from phated April 18, 2023 13:48
@TomAFrench TomAFrench changed the title feat: return boolean rather than FieldElement from verify_signature feat!: return boolean rather than FieldElement from verify_signature Apr 18, 2023
Copy link
Contributor

@jfecher jfecher left a comment

Choose a reason for hiding this comment

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

👍

@TomAFrench TomAFrench enabled auto-merge April 18, 2023 14:10
@TomAFrench TomAFrench added this pull request to the merge queue Apr 18, 2023
Merged via the queue into master with commit e560602 Apr 18, 2023
@TomAFrench TomAFrench deleted the bool-verification-result branch April 18, 2023 15:49
TomAFrench added a commit that referenced this pull request Apr 18, 2023
* master:
  feat!: return boolean rather than `FieldElement` from `verify_signature` (#123)
@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