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

Verify that inputs to contract are within the scalar field to avoid aliasing #19

Open
HarryR opened this issue Jul 26, 2019 · 0 comments · May be fixed by #20
Open

Verify that inputs to contract are within the scalar field to avoid aliasing #19

HarryR opened this issue Jul 26, 2019 · 0 comments · May be fixed by #20
Labels
bug Something isn't working

Comments

@HarryR
Copy link
Owner

HarryR commented Jul 26, 2019

In the Withdraw contract, we must verify that all inputs are within the snark scalar field to avoid aliasing.

For example, there may be multiple uint256 values which wrap-around to produce the same point after scalar multiply, all of these are outside of the field.

Re:

This will be fixed upstream in Ethsnarks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant