JonathanHeiss / ZoKrates-Credential-Verification

2 stars 0 forks source link

erro when compute witness #1

Open iamxg opened 6 months ago

iamxg commented 6 months ago

Hi, have a problem when I run "zokrates compute-witness -a 315555217 1079953207"

Computing witness... Execution failed: Program takes 38 inputs but was passed 2 values

Please tell me how to resolve it.

robmuth commented 6 months ago

The example in the README is missing the attestation phase and therefore the signature (the other 36 parameters). Thanks for pointing this out!

A complete example of how to execute the min-age proof can be found here.

iamxg commented 6 months ago

Hi, Thank you so much for replying to me. I will try it. Best Regards, Xian

iamxg commented 6 months ago

Hi, I successfully test this example. Thank you so much for sharing it. Best Regards, Xian