sripwoud
4900818ab7
Version Packages ( #424 )
...
* Version Packages
* do not bump deps in ui and circom
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@anonklub/merkle-tree-worker@1.1.4
@anonklub/query@1.2.2
@anonklub/spartan-ecdsa-worker@1.1.2
@anonklub/proof@2.1.2
2024-03-31 19:34:58 +00:00
sripwoud
94eac87e5c
chore: replace prettier and eslint by biome ( #422 )
...
* chore: replace `prettier` and `eslint` by `biome` (#421 )
* chore: replace `prettier` and `eslint` by `biome`
* chore: lint
* changeset
2024-03-30 22:15:54 +00:00
sripwoud
54ae17a914
chore: improve lint-staged rules ( #418 )
...
- Include `rustfmt`
- Include `tsc`: unlike running `pnpm typecheck` after `lint-staged`,
- this will check only staged files
2024-03-18 15:31:08 +01:00
i
8f519577af
Rust Test Coverage ( #414 )
...
* feat: adding halo2 axiom scaffold
* feat: starting on ecdsa
* feat: starting on ecdsa
* feat: starting on ecdsa cont.
* feat: adding halo2wrong ecdsa verison circuit wip
* fix: remove testing json set
* test: wriing a failed test for testing ECDSA chip verification
* fix: clippy warnings fixings
* feat: adding CI github actions for test coverage
* feat: adding inatalltion readme
* fix: lint issues
* fix: lint issues
* fix: undo rust change
* fix: resolve requested changes and rebase
* fix: remove repeated halo2-ecdsa crate
* chore: rename some workflow titles
2024-03-18 15:29:58 +01:00
i
f716552d46
feat: implement ECDSA Halo2 Circuit ( #403 )
...
* feat: adding halo2 axiom scaffold
* feat: starting on ecdsa
* feat: starting on ecdsa
* feat: starting on ecdsa cont.
* feat: adding halo2wrong ecdsa verison circuit wip
* fix: remove testing json set
* test: wriing a failed test for testing ECDSA chip verification
* fix: clippy warnings fixings
* fix: prettier issue in cli/readme.md
---------
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-03-18 11:11:28 +00:00
sripwoud
8e922a5f7d
fix(merkle-tree): fix unit test
2024-03-18 11:56:13 +01:00
i
022520e7a6
refactor: display address in missing leaf error message ( #384 )
...
* fix: resolving catch leaf is not found bug
* fix: linter errors
* feat: enhancing the error message
* chore: rebase with main
* fix: remove wrong js compiles scripts
* fix: lint issues
2024-03-14 20:33:32 +01:00
sripwoud
c1f103e46f
refactor: use anyhow to handle errors ( #417 )
...
* refactor: define `hexlify` helper function
* chore: add "not implemented" prints for proof commands
* refactor: handle errors with `anyhow`
* refactor: do not make `WIDTH` a generic param of MerkleTree
* chore: update test.cargo script
* fix wasm target compilation
* chore: format
* test: add more unit tests
2024-03-14 17:46:29 +00:00
sripwoud
fbc253055c
feat(akli): generate merkle root ( #415 )
...
* refactor: define `root` & `proof` `merkle` subcommands
* fix akli `merkle proof` command test
* refactor: extract merkle tree init/building in helper function
* feat:test(akli): generate merkle root
* fix import in test
* docs: udpate cli README:wq
* chore: format
* fix typo
2024-03-14 08:19:08 +01:00
sripwoud
ee04143c9b
chore(ui): update docs link
...
Use docs.anonklub.xyz instead of anonklub.github.io
2024-03-13 11:25:07 +01:00
sripwoud
0de4a0f001
chore: update value of prod query-api url
...
Replace anonset.fly.dev to query.anonklub.xyz
2024-03-13 11:10:38 +01:00
sripwoud
570a46fd70
ocs: update links in README
2024-03-12 23:45:40 +01:00
sripwoud
cd3d782d7f
chore: format
2024-03-12 23:33:45 +01:00
sripwoud
bbc6877919
chore: update deploy environments urls
2024-03-12 23:33:24 +01:00
sripwoud
60b5fd90f9
Update README.md ( #413 )
2024-03-12 21:58:34 +01:00
sripwoud
90cec48807
Update README.md
2024-03-12 18:51:19 +01:00
sripwoud
dad4815ab8
Add rust akli badge to readme
2024-03-12 18:48:20 +01:00
sripwoud
4fccbd0f52
chore: publish akli ( #412 )
...
* chore: edit crate metadata and bump version
* refactor: use forked anonklub-poseidon crate instead of git
* chore: add license to merkle-tree-wasm crate
* chore: update akli Cargo.toml
* chore: format
2024-03-12 17:34:54 +00:00
sripwoud
ad324b4118
feat(akli): build merkle proof from address and json file inputs ( #379 )
...
* add merkle command, parse json file
* feat(akli): build merkle tree from json and address inputs
* chore: format
* fix building hexstring from generate_merkle_proof result
* Update README
* chore: update Cargo.toml for publishing
* chore: remove CHANGELOG.md and content.txt
Relics from node cli
* chore: add exlude list to package section
* chore: add build task to justfile
* Add non wasm target generate_merkle_proof implementation
* chore: add pkgs/cli t default members list
* fix: insert `00` for emtpy leaves instead of `0x`
* refactor: use string interpolation instead of debug pretty printing
* test: add test for cli `merkle` command
2024-03-12 16:07:37 +00:00
sripwoud
7ffc1b819f
test(cli): add more tests and mock query api requests ( #402 )
...
* test(cli): add more tests and mock query api requests
* fix query_ens test
use strum derive to customize how EnsVoteChoice is serialized
* chore:fix: trigger test workflow on changes in rs files
* chore: include cargo tests in repo wide `test` script
* chore: update test workflow trigger paths
2024-03-11 23:34:13 +01:00
sripwoud
3c8f4a9e0e
fix(ui): get json data ( #400 )
...
* fix(ui): get json data
json() was already called
* Improve display in ScrollableJson component
Break lines
2024-03-11 16:57:07 +01:00
sripwoud
40ca31589b
fix(ui): handle & render dune out of credits error ( #397 )
2024-03-07 22:04:58 +01:00
sripwoud
0dcdca9fd1
refactor(ui): remove unused config variables ( #396 )
2024-03-07 21:30:08 +01:00
sripwoud
aed0b19f0e
fix(ui): hard code query api url
...
Necessary in order to be able to render error messages that may include
env vars from errors caught in server components
2024-03-07 18:28:51 +01:00
sripwoud
3c538e1c1e
fix(ui): bubble up dune out of credit error
2024-03-07 18:14:47 +01:00
sripwoud
aeb1cf5de1
fix(query-api): handle dune out of credits error ( #394 ) ( #395 )
...
* add gcloud to `.tool-versions`
* refactor: define cache at module level
* feat: handle dune out of credit error with specific exception
And add more logs
* fix: use keyFile path instead of parsed json string to auth bitgquery requests
* Revert "fix: use keyFile path instead of parsed json string to auth bitgquery requests"
This reverts commit 75cd26ebe219bc88a7d5e97b770fbeb881f5ac0a.
* refactor: rename GOOGLE_APPLICATION_CREDENTIALS to GOOGLE_APPLICATION_CREDENTIALS_JSON_STR
GOOGLE_APPLICATION_CREDENTIALS is what `gcloud` CLI uses by default.
It expects a path, not a JSON string
* update .env.example
* fix .lintstagedrc
prettier should only be ran for files extension that it supports
2024-03-07 16:52:21 +01:00
sripwoud
7c0e5756c5
Update README.md ( #393 )
2024-03-07 12:51:51 +01:00
sripwoud
50a99c0f29
fix(ui): copy test/ to Dockerfile for successful deps install ( #392 )
...
* fix ui: Dockerfile
* update comment
2024-03-07 11:50:32 +01:00
sripwoud
df9c339e1c
chore(ui): bump @anonklub/merkle-tree-worker dep
2024-03-07 10:48:31 +01:00
github-actions[bot]
c6dd7d3835
Version Packages ( #391 )
...
* Version Packages
* do not bump merkle tree worker dep in ui yet
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sripwoud <me@sripwoud.xyz >
@anonklub/merkle-tree-worker@1.1.3
2024-03-07 10:47:16 +01:00
sripwoud
0bf4936b26
refactor: use error container component instead of modal ( #390 )
...
* refactor: remove useless try/catch
* refactor: use local state error instead of in store
* feat: close/goback on click outside error component
* chore: changeset
2024-03-07 10:36:36 +01:00
sripwoud
0a9094471a
chore(ui): bump merkle tree worker dep
2024-03-06 23:04:46 +01:00
sripwoud
069893aa75
Revert "chore(ui): link worker deps to local pkgs ( #389 )"
...
This reverts commit 1c7370b0f5 .
2024-03-06 22:58:50 +01:00
github-actions[bot]
562fbb9273
Version Packages ( #388 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sripwoud <me@sripwoud.xyz >
@anonklub/merkle-tree-worker@1.1.2
2024-03-06 22:33:23 +01:00
sripwoud
1c7370b0f5
chore(ui): link worker deps to local pkgs ( #389 )
2024-03-06 22:32:10 +01:00
sripwoud
f0acf3f157
chore: bump merkle-tree-wasm in worker pkg ( #387 )
...
* chore: bump merkle-tree-wasm in worker pkg
* changeset
2024-03-06 22:18:30 +01:00
github-actions[bot]
61bd43cc2b
Version Packages ( #386 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@anonklub/merkle-tree-wasm@1.1.3
2024-03-06 22:11:29 +01:00
sripwoud
81c037b091
changeset
2024-03-06 21:39:11 +01:00
sripwoud
b070f8442a
chore: don't emit on when typechecking spartan-ecdsa-worker ( #385 )
...
* reorder/rename scripts
* bump pnpm-lock.yaml
* fix: don't emit on when typechecking spartan-ecdsa-worker
2024-03-06 21:29:40 +01:00
i
94f0790d00
fix: handle leaf not found error ( #380 )
...
* fix: resolving catch leaf is not found bug
* fix: cargo fmt fix
* fix: prettier issue in cli/readme.md
* fix: linter errors
2024-03-06 16:07:41 +01:00
sripwoud
6f8d9bdc24
feat(ui): define ErrorContainer component
2024-03-06 13:40:04 +01:00
sripwoud
36cdeea553
test(cli): add unit tests for akli
2024-03-04 14:14:11 +01:00
sripwoud
59016371bc
refactor: rewrite CLI with Rust ( #378 )
...
* Scaffold akli cli built with clap
* chore: delete remaining *.json files from node CLI
* feat: implement (sub)commands signatures
query, prove, verify...
address, min, id, choice args
* feat(cli): fetch eth balance anonset
* pretty print
* refactor
* refactor: define generic get_anonset function
* feat: query erc20 anonset with CLI
* feat(cli): fetch cryptopunks anonset
* feat(cli): fetch beacon and punks anonset
* feat(cli): fetch nft anon set
* feat(cli): fetch ens dao anonset
2024-03-01 16:15:22 +01:00
sripwoud
332d27fc5f
feat: change warning closing button text in 'OK'
2024-02-15 13:27:26 +01:00
sripwoud
2c8e89b2c3
feat: display time log only in development
2024-02-15 13:27:15 +01:00
sripwoud
aca0710ba2
chore: bump pnpm-lock.yaml
2024-02-13 18:10:34 +01:00
sripwoud
2078bce814
chore(ui): bump @anonklub/spartan-ecdsa-worker
2024-02-13 18:09:35 +01:00
sripwoud
78ce53c464
Version Packages ( #376 )
@anonklub/spartan-ecdsa-worker@1.1.1
2024-02-13 18:06:03 +01:00
sripwoud
25bfc7bdfa
chore: changeset
2024-02-13 17:59:35 +01:00
sripwoud
5ed6adf712
fix: add package.json files to path trigger of release workflow
2024-02-13 17:56:59 +01:00