Fix proof caching to speed up tests #15
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
When I generate a proof, verify (successfully) from Solidity, and then verify again, it fail the second time for some reason.
To reproduce it, uncomment this line, and try to run the tests:
zkerc20/lib/proofGeneration.js
Line 58 in 0e405a5
Note how I'm deploying all new contracts (including the verifier contract) before each test:
zkerc20/test/integration/api-test.js
Line 36 in 0e405a5
I also tried
hardhat_reset
.Once this is fixed, I just need to
zkerc20/lib/proofGeneration.js
Line 58 in 0e405a5
zkerc20/lib/proofGeneration.js
Lines 51 to 52 in 0e405a5
The text was updated successfully, but these errors were encountered: