Closed johnson86tw closed 3 years ago
Solution: sudo apt-get install build-essential libgmp-dev libsodium-dev nasm nlohmann-json3-dev
Successfully run buildBatchUpdateStateTreeSnark
Output:
❯ npm run buildBatchUpdateStateTreeSnark
> maci-circuits@0.9.1 buildBatchUpdateStateTreeSnark /home/johnson/maci/circuits
> ./scripts/buildBatchUpdateStateTreeSnark.sh
params/batchUstCircuit.r1cs exists. Skipping compilation.
Generating params file...
Loading circuit from params/batchUstCircuit.r1cs...
Generating trusted setup parameters...
Has generated 81381 points
Writing to file...
Saved parameters to params/batchUst.params
Exporting verification key...
Exporting params/batchUst.params...
Created params/batchUstPk.json and params/batchUstVk.json.
Generated params/batchUstPk.json and params/batchUstVk.json
Generating Solidity verifier...
Copying BatchUpdateStateTreeVerifier.sol to contracts/sol.