39 Commits

Author SHA1 Message Date
thomaslavaur
1d4e20bfed fix Public entries 2025-08-04 14:11:36 +02:00
thomaslavaur
1a4658b51b fix one time key input of pol 2025-08-04 14:07:01 +02:00
thomaslavaur
876d7d6d8e change win pol by would win 2025-07-03 07:45:51 +02:00
thomaslavaur
360a964ee8 updated poq removing the need to verify the winning note is unspent 2025-05-30 12:20:28 +02:00
thomaslavaur
8d341328cd fix t1 computation in threshold for pol 2025-05-30 10:17:46 +02:00
thomaslavaur
5070dbf597 fix wrong computation of t1 2025-05-30 08:24:45 +02:00
thomaslavaur
8ca15737d3 added input generator and fixed things 2025-05-27 15:55:13 +02:00
thomaslavaur
abf538d8c2 modified constants to use blake instead of sha 2025-05-27 14:35:49 +02:00
thomaslavaur
afedb7a2b1 delete deprecated stuff 2025-05-27 12:47:31 +02:00
thomaslavaur
3b30218681 renamed ownership into zksignature 2025-05-27 12:39:58 +02:00
thomaslavaur
28c9144907 updated input generation file for pol 2025-05-27 12:03:19 +02:00
thomaslavaur
97b58cb392 correct PoL circom circuit 2025-05-27 11:52:14 +02:00
thomaslavaur
52566248ba remove DS file from Mehmet :) and updated constants 2025-05-27 11:44:13 +02:00
mgonen
7cd5f9b3ea Wire PoL inputs into PoQ circuit 2025-05-27 11:41:50 +03:00
thomaslavaur
676acc9feb add the PoQ and corrected a lot of stuff related to Mantle updates 2025-05-26 11:05:08 +02:00
thomaslavaur
30ab8f7eda remove shielded sets from circom circuits 2025-04-29 11:32:56 +02:00
thomaslavaur
83d4a7dbee derive the unit using the new unit_arg 2025-04-14 11:21:06 +02:00
thomaslavaur
ec0eef618d fixed generation of ownership inputs 2025-04-11 09:40:13 +02:00
thomaslavaur
36d2c7a31c remove deprecated proof 2025-04-10 10:58:03 +02:00
thomaslavaur
11b9d06357 edit pol with the new shielded and unshielded notes 2025-04-10 10:40:20 +02:00
thomaslavaur
4843f7140d fix forgotten error 2025-04-09 14:36:32 +02:00
thomaslavaur
dab1ebd4bf rename folder and reworked the transaction 2025-04-09 14:04:39 +02:00
thomaslavaur
39fdbd972f remove forgotten stuff 2025-04-07 08:38:35 +02:00
thomaslavaur
0f0bf6926b adjust formula computation in the generation of input to follow the specs 2025-04-04 15:54:45 +02:00
thomaslavaur
6ecd06e7c7 correct transfer covenant into spending covenant 2025-04-04 15:40:39 +02:00
thomaslavaur
769b1f193e adjust public inputs 2025-04-04 15:28:52 +02:00
thomaslavaur
40e92abdb0 reflect changes in the specs to the circuits 2025-04-04 11:39:09 +02:00
thomaslavaur
b01d28a57d add the attached data to the transaction 2025-04-01 14:13:17 +02:00
thomaslavaur
23f2da8482 add the different zk proofs. 2025-04-01 10:52:28 +02:00
thomaslavaur
6b20259eb3 fix bad zone id in pol for staking notes + transactions 2025-03-31 12:43:18 +02:00
thomaslavaur
5fcffb74c2 add the PoL for the staking notes 2025-03-31 08:47:32 +02:00
thomaslavaur
0d98123326 update SECRET_KEY to POL_SK dst 2025-03-27 08:03:27 +01:00
thomaslavaur
3ea1442289 add a constant file and fixed a bad dst in commitment 2025-03-26 14:44:56 +01:00
thomaslavaur
4ca8f52ced fix DSTs 2025-03-26 13:40:49 +01:00
thomaslavaur
7e78eb812d refactored the names, added the one-time-key for signing, and added the public inputs 2025-03-26 13:07:37 +01:00
thomaslavaur
6f94e8da43 Clean the repo and push the new PoL 2025-03-26 11:46:34 +01:00
thomaslavaur
4af413b3ac fix minor poseidon error (hash is now truncation of the addition of the state elements) instead of the addition of the entire state 2024-09-11 10:50:21 +02:00
thomaslavaur
7f4ccde70f add Caulk support supposing we have a proof of equivalence between two Pedersen commitment over different curves 2024-08-05 09:23:38 +02:00
thomaslavaur
14c0580335 moved hash circuit and circomlib properly. Changed the leadership circuit dependencies to reflect the different paths 2024-07-26 08:02:54 +02:00