5 Commits

Author SHA1 Message Date
Sergey Kaunov
3798b4d3d2 Solve #120 (#126)
* rescue <javascript> `v2` and change the paths in <test> to the rescued thing

* reflect the changed paths in the instruction
2025-05-27 23:33:59 +03:00
Divide-By-0
5bd0bf01d2 fix #15 2024-02-05 23:54:15 -05:00
skaunov
93e8844881 prettier lint 2023-12-02 02:38:22 +03:00
skaunov
94fd5b5e97 Solve #13
I had an idea to just hardcode the binary array, but it seems that
to actually constrait the circuit to it it's beneficial to use the
`component`.
```
bit_length_binary <== [0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ];
```
2023-12-02 02:25:40 +03:00
Anton
79c602670b chore: clean up (#74)
* chore: clean up

- [x] Add checks for ci actions
- [x] Run prettier, clippy, fmt commands for all the files
- [x] Move circom circuits to a circom folder
- [x] Get rid of js var statements

* chore: add resolver version for cargo.toml

* chore: add circom tests

* chore: optimize check triggers

* chore: remove `check` command

* chore: use only `pnpm`

* chore: update readme

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-11-18 20:48:24 +03:00