Commit Graph

11 Commits

Author SHA1 Message Date
Micah Zoltu
fc0c01e400 Removes many dependencies and bundles to ES Module.
* NodeJS has built-in testing tools now, so no need to include Mocha/Chai which bring in a lot of transitive dependencies.
* Removes ethers, as it was only being used for a few utility functions (which are now in `utils.js` and `keccak256`, whiche is better sourced from @noble/hashes.
* Adds @noble/hashes for `keccak256`.
* Removes hardhat, since it was brought in only to test one thing, and it is huge.
* Switches to esbuild for simple ESM targeted bundling with inlnined NodeJS dependencies.
* Pinned all JS dependencies to fixed versions.
* Adds a Dockerfile for generating reproducible builds.
* Commented out two tests that had a dependency on Hardhat.
2024-12-06 13:17:31 +08:00
Oleksandr Brezhniev
ad7627a4c0 test: add even more poseidon tests 2024-09-10 01:47:36 +01:00
Oleksandr Brezhniev
43cc582b10
test: add more poseidon tests (#28)
* test: add more poseidon tests
2024-04-26 15:37:02 +01:00
Jordi Baylina
b843be289a
Fix tests 2022-07-15 21:44:10 +02:00
Jordi Baylina
7da82e6e39
Fix dependencies 2022-06-17 13:15:36 +02:00
Jordi Baylina
ad9d2f8774
Poseidon access to the stat and al the inputs 2022-06-17 13:06:56 +02:00
Jordi Baylina
ee8ec2fca2
Merge branch 'main' of https://github.com/iden3/circomlibjs 2022-03-17 13:29:35 +01:00
Danil Kovtonyuk
fdaafd32eb
fix ethers import 2022-03-17 19:55:47 +10:00
Jordi Baylina
0872b77f93
Poseidon in wasm 2021-11-23 13:22:47 +01:00
Jordi Baylina
fe43791f41
Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
Jordi Baylina
3d29629a83
Transfer from circomlib 2021-10-06 11:28:14 +02:00