27 Commits

Author SHA1 Message Date
thomaslavaur
1b6ba734a4
Revert "swhitch to big endian everywhere" 2025-09-30 09:39:05 +02:00
thomaslavaur
dcfe7c55c8 swhitch to big endian everywhere 2025-09-29 09:53:02 +02:00
thomaslavaur
463cb1ce7d fix t0 and t1 constants 2025-09-09 13:28:46 +02:00
thomaslavaur
d7b36a5964
Merge branch 'master' into Circom 2025-09-08 11:40:51 +02:00
thomaslavaur
f8a2cba8be minor fix in names and python 2025-09-08 11:38:26 +02:00
thomaslavaur
7d9ba0caa6 fix something that was computing t0 and t1 wrong 2025-09-05 12:30:02 +02:00
Álex
882f2c468a
chore: Split common functions PoL. (#95) 2025-09-04 13:27:01 +02:00
thomaslavaur
0a989fe711 put credible values for key 2025-09-03 16:03:37 +02:00
thomaslavaur
ef6d419aa1 add string to modified last value for core/leader case 2025-09-03 15:48:58 +02:00
thomaslavaur
3f12e9c279 use euclidean division to match the rust implementation (the difference is negligible as it would make you lose 1 block every 10^16 blocks that you should have win 2025-09-02 10:33:02 +02:00
thomaslavaur
748009d0a0 fixed the generation of test that was miscalculating t0 and t1 2025-09-02 10:13:07 +02:00
thomaslavaur
11ef81c577 update constants 2025-08-28 15:45:26 +02:00
thomaslavaur
b95cfadb22 add the explanation for dummy constraints in poq 2025-08-28 08:55:30 +02:00
thomaslavaur
1386cfa618 update the constant according to engineering discussion 2025-08-27 10:01:12 +02:00
thomaslavaur
cfbf7f3c4d updated constants 2025-08-26 11:37:19 +02:00
thomaslavaur
da383e1a87 ensured everything is aligned with the specs 2025-08-26 10:37:51 +02:00
thomaslavaur
da9101c761 removed the secrets_root input from pol and poq 2025-08-26 09:57:02 +02:00
thomaslavaur
5c0465a41e updated the circuit to reflect the names of the specs 2025-08-25 15:51:48 +02:00
thomaslavaur
73e5ecb7e7 changing the initializing vector to 0 2025-08-19 16:00:17 +02:00
thomaslavaur
7d903540dc modified poseidon2 parameters to fit Authors parameters 2025-08-19 15:23:13 +02:00
thomaslavaur
1a18ddaa83 modifying input generators to fmt 2025-08-13 10:11:48 +02:00
thomaslavaur
fe0f02808b split the key in two inputs 2025-08-07 08:38: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
8ca15737d3 added input generator and fixed things 2025-05-27 15:55: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