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

Sync develop to master #69

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Sync develop to master #69

wants to merge 8 commits into from

Conversation

OBrezhniev
Copy link
Member

No description provided.

* Remove non-standard byte hasher and sponge hash construct on top of Poseidon. Remove BJJ wrapper functions.

* Update deps

* Update go versions

* Fix GHA run targets

* Remove non-standard byte hasher and sponge hash construct on top of Poseidon. Remove BJJ wrapper functions.

* Update deps

* Update go versions

* Fix GHA run targets
@OBrezhniev OBrezhniev marked this pull request as ready for review January 13, 2025 17:40
if (left.X.Cmp(right.X) == 0) && (left.Y.Cmp(right.Y) == 0) {
return nil
}
return fmt.Errorf("verifyPoseidon failed")
Copy link

Choose a reason for hiding this comment

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

I would create a sentinel error like ErrVarifyFailed and return it here. In this case we would be able to differentiate general error from validation fail by errors.Is instead of text comparison.

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