fix stuffs

This commit is contained in:
Jaremy Creechley 2024-01-10 16:40:09 +02:00
parent ecef418135
commit e0aae8ba89
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -3,5 +3,10 @@ task genffi, "update the nim ffi bindings":
exec "cargo install nbindgen"
exec "nbindgen --crate codex-storage-proofs --output codex_proofs_ffi.nim"
task compileCircuits, "compile test circuits":
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"
task tests, "run unit tests":
exec "nim c -r tests/tffi.nim"