* 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
* 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
* rename and move packages to `pkgs` folder
* pin typescript version to 5.1.6
see typescript eslint warning
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.2.0
YOUR TYPESCRIPT VERSION: 5.2.2
* fix tsconfig extends relative paths
* update readme
* fix jest preset
* bump lock file
* delete `/apis/prove`
* move `/apis/query/` into `query-api/`
* remove `/infra`
* update config files
* format
* remove @anonklub/proof ts reference from circom pkg
* tsignore
* pin `@anonklub/proof` package in ui
* remove unused config in hook
* tsignore (discord bot)
* delete apis/prove
* remove tsignore directive
* update env vars
* skip build of `@anonklub/proof` in vlaidate workflow
version was pinned in UI and CLI
* avoid pre rendering for beacon query page
see https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#dynamic
By default, next will try to pre-render and fetch the data at build time
However, this is a dune query that is subject to query credits... sometimes the query fails. It should not prevent building the app though.
* Remove prove api url from ui config
* fix: install with `--no-frozen-lockfile` in release workflow
* chore: bump pnpm-lock.yaml
* feat: indicate prove command of cli as todo
We are now using client side proving with spartan. There is no proving server
* refactor: fix ts error in `@anonklub/query`
* changeset
* feat: implementing a wasm-pack liberary for merkle tree
* fix: package.json main and types relative paths
* fix: remove deprecated rust crate
* faet: implmenting a spartan circuits version that has wasm-pack integrations, and removing halo2 empty project
* fix: spartan circuits cargo dependencies
* fix: remove the built wasm pkg
* fix: pnpm lock file
* fix: package.json workspace and script
* fix: pnpm lock file
* fix: cargo clippy fixes
* chore: better comments
* fix: build wasm package before install with `devPreinstall` hook (#296)
* fix: build wasm package before install with `devPreinstall` hook
* chore: format
* fix: adding a build wasm step in the test workflow
* fix: try to not use compile via turbo in the test workflow
* fix: adding install wasm-pack step
* fix: update build rust creates in static analysis
* chore: lint test workflow
* fix: make sure to ignore @anonklub/spartan-ecdsa
* refactor (#298)
* parallelize wasm compile in preInstall hook
* refactor
* to revert
* refactor: do not use jetli action
Install wasm-pack with script instead
Getting some errors otherwise
https://github.com/anonklub/anonklub/actions/runs/7666559819/job/20894718947#step:10:24
* Revert "to revert"
This reverts commit 9b71b5f228.
* fix: do not parallelize compilation of wasm package
running into temp file lock issues otherwise
---------
Co-authored-by: sripwoud <me@sripwoud.xyz>
* wip
* scaffold anonset controller and service
* add repositories
* update service
* refactor, add open api specs
* add dockerfile and fly config
* fix tsconfig.json
* update index
* move files
* use prod Dockerfile for deployment
* fix turbo.json
* add ajv as dev dep
* remove nest test
TODO
* format
* lint
* fix(query-api): fix dune queries endpoints (#241)
* remove cowprotocol dune client
Replace with direct request to dune API with native fetch
* update openapi.yaml
* 🎨 format
* fix build: need to export interface
* fix unit test
* decrease global.branches coverage threshold
* make duneCLient a service
* fix test
* validate
* lint
* 💩 Use dev script in dockerfile for query-api deployment
* Update test workflow
* 📦 Build `@anonklub/*` to commonjs (#223)
* Build @anonklub/query to commonJS
* Build @anonklub/proof to ES2022
* format
* refactor: do not use `baseUrl` to build @anonklub/query
It is tricky to use a lib that defines module aliases
* refactor: do not use `baseUrl` to build @anonklub/proof
It is tricky to use a lib that defines module aliases
* Build @anonklub/cli to ES2022
* format, lint
* fix: do not build as ESM
* add comment
* Update package.json files
* fix folder name and import path
* Fix path to coverageDirectory in jest preset
* name test workflow
* trigger ?
* rename workflow
* use jest projects
Necessary to have 1 root coverage folder that coveralls needs
* ♻️ Define `@anonklub/{cli,proof,query,test}` (#30)
* rename 3pwd to sripwoud
* move `membership` and `demo` to `@anonklub`. Rename `@anonset` to `@anonklub`
* Create `@anonklub/query`
* Define functions to fetch anon sets from query API
* test fetchCryptoPunksAnonset
* refactor: use generic for query functions
* define test-utils pkg
* refactor, format
* test: fetch{Erc20,Eth}AnonSet
* move @anonklub/test-utils into root/test
* extends from root tsconfig.json
* fix glob in turbo.json
* move fetch type def into root global.d.ts
* fix tsc errors
* edit eslint and barrelsby config
* bump test deps
* use jest preset defined in shared local test package
* relax tsconfig
Allow for uncheckedIndexedAccess
* refactor query methods into OOP
* test
* format
* fix lint config
Need to exclude root tsconfig.json to avoid cricular deps as we extend from it
* chore: lint
* chore: lint, format
* fix: increase memory allocation when running eslint
* add tsconfig references
* refactor jest config files into using custom anonklub preset (#31)
* fix Dockerfile
Need to copy root global.d.ts and tsconfig.json and test package