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

Add Juno Pederson hash #610

Merged
merged 4 commits into from
Aug 15, 2024
Merged

Add Juno Pederson hash #610

merged 4 commits into from
Aug 15, 2024

Conversation

thiagodeev
Copy link
Collaborator

@thiagodeev thiagodeev commented Aug 8, 2024

Solves #596

  • Added Juno's Pederson hash functions and removed old ones.
  • Created two new utility methods: BigIntArrToFeltArr and HexArrToBNArr
  • Some refactors to the curve_test.go tests.
  • Bug fix described in the comments below.

Obs: most modifications were due to the new hash functions not returning any errors like the previous ones, so I had to remove them from the code.

hash/hash.go Show resolved Hide resolved
typed/typed.go Outdated Show resolved Hide resolved
typed/typed.go Outdated Show resolved Hide resolved
merkle/merkle.go Outdated Show resolved Hide resolved
curve/curve.go Outdated Show resolved Hide resolved
curve/curve.go Outdated Show resolved Hide resolved
contracts/contracts.go Outdated Show resolved Hide resolved
@thiagodeev thiagodeev merged commit 7a00161 into main Aug 15, 2024
6 checks passed
@thiagodeev thiagodeev deleted the thiagodeev/use-juno-hash-functions branch August 15, 2024 12:55
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.

2 participants