github-actions[bot]
b0200ca08c
Version Packages ( #528 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 16:41:14 +02:00
sripwoud
7c4d5f24ec
refactor(halo2-eth-mship-worker): simplify verify fn signature ( #527 )
...
* refactor: remove unncessary `await`
* refactor: simplify type
* chore: remove unncessary `eslint-ignore` directive
* refactor: use `K` constant
* chore: ellude implicit types
* chore: add changeset
2024-09-18 16:26:16 +02:00
github-actions[bot]
e234101b41
Version Packages ( #526 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 13:53:53 +02:00
Iskander
b8526b2a12
(refactor) Update K for KZG params in Halo2 web-worker ( #524 )
...
* feat: benchmarking halo2-eth-membership
* feat: adding a benchmark plot
* chore: add changeset
* refactor: ignore benchmark results files
* refactor: rename config extension to .cfg and update README with benchmark
* chore: add changeset
* refactor: change k to be 14 based on the benchmarks
* chore: add changeset
* Delete .changeset/afraid-carrots-exist.md
* refactor: fix conflict
* Delete .changeset/short-cows-shake.md
2024-09-18 12:44:38 +02:00
github-actions[bot]
e7b1ec2e12
Version Packages ( #523 )
...
* Version Packages
* chore: revert `@anonklub/halo2-eth-membership-worker` version bunp
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-09-18 10:48:31 +02:00
Iskander
4a99958888
chore: benchmark halo2-eth-membership ( #521 )
...
* feat: benchmarking halo2-eth-membership
* feat: adding a benchmark plot
* feat: enhance circuit config
* chore: add changeset
* refactor: ignore benchmark results files
* refactor: rename config extension to .cfg and update README with benchmark
* chore: add changeset
* Delete .changeset/short-cows-shake.md
2024-09-18 10:09:05 +02:00
github-actions[bot]
d6c4eca91e
Version Packages ( #522 )
...
* Version Packages
* chore: revert deps updates in `ui`
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-09-16 17:19:39 +02:00
Iskander
70c204f062
feat(halo2-eth-membership-worker): fetch KZG params ( #519 )
...
* feat: fetching params kzg from server
* chore: add changelog changes
* chore: delete copy file
* fix: add a check for the k value
* fix: k is fixed on 15 until benchmarking
* chore: add changeset
2024-09-16 17:12:47 +02:00
Iskander
70b6206d32
test(halo2): add e2e tests crate ( #518 )
...
* feat: halo2 e2e crate
* fix: skip tests if json files are not set
2024-09-12 13:07:19 +02:00
Iskander
c4dc1bcdae
refacotr: enhance halo2-eth-membership circuit ( #517 )
...
* chore: enhance @anonklub/halo2-eth-membership halo2 circuit
* chore: fmt
* chore: dprint fmt
* chore: some enhancements on the tests
* fix: mock merkle tree function
* fix: enhance tests
2024-09-12 10:21:08 +02:00
Iskander
924c9d0588
feat(ui): prove with halo2 ( #475 )
...
* feat: halo2 eth membership wasm web worker integration with ui
* fix: resolve conflicts
* fix: remove circular dependency detector
* feat: using published halo2 pkgs
* fix: resolve conflicts
* fix: requested changes
* fix: remove useless try/catch
* chore: add comment in config
2024-08-30 17:01:36 +02:00
github-actions[bot]
dbb6db70f3
chore: release @anonklub/halo2-binary-merkle-tree-worker@0.1.1
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-29 10:32:05 +02:00
sripwoud
aad9511ab1
refactor(halo2-bin-merkle-tree-worker): remove unnecessary await ( #506 )
2024-08-29 10:29:24 +02:00
sripwoud
965fb6d2b6
fix: do not make @anonklub/halo2-eth-membership-worker private
2024-08-28 14:56:49 +02:00
github-actions[bot]
027a20b057
chore: release @anonklub/halo2-eth-membership-worker@0.1.1 ( #512 )
...
Version Packages
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-28 14:45:53 +02:00
sripwoud
ff2f9ab18a
fix(halo2-eth-membership-worker): downgrade viem do ^1 ( #509 )
...
* fix(halo2-eth-membership-worker): downgrade `viem` to `^1`
`hexToSignature` is deprecated in v2 and it breaks the types
https://github.com/anonklub/anonklub/actions/runs/10594098796/job/29356971936#step:9:802
* chore: add changeset
2024-08-28 14:40:23 +02:00
github-actions[bot]
7abe1dfde9
chore: release @anonklub/halo2-eth-membership-worker@0.1.0 ( #508 )
...
Version Packages
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-28 11:34:02 +02:00
sripwoud
d978c7d8ac
refactor halo2-eth-membership-worker ( #500 )
...
* chore: add changeset
* refactor `halo2-eth-membership-worker`
* chore: update package.json
* chore: add changeset
* chore: bump `@anonklub/halo2-eth-membership`
* chore: bump lockfile
* chore: remove changeset
2024-08-28 11:21:12 +02:00
github-actions[bot]
5723f68719
Version Packages ( #505 )
...
* Version Packages
* revert changes in `@anonklub/halo2-eth-membership-worker`
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-08-28 10:11:55 +02:00
sripwoud
c9c0f1333f
refactor halo2-eth-membership ( #499 )
...
* refactor `halo2-ecdsa`
* refactor `halo2-eth-membership`
* chore: add changeset
* refactor `halo2-wasm-ext`
* update changeset
2024-08-28 09:58:08 +02:00
github-actions[bot]
cc990f6703
chore: release @anonklub/halo2-binary-merkle-tree-worker@0.1.0 ( #502 )
...
Version Packages
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-27 15:42:09 +02:00
sripwoud
1db9854748
feat: create @anonklub/halo2-binary-merkle-tree-worker pkg ( #498 )
...
* feat: create `@anonklub/halo2-binary-merkle-tree-worker` pkg
* chore: update package.json
* chore: add changeset
* chore: bump `@anonklub/halo2-binary-merkle-tree`
2024-08-27 15:38:26 +02:00
sripwoud
2694f21e00
chore: update changeset config
2024-08-27 15:11:14 +02:00
github-actions[bot]
f33306a0cf
Version Packages ( #501 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-27 14:46:45 +02:00
sripwoud
64ab394435
fix(halo2-binary-merkle-tree): import JSValue wasm bindgen ( #497 )
...
* fix(halo2-binary-merkle-tree): import `JSValue` wasm bindgen
* chore: add changeset
* fix test mock file name
* fix: rename test_inputs_example.json
* fix: running tests
* fix: ignore node_modules for some rust crates
* revert: get back lint.cargo as it was
* revert: package.json
---------
Co-authored-by: 0xisk <0xisk@proton.me >
2024-08-27 14:40:26 +02:00
github-actions[bot]
0d4f6cbb43
Version Packages ( #495 )
2024-08-22 17:45:40 +02:00
sripwoud
2525a8a299
revert: build halo2-binary-merkle-tree ( #494 )
2024-08-22 17:41:26 +02:00
sripwoud
0121dbe341
fix: build all wasm packages with turbo ( #493 )
...
* fix: build all wasm packages
* remove eth membrship worker filter
* chore: update package.json
* refactor: add wasm-pack and rimraf deps
* chore: update `.tool-versions`
2024-08-21 22:43:22 +02:00
github-actions[bot]
0981311fed
Version Packages ( #492 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-21 12:47:13 +02:00
sripwoud
b55e57d1ca
chore: trigger publish of halo2-eth-membership ( #491 )
...
* chore: ignore release of halo2-eth-membership-worker
* chore: update version of halo2-eth-membership
* chore: add changeset
2024-08-21 12:46:06 +02:00
sripwoud
22552e01cd
fix(halo2-worker): downgrade viem to ^1 ( #490 )
2024-08-21 12:36:59 +02:00
sripwoud
77650c532f
chore: remove eslint-disable statements
...
eslint is not used anymore.
We use biome instead
2024-08-21 12:33:19 +02:00
Iskander
6101e651c9
feat: create halo2 eth mbrship worker pkg ( #456 )
...
* feat: halo2 eth membership wasm web worker
* chore: dprint fmt
* fix: remove unneeded scripts
* chore: bump lockfile
---------
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-08-21 12:26:12 +02:00
Iskander
80aa4f61ce
feat(halo2): implement eth membership circuit (without nullifier) ( #445 )
...
* feat: halo2 ecdsa membership without nullifier
* chore: remove unused codes from halo2-related pkgs (#489 )
* chore: remove unused codes from halo2-related pkgs
* fix: roll back the "generate_merkle_proof" (wasm32 build)
---------
Co-authored-by: duguorong009 <80258679+duguorong009@users.noreply.github.com >
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-08-21 09:27:58 +02:00
Iskander
5df0ec851c
feat: create halo2-wasm-ext crate ( #486 )
...
* feat: an extension version of halo2-wasm crate
* fix: requested changes
2024-08-20 15:04:18 +02:00
github-actions[bot]
5d81f0ee5a
Version Packages ( #484 )
...
* Version Packages
* chore: revert bump in `ui`
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-08-09 14:41:37 +02:00
sripwoud
68d94459ba
chore(merkle-tree-worker): bump @anonklub/merkle-tree-wasm ( #482 )
...
chore: add changeset
2024-08-09 14:39:46 +02:00
github-actions[bot]
9b1d1544c0
Version Packages ( #480 )
...
* Version Packages
* chore: revert bump in ui
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-08-09 14:25:05 +02:00
sripwoud
9838a5f24b
chore(spartan-ecdsa-worker): downgrade viem
2024-08-09 14:03:10 +02:00
sripwoud
0ce8082616
chore: make halo2-{ecdsa,binary-merkle-tree} private
2024-08-09 13:25:17 +02:00
sripwoud
9156a28dc4
chore: delete binary-merkle-tree-halo2
2024-08-09 13:23:22 +02:00
Iskander
25b0cd8bfc
chore: lift up halo2-* package folders ( #444 )
...
* chore: merge staging (#473 )
* dev sripwoud (#472 )
* fix(ui): check env var def depending client/server side
* refactor(ui): remove `force-dynamic` for server route
* chore(ui): remove TODO
* chore(ui): use `next/legacy/image`
* fix(ui): force asset/nft/punk page to be dynamic
* chore(ui): custom next config instead of soft linking wasm
* upadte cond
* fix: set ARG in Dockerfile
* fix
* refactor
* fix: revert change on wasm file soft link
* chore: restructure the whole halo2 pkgs structure
* fix: cargo lint
* fix: lint
* fix: cargo lint fix
* fix: cargo lint fix
* fix: package.json
* fix: delete .env file
---------
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-08-07 22:42:08 +02:00
sripwoud
2c01b3ec80
chore: use lefthook to manage git hooks ( #458 )
...
* chore: hide biome config file
* chore: update dprint and biome config
* chore: replace lintstaged and husky by lefthook
* chore: update knip config
* chore: cleanup config files in `ui`
* fix: use dprint action in format workflow step
2024-07-26 17:59:07 +02:00
sripwoud
4c1d809a90
ci: run test coverage in test-rs job ( #455 )
...
* ci: run coverage in test-rs job
* ci: upload to coveralls in separate job
* chore: format
* ci: alway run coverage job
* ci: always run `fmt` job
* ci: always run `deps` job
* test: update err message
* ci: exclude halo2-secp256k1-wasm from tests
taking too long
* ci: allow empty report file for coveralls
* ci: get dynamically list of coverage files
* ci: checkout in coveralls job
* ci: exclude halo2wrong-ecdsa from ci tests check
* chore: debug ci
* ci: update coveralls base path input
2024-07-16 17:44:50 +02:00
sripwoud
00424ec7a2
test: fix cli tests error message casing
2024-07-16 14:29:20 +02:00
Iskander
9dcb598908
feat: implement Binary Merkle Tree Halo2 Gadget ( #442 )
...
* feat: (wip) impl merkle tree halo2
* feat: (wip) binary merkle tree wasm lib
* feat: binary merkle tree halo2 wasm lib
* fix: lint issue
* feat: merkle tree halo2 chip fn
* fix: rename variables in the verify chip
* fix: renaming gedget and fixing linting
* chore: format
---------
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-07-16 11:43:42 +02:00
sripwoud
0245d64b3d
chore: merge staging ( #454 )
...
* refactor: use `dprint` for formatting (#446 )
* ci: bump actions versions
* chore: bump node version
* chore: format with `dprint`
* chore: exclude contracts/lib from fmt, update lintstaged cmd
* ci: update node/pnpm versions
* ci: update actions versions in test workflow
* refactor GH worfklows (#447 )
* ci: update actions versions in test workflow
* refactor gh workflows
* fix: bump Cargo.lock
* ci: optimize test workflow (#448 )
* ci: optimize test workflow
* ci: merge test with static-analsysi workflow
* chore: rename workflow file
* ci: fix typo
* ci: fix
* ci: fix
* ci: exclude ui from jts modified files
* fix(ci): add changed-files step id
* ci: fix node & pnpm versions
* ci: fix node action input name
* fix: use checkout action in fmt job
* fix: use checkout action in test-node job
* ci: fix cache-hit check
* ci: use actions/cache/restore
* ci: update node/pnpm cache path
* ci: install rustfmt component
* ci: hoist shamefully deps
easier to manage cache of node_modules that way
* ci: do not use cache of `deps`job for test-node job
* chore: delete forge lib
* forge install: openzeppelin-contracts
v5.0.2
* forge install: forge-std
v1.9.1
* fix(contracts): define remappings
* ci: fix output name
2024-07-15 14:35:51 +02:00
Iskander
f358849ae5
feat(halo2): verify efficiently ECDSA sig + wasm ( #437 )
...
* feat: prove the recovered_pk equals to actual_pk
* fix: using anyhow for error handling and resolving warns
* fix: styling the imports
* fix: remove unneeded println
* feat: implementing a wasm wrapper for the halo2 circuit
* feat: add anonklub proof struct
* feat: converting eff_ecdsa into a genaric version
* feat: wip initializing T and U as public inputs
* feat: wip wasm part
* feat: set T and U as public inputs
* feat: get T and U as public instanaces with F encoding
* feat: wip wasm lib
* feat: impl wasm crate for integrating with the browser
* feat: return bool in verify
* feat: overriding verify in halo2_wasm
* feat: verify halo2 proof successfully
* fix: trying to have the same Y point in T and U
* fix: wip in fixing reading public inputs
* feat: finish verifying eff ecdsa off-chain
* chore: optimize serialize instances
2024-06-26 10:48:40 +02:00
Iskander
de4ffe4103
feat(halo2): implement efficient pubkey recovery ( #435 )
...
* feat: prove the recovered_pk equals to actual_pk
* fix: using anyhow for error handling and resolving warns
* fix: styling the imports
* fix: remove unneeded println
2024-05-21 19:48:13 +00:00
iskander
a500bc78e6
feat(halo2): recover pubkey "efficiently" ( #432 )
...
https://personaelabs.org/posts/efficient-ecdsa-1/
https://personaelabs.org/posts/spartan-ecdsa/
* feat: halo2lib secp256k1 recover pk
* fix: resolve cargo clippy wans
2024-05-02 14:28:15 +00:00