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

Change stdlib merkle tree implementation to use pedersen_hash #3343

Closed
kevaundray opened this issue Oct 29, 2023 · 0 comments · Fixed by #3357
Closed

Change stdlib merkle tree implementation to use pedersen_hash #3343

kevaundray opened this issue Oct 29, 2023 · 0 comments · Fixed by #3357
Assignees
Labels
enhancement New feature or request

Comments

@kevaundray
Copy link
Contributor

Problem

Before changing pedersen, we were using pedersen_commitment as a hash function by taking the x coordinate.

Now this has changed, some of our code is still using pedersen_commitment instead of pedersen_hash.

See this comment on what needs to change

Happy Case

Change merkle tree stdlib to use pedersen_hash and change the test vectors

Alternatives Considered

No response

Additional Context

No response

Would you like to submit a PR for this Issue?

No

Support Needs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants