Commit Graph

9 Commits

Author SHA1 Message Date
Sydhds
07ea466b33 Update proto file with Tx 'estimated gas used' field (#51)
* Update proto file with Tx 'estimated gas used' field
* Update tx_counter according to tx gas quota
* Feature/user spam limit checks (#47)
  * Print proof generation error before sending it
  * Check user spam limit in grpc send_transaction endpoint
2025-10-15 10:57:03 +02:00
Sydhds
65f6d60b14 Add command line arg to disable grpc reflection (in production) (#48) 2025-10-13 16:23:59 +02:00
Sydhds
8be586ddfa Add initial code for handling multiple merkle tree in UserDB (#49)
* Add initial code for handling multiple merkle tree in UserDB
* Add unit test for multi tree
* Add test_new_multi_tree unit test
* Introduce UserDbConfig
2025-10-13 16:23:05 +02:00
Sydhds
e1c96b3ef7 Add more arg in command line arguments (#46) 2025-10-01 17:24:28 +02:00
Sydhds
b2f142b0e5 Add initial rln sc register in registry_listener (#33)
* Add initial rln sc register in registry_listener
* Generic over alloy provider
* Fix prover mock startup
* Update handle_transfer_event documentation
2025-08-29 10:18:37 +02:00
Vinh Trịnh
eec2ae76e9 Add CI workflow, resolve clippy warning (#29)
* feat: resolve clippy warning, remove unuse deps, add ci workflow

* chore: add protoc install to CI

* chore: add foundry for test job

* chore: fix benchmark and add comparison

* chore: just run bench 1 time

* chore: try boa-dev/criterion-compare-action@v3

* chore: run all benchmark

* chore: rerun CI

* chore: only run prover_bench|generate_proof

* chore: use matrix strategy for each bench

* feat: add osv-scanner workflow

* chore: not add manually, ill use github UI

* chore: remove changes from Cargo.lock and all Cargo.toml files to avoid conflict with feature/revise_deps branch

* chore: resolve clippy module_inception

* chore: try no bench = false again

* chore: run cargo-udeps with --all-features flags

* chore: update default prover run command

* chore: lint fix

* chore: add osv-scanner.yml to CI workflow

* chore: try osv-scanner v2.2.2
2025-08-28 16:49:25 +07:00
Sydhds
400d0155a7 Update for new KarmaTiers smart contract (#23)
* Update for new KarmaTiers smart contract
* Add Anvil unit test for KarmaTiers SC
* Add unit test for KarmaSC
* Add rln sc unit test
2025-07-31 11:40:50 +02:00
Sydhds
b802b80664 Add throughput measurement for prover benchmark (#22)
* Add throughput measurement for prover benchmark
* Use rayon instead of tokio spawn blocking
* Add new user_db unit tests for user tx counterx
2025-07-23 12:26:34 +02:00
Sydhds
1ec9f1f48d Split unit tests in several new files (#21) 2025-07-21 16:36:54 +02:00