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 invalid poseidon hash usage #3

Merged
merged 1 commit into from
Jun 19, 2024
Merged

fix invalid poseidon hash usage #3

merged 1 commit into from
Jun 19, 2024

Conversation

olegrok
Copy link

@olegrok olegrok commented Jun 19, 2024

We need to pad high-order bytes with zeros in case if result is less than 32 bytes.

@olegrok olegrok force-pushed the fix-poseidon-hasher branch from 196df26 to fa65961 Compare June 19, 2024 15:12
We need to pad high-order bytes with zeros in case if result is less than 32 bytes.
@olegrok olegrok force-pushed the fix-poseidon-hasher branch from fa65961 to 7edaf53 Compare June 19, 2024 15:16
@olegrok olegrok marked this pull request as ready for review June 19, 2024 16:11
@olegrok olegrok merged commit 4843cd9 into main Jun 19, 2024
1 check passed
@olegrok olegrok deleted the fix-poseidon-hasher branch June 19, 2024 16:11
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.

1 participant