-
Notifications
You must be signed in to change notification settings - Fork 40
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
snark-verifier test failed #24
Comments
Here is another test from @kunxian-xia // Sample a random polynomial of degree n - 1
let mut random_poly = domain.empty_coeff();
random_poly[0] = C::Scalar::one();
// Sample a random blinding factor
let random_blind = Blind(C::Scalar::zero());
let c = C::generator(); |
Is it possible that the evm-verifier cannot handle the point at infinity properly? |
Good find! BTW for true no-zk option, we should try to merge privacy-scaling-explorations#76 |
@han0110 told me the evm-verifier does sanity checks for safety and specifically rejects point at infinity: https://github.com/privacy-scaling-explorations/snark-verifier/blob/main/snark-verifier/src/loader/evm/code.rs#L41-L62 |
recent dev branch (scroll-dev-1220) does not pass the tests in snark-verifier
by adding commit: [revert vanishing.commit to PSE's version] to branch: [pse_snark_verifier_test]
the proofs can be verified by two examples in the snark-verifier and pass default tests
@jonathanpwang @kunxian-xia @lispc
The text was updated successfully, but these errors were encountered: