pod2/.github/workflows
arnaucube 745d654048
MerkleTree insertion proofs (#344)
* implement merkletree insert & insert-proof-verification

* add merkletree circuit to verify insertion proof

wip

* fix merkletree's GraphViz generation for cases with empty siblings

* implement tree insert-verif circuit siblings checks

Note: I've implemented also an alternative version which instead of
inputting a witness value 'divergence_level' it inputs a bitmask. Both
approaches (divergence_level and divergence_bitmask) take the same
amount of constraints (336 constraints for a tree of 32 levels, and for
an hybrid approach it takes 331 constraints but the code gets a bit less
readable). So I've kept with the current implementation (using
divergence_level) which is more easy to follow.

* [tree] modify the strategy for the insert-proof (out-circuit)

* re-implement insert-proof verification circuit

* add pending checks and polish

* add tests for disabled(&enabled) cases that should fail

* update typos.toml config

* Add test with tampering

* add check 5.3, to prevent tampering (at insertion proof circuit)

* move old_leaf_hash computation outside the loop, simplify check 5.3 booleans

* apply @ed255 review suggestions

---------

Co-authored-by: Ahmad <root@ahmadafuni.com>
2025-07-24 12:02:44 +02:00
..
build.yml fix #315, and add cargo check in GitHub CI with zk feature disabled (#316) 2025-07-01 12:02:12 +02:00
clippy.yml clippy check for tests (#346) 2025-07-17 19:30:14 -07:00
mdbook-check.yml Check statement correctness on compile (#104) 2025-03-03 15:12:09 -08:00
mdbook-publish.yml sync spec & code (#107) 2025-03-05 11:35:23 -08:00
rustfmt.yml Prototype custom predicates (#74) 2025-02-21 10:55:36 +10:00
tests.yml implement proof-based signatures using plonky2 proofs (#112) 2025-03-08 00:27:14 +10:00
typos.toml MerkleTree insertion proofs (#344) 2025-07-24 12:02:44 +02:00
typos.yml feat: unify SignedPod and MainPod traits (#64) 2025-02-18 13:00:54 +01:00