maci-circuits

v0.0.0-ci.37e7963
zk-SNARK circuits for MACI

test

pnpm run mocha-test ts/__tests__/*.test.ts

build

tsc -p tsconfig.build.json

types

tsc -p tsconfig.json --noEmit

watch

tsc --watch

gen-zkeys

ts-node ./ts/genZkeys.ts

test:fuzz

NODE_OPTIONS=--max-old-space-size=4096 ts-mocha --exit -g '\[fuzz\]' ./ts/__tests__/*.test.ts

mocha-test

NODE_OPTIONS=--max-old-space-size=4096 ts-mocha --exit -g '^(?!.*\[fuzz\]).*$'

test:hasher

pnpm run mocha-test ts/__tests__/Hasher.test.ts

circom:build

NODE_OPTIONS=--max-old-space-size=4096 circomkit compile

circom:setup

NODE_OPTIONS=--max-old-space-size=4096 circomkit setup

test:splicer

pnpm run mocha-test ts/__tests__/Splicer.test.ts

test:tallyVotes

pnpm run mocha-test ts/__tests__/TallyVotes.test.ts

test:privToPubKey

pnpm run mocha-test ts/__tests__/PrivToPubKey.test.ts

test:calculateTotal

pnpm run mocha-test ts/__tests__/CalculateTotal.test.ts

test:ceremonyParams

pnpm run mocha-test ts/__tests__/CeremonyParams.test.ts

test:processMessages

pnpm run mocha-test ts/__tests__/ProcessMessages.test.ts

test:verifySignature

pnpm run mocha-test ts/__tests__/VerifySignature.test.ts

build-test-circuits-c

ts-node ./ts/compile.ts --cWitness

test:messageToCommand

pnpm run mocha-test ts/__tests__/MessageToCommand.test.ts

test:messageValidator

pnpm run mocha-test ts/__tests__/MessageValidator.test.ts

build-test-circuits-wasm

ts-node ./ts/compile.ts

test:incrementalQuinaryTree

pnpm run mocha-test ts/__tests__/IncrementalQuinaryTree.test.ts

test:slAndBallotTransformer

pnpm run mocha-test ts/__tests__/StateLeafAndBallotTransformer.test.ts

Metadata

  • Unknown
  • Whatever
  • Unknown
  • released 6/18/2024

Downloads