circom-compat/test-vectors
CCarlos Pérezfeat: Support WASM module imports from in-memory binary (#3)
As discussed in https://github.com/arkworks-rs/circom-compat/issues/72
it's not currently possible to load parameters from their binary.
This would help a lot in browser envoiroments where JS can take care of
handling the read and we just open the door in the WASM module to allow
to load new ones from the bytes read.
The commit adds a change in the tests which now load from binary instead
of reading from file. This ensures that the reading is indeed working as
expected although we rely on a different fn from `wasmer`.
74afb0aAug 22, 2024
..
complex-circuitDirectorydrwxrwxrwx
calculatewitness.js-rwxr-xr-x1012 Bcircom2_multiplier2.r1cs-rw-r--r--264 Bcircom2_multiplier2.wasm-rw-r--r--29071 Bcircuit2.circom-rw-r--r--672 Bcircuit2.wasm-rw-r--r--36949 Binput.json-rw-r--r--20 Bmycircuit-input1.json-rw-r--r--19 Bmycircuit-input2.json-rw-r--r--97 Bmycircuit-input3.json-rw-r--r--96 Bmycircuit-witness.json-rw-r--r--28 Bmycircuit.circom-rw-r--r--152 Bmycircuit.r1cs-rw-r--r--264 Bmycircuit.sym-rw-r--r--39 Bmycircuit.wasm-rw-r--r--30625 Bmycircuit2.circom-rw-r--r--271 Bmycircuit2.r1cs-rw-r--r--528 Bmycircuit2.sym-rw-r--r--81 Bmycircuit2.wasm-rw-r--r--34377 Bmycircuit2_constraints.json-rw-r--r--576 Bnconstraints.circom-rw-r--r--268 Bpackage-lock.json-rw-r--r--31952 Bproof.json-rw-r--r--805 Bprove.sh-rwxr-xr-x429 Bpublic.json-rw-r--r--84 Bsafe-circuit-witness.json-rw-r--r--684 Bsmtverifier10-input.json-rw-r--r--368 Bsmtverifier10-witness.0.json-rw-r--r--298023 Bsmtverifier10-witness.json-rw-r--r--298024 Bsmtverifier10.wasm-rw-r--r--390306 Btest.zkey-rw-r--r--2580 Bverification_key.json-rw-r--r--2925 Bwitness.wtns-rw-r--r--640108 Bwitness_calculator.js-rw-r--r--8568 B