maci-circuits

v0.0.0-ci.1f1fd0a
zk-SNARK circuits for MACI

test

ts-mocha --exit ts/__tests__/*.test.ts

build

tsc

watch

tsc --watch

test:ecdh

ts-mocha --exit ts/__tests__/Ecdh.test.ts

test:hasher

ts-mocha --exit ts/__tests__/Hasher.test.ts

test:splicer

ts-mocha --exit ts/__tests__/Splicer.test.ts

test:tallyVotes

NODE_OPTIONS=--max-old-space-size=4096 ts-mocha --exit ts/__tests__/TallyVotes.test.ts

test:privToPubKey

ts-mocha --exit ts/__tests__/PrivToPubKey.test.ts

test:unpackElement

ts-mocha --exit ts/__tests__/UnpackElement.test.ts

test:calculateTotal

ts-mocha --exit ts/__tests__/CalculateTotal.test.ts

test:ceremonyParams

ts-mocha --exit ts/__tests__/CeremonyParams.test.ts

test:processMessages

NODE_OPTIONS=--max-old-space-size=4096 ts-mocha --exit ts/__tests__/ProcessMessages.test.ts

test:verifySignature

ts-mocha --exit ts/__tests__/VerifySignature.test.ts

build-test-circuits-c

bash ./scripts/build_intel.sh

test:messageToCommand

ts-mocha --exit ts/__tests__/MessageToCommand.test.ts

test:messageValidator

ts-mocha --exit ts/__tests__/MessageValidator.test.ts

build-test-circuits-wasm

bash ./scripts/build_arm.sh

test:slAndBallotTransformer

ts-mocha --exit ts/__tests__/StateLeafAndBallotTransformer.test.ts

Metadata

Downloads