Replies: 1 comment 2 replies
-
|
I little bit late but if someone encounter this error. It seems it was linked to the bb.generateProof in my TS script: - const { proof } = await backend.generateProof(witness, { keccak: true });
+ const { proof } = await backend.generateProof(witness, { keccakZK: true });I modified few things to understand what was going on ran these command just in case: # after cleaning /target
nargo compile
bb write_vk --oracle_hash keccak -b ./target/zk_panagram.json -o ./target/
bb write_solidity_verifier -k ./target/vk -o ../contracts/src/Verifier.sol -s ultra_honk # not sure for -s arg but i tried thingsAfter this I managed to compile and pass the tests. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ive completed the generateProof, Panagram test and Panagram contract but when i run the forge test command to test that everything works well I keep getting the error ProofLengthWrong causing alll my test to fail here is a view into it
Beta Was this translation helpful? Give feedback.
All reactions