Skip to content

Proof is invalid #13

@vivianjeng

Description

@vivianjeng

Describe the bug
Now the proof verification failed

failures:
    proof::tests::verify_proof::test_semaphore_js_proof
    proof::tests::verify_proof::test_verify_proof
    proof::tests::verify_proof::test_verify_proof_with_different_depth

during the assertion

assertion failed: Proof::verify_proof(proof)

To Reproduce
just running

cargo test

Expected behavior

Pass all tests

Screenshots
If applicable, add screenshots to help explain your problem.

Technologies (please complete the following information):

  • Node.js version
  • NPM version
  • Solidity version

Additional context
Add any other context about the problem here.

  1. might be an update in zkey
    let base_url = "https://snark-artifacts.pse.dev/semaphore/latest/";
  2. might be an update in circom-witnesscalc
    https://crates.io/crates/circom-witnesscalc

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions