maci-contracts

v0.1.9
This submodule contains all the Ethereum contracts and tests for MACI.

build

tsc && ./scripts/compileSol.sh

watch

tsc --watch

deploy

node build/deploy.js -o deployedAddresses.json

ganache

./scripts/runGanache.sh

test-mt

jest IncrementalMerkleTree.test.ts

compileSol

./scripts/compileSol.sh

test-hasher

jest Hasher.test.ts

test-signUp

NODE_OPTIONS=--max-old-space-size=4096 jest SignUp.test.ts

deploy-debug

node --inspect-brk build/deploy.js -o deployedAddresses.json

test-quin-mt

jest IncrementalQuinTree.test.ts

test-mt-debug

node --inspect-brk ./node_modules/.bin/jest IncrementalMerkleTree.test.ts

test-verifyTally

jest VerifyTally.test.ts

test-hasher-debug

node --inspect-brk ./node_modules/.bin/jest Hasher.test.ts

test-signUp-debug

NODE_OPTIONS=--max-old-space-size=4096 node --inspect-brk ./node_modules/.bin/jest SignUp.test.ts

test-quin-mt-debug

node --inspect-brk ./node_modules/.bin/jest IncrementalQuinTree.test.ts

test-publishMessage

jest PublishMessage.test.ts

test-verifyTally-debug

node --inspect-brk ./node_modules/.bin/jest VerifyTally.test.ts

test-publishMessage-debug

node --inspect-brk ./node_modules/.bin/jest PublishMessage.test.ts

test-batchProcessMessageAndQuadVoteTally

NODE_OPTIONS=--max-old-space-size=4096 jest batchProcessMessageAndQuadVoteTally.test.ts

test-batchProcessMessageAndQuadVoteTally-debug

NODE_OPTIONS=--max-old-space-size=4096 node --inspect-brk ./node_modules/.bin/jest batchProcessMessageAndQuadVoteTally.test.ts

Metadata

  • Unknown
  • Whatever
  • Unknown
  • released 8/13/2020

Downloads

Maintainers