13 Commits

Author SHA1 Message Date
Sydhds
d47719a093 Update Dockerfile + docker doc (#55) 2025-10-21 10:30:21 +02:00
Sydhds
d60b93416e Osv scanner required dependencies updates (#50)
* Update tracing-subscriber to 0.3.20
* Update alloy dependency to 1.0.38
* Update tonic, rustls & zeroize dependencies
* Update clap to 4.5.49
* Update opentelemetry to 0.31.0
2025-10-14 15:05:18 +02:00
Sydhds
65f6d60b14 Add command line arg to disable grpc reflection (in production) (#48) 2025-10-13 16:23:59 +02:00
Sydhds
3a56b92515 Add new benchmark (#35)
* Add new benchmark
* Add black_box
2025-09-04 08:42:42 +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
Vinh Trịnh
802872e155 Test and fix smart contract interaction (#24)
* chore: add karma_sc_test, karma_tiers_test, rln_sc_test script

* chore: fix rustls panic erro in prover_cli

* fix: update TierLimits's validate method to handle first tier's minKarma starts at 0

* chore: add NoTier

* chore: update Dockerfile

* chore: update rust version and tooling to build rocksdb deps

* fix: refactor smart contract interaction scripts, add error enum and remove unuse codes

* fix: add PRIVATE_KEY env variable, seperate specific error types, update Dockerfile, remove config.example.toml and use clap's default_value instead

* chore: update Dockerfile

* chore: remove unuse register_user_with_commitment and redundant KarmaSCInstance::from
2025-08-12 22:39:18 +07:00
Sydhds
8b1540cf76 Add histogram metrics for channels (#20) 2025-07-16 14:41:32 +02:00
Sydhds
1e813c6710 Initial code for tracing + oltp (#19)
* Initial code for tracing + oltp
* Add tracing for all grpc endpoints + proof services + epoch service
* Trace result and errors for grpc endpoints
2025-07-16 11:33:43 +02:00
Sydhds
471dd9a24f Add initial metrics for Prometheus (#18)
* Add metrics for Prometheus
2025-07-15 11:51:27 +02:00
sydhds
cbb058d330 Can pass arguments directly to docker 2025-06-16 14:48:08 +02:00
Sydhds
1059b87572 Add Dockerfile 2025-06-13 16:54:22 +02:00
sydhds
572bfc3455 Initial code 2025-04-25 12:33:09 +02:00