update build

This commit is contained in:
Jaremy Creechley 2024-01-10 16:42:40 +02:00
parent e0aae8ba89
commit 926fb4b919
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@ src/circuit_tests/artifacts/*
!src/circuit_tests/artifacts/.keep
codex_storage_proofs
test/tffi
node_modules

View File

@ -4,6 +4,7 @@ task genffi, "update the nim ffi bindings":
exec "nbindgen --crate codex-storage-proofs --output codex_proofs_ffi.nim"
task compileCircuits, "compile test circuits":
exec "npm i"
exec "circom src/circuit_tests/poseidon-digest-test.circom --r1cs --wasm -o src/circuit_tests/artifacts"
exec "circom src/circuit_tests/poseidon-hash-test.circom --r1cs --wasm -o src/circuit_tests/artifacts"
exec "circom src/circuit_tests/storer-test.circom --r1cs --wasm -o src/circuit_tests/artifacts"