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

Pedersen hash #12

Merged
merged 39 commits into from
Nov 7, 2023
Merged

Pedersen hash #12

merged 39 commits into from
Nov 7, 2023

Conversation

pefontana
Copy link
Collaborator

@pefontana pefontana commented Oct 27, 2023

Pedersen hash

  • Create the StarkHash trait
  • Create the Pedersen struct that implements the StarkHash trait
  • Update README.md

Please add the labels corresponding to the type of changes your PR introduces:

  • Feature

Does this introduce a breaking change?

No

Copy link
Collaborator

@0xLucqs 0xLucqs left a comment

Choose a reason for hiding this comment

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

I think we should have a hash trait so that we can swap between poseidon and pedersen easily in libs/projects

@pefontana pefontana marked this pull request as ready for review November 1, 2023 18:52
@pefontana
Copy link
Collaborator Author

I think we should have a hash trait so that we can swap between poseidon and pedersen easily in libs/projects

Sure @LucasLvy , sounds good
I created the StarkHash trait
https://github.com/starknet-io/types-rs/pull/12/files#diff-e595c2e9b33ab8cfece5d30cb912859fbf7aba4fbb84bb2895cbb168dc0b620e

@0xLucqs
Copy link
Collaborator

0xLucqs commented Nov 7, 2023

plz fix what @Oppen said so we can merge and get rolliiiiiiinnnnnn

@pefontana pefontana requested review from 0xLucqs and Oppen November 7, 2023 14:54
@0xLucqs 0xLucqs merged commit 8476f50 into starknet-io:main Nov 7, 2023
2 checks passed
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.

4 participants