diff --git a/.gitignore b/.gitignore index 65cd95c..2360bee 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ src/circuit_tests/artifacts/* !src/circuit_tests/artifacts/.keep codex_storage_proofs test/tffi +node_modules diff --git a/build.nims b/build.nims index f86fd33..7da60f4 100644 --- a/build.nims +++ b/build.nims @@ -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"