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

Soundness tests #11

Open
lorenzb opened this issue Jul 30, 2018 · 2 comments
Open

Soundness tests #11

lorenzb opened this issue Jul 30, 2018 · 2 comments
Milestone

Comments

@lorenzb
Copy link
Owner

lorenzb commented Jul 30, 2018

We should test that invalid proofs are rejected by the verifier.
Suggested approach:

  1. Manually create a few invalid proofs
  2. Test edge cases (e.g. empty nodes list in proofBlob)
  3. Mutate valid proofs in randomly chosen single byte
@lorenzb lorenzb added this to the beta milestone Aug 16, 2018
@relyt29
Copy link
Collaborator

relyt29 commented Aug 23, 2018

proof fuzzing?

@lorenzb
Copy link
Owner Author

lorenzb commented Aug 23, 2018

In the long run that would be nice.
For now, a few basic tests would already mark a substantial improvement.

@lorenzb lorenzb mentioned this issue Aug 24, 2018
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

No branches or pull requests

2 participants