galletas1712 / cassiopeia

Rust implementation of a Publicly Verifiable Secret Sharing scheme
3 stars 1 forks source link

About the error when executing the npx hrafhat test command #4

Open hengchengli opened 1 year ago

hengchengli commented 1 year ago

I get this error when I run the command inside the docker container, what should I do? image

galletas1712 commented 1 year ago

In the docker container, run zkp/build_circuit.sh first before you run the tests. We didn't include in the Dockerfile because this step takes quite a while.

hengchengli commented 1 year ago

在 docker 容器中,先运行 zkp/build_circuit.sh,然后再运行测试。我们没有包含在 Dockerfile 中,因为此步骤需要相当长的时间。

But when I run the command zkp/build_circuit.sh, I get the following error: image

galletas1712 commented 1 year ago

You need to download the powers of tau file first. See the snarkjs README for more details.

hengchengli commented 1 year ago

Where is your reference for Publicly Verifiable Secret Sharing (PVSS)? PVSS has a bug.

hengchengli commented 1 year ago

image

hengchengli commented 1 year ago

You need to download the powers of tau file first. See the snarkjs README for more details.

Sorry, I still don't know how your SNARKjs works, can you provide your specific commands?