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(eddsa-poseidon): Check size of the message parameter #347

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hannahredler
Copy link
Contributor

@hannahredler hannahredler commented Oct 24, 2024

Description

Checks the message parameter, to ensure it doesn't exceed 32 bytes, as this is required for poseidon.

Related Issue(s)

#190

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have run yarn style without getting any errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Copy link
Member

@cedoor cedoor left a comment

Choose a reason for hiding this comment

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

Hey @hannahredler, thanks for this PR. I just realized it's better to wait for #318 before merging this.

@hannahredler
Copy link
Contributor Author

Hey @cedoor ah yes i just saw the other PR. Happy to adjust this PR as necessary once the other is finished.

@cedoor
Copy link
Member

cedoor commented Oct 25, 2024

Hey @cedoor ah yes i just saw the other PR. Happy to adjust this PR as necessary once the other is finished.

Great, thank you!

Copy link
Collaborator

@0xDatapunk 0xDatapunk left a comment

Choose a reason for hiding this comment

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

looks good to me

Copy link
Collaborator

@0xDatapunk 0xDatapunk left a comment

Choose a reason for hiding this comment

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

looks good to me

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.

3 participants