20 Commits

Author SHA1 Message Date
Sydhds
1f859c0eff Secu/update dependencies 20251021 (#56)
* Update alloy-dyn-abi (to 1.4.1) && alloy-trie (to 0.9.1)

* Update clap dependency to 4.5.50

* Cargo update
2025-10-21 11:46:34 +02:00
Sydhds
85acaad8d2 Secu/update dependencies 20251017 (#54)
* Update alloy to version 1.0.41
* Update rustls to version 0.23.33
* Update tokio to version 1.48.0
2025-10-20 09:37:38 +02:00
Sydhds
4b037ca09a Update to official release of Zerokit 0.9.0 (#53) 2025-10-17 10:04:03 +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
b7967b85e8 Initial code to use Zerokit 0.9 + disable parallel feature (#36)
* Initial code to use Zerokit 0.9 + disable parallel feature

* Support IdSecret for user identity secret hash

* Fix clippy + bench

* Use PmTreeConfig builder

* Improve prover_bench perf

* Fix prover_bench 2nd assert

* Fix prover_bench 2nd assert 2

* Can now enable trace for bench prover_bench

* Use anyhow for error handling (+ error context) in prover_cli (#42)

* Use anyhow for error handling (+ error context) in prover_cli

* Cargo fmt pass

* Feature/feature/init user db ser de 2 (#45)

* Add user db serializer && deserializer init & re-use
2025-10-01 17:00:56 +02:00
Vinh Trịnh
ab032ec74b Use all best practice to squeeze a few more TPS out of Prover (#38) 2025-09-23 18:18:52 +07:00
Sydhds
8ba18a5ded Update alloy dependencies (#34) 2025-08-29 10:22:15 +02:00
Vinh Trịnh
f4a41073e4 Use exact zerokit version, move common deps to workspace, remove unuse deps to reduce build size 2025-08-18 16:41:17 +07:00
Sydhds
11b06a440d Add zeroize support for private key (#27) 2025-08-13 15:15:25 +02: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
471dd9a24f Add initial metrics for Prometheus (#18)
* Add metrics for Prometheus
2025-07-15 11:51:27 +02:00
Sydhds
88678afdb2 Initial attempt to benchmark proof generation using the prover (#16)
* Initial attempt to benchmark proof generation using the prover
2025-07-09 15:02:07 +02:00
Sydhds
d33c1016cd Update && enable unit test: test_user_spamming_same_signal (#13)
* Update && enable unit test: test_user_spamming_same_signal
* Add debug_assert in epoch_counters_operands
* Write merkle tree inside db transaction
* Add note about error handling in RegistryListener
* Remove user if it cannot register it to smart contract
* Remove user in db if we cannot add to SC
* Add support for config file
2025-07-04 11:41:36 +02:00
Sydhds
9f4027ed2b Add UserRocksDb - initial attemp to rewrite UserDb with persistent st… (#10)
* Use RocksDb + PmTree for UserDb persistent storage
2025-06-27 15:41:41 +02:00
Sydhds
409cdcb651 Move all code related to smart contracts into lib smart_contract (#7)
* Move all code related to smart contracts into lib smart_contract
* Can start the prover with mocked smart contract
* Add KarmaTier integration
* Filter & validate initial tier limits
2025-06-13 12:04:10 +02:00
Sydhds
d8da43e535 Update to zerokit v0.8.0 (#6)
* Update to zerokit v0.8.0
* Switch to OptimalMerkleTree implementation (was pmTree)
* Update various crates
2025-06-10 10:53:26 +02:00
sydhds
c286dca5d5 Add rln benchmarks (computation & serialization) 2025-05-15 16:07:48 +02:00
sydhds
c4bb950fab Add UserRegistry + grpc service limits 2025-05-12 15:09:18 +02:00
sydhds
bba384ad9f Initial code to generate Zk proof and broadcast it to listeners 2025-04-25 18:03:30 +02:00
sydhds
572bfc3455 Initial code 2025-04-25 12:33:09 +02:00