15 Commits

Author SHA1 Message Date
David Rusu
643dbb8e55 zone witness in cross zone transfer scenario 2025-02-24 18:50:03 +04:00
David Rusu
c35ad00767 drop unused nonce import 2025-02-24 18:16:21 +04:00
David Rusu
7dbda3b822 builder apis 2025-02-24 18:13:02 +04:00
Giacomo Pasini
dc2fd35894
Sync Bedrock with latest spec (#49)
* update cl

* move zoneid into NoteWitness

* Update emmarin/cl/ledger_proof_statements/src/ledger.rs

Co-authored-by: davidrusu <davidrusu.me@gmail.com>

* update

* update note cm order

* remove NoteWitness

* mv indexed and merkle into /ds/; rework padded_leaves interface

* ledger cross zone update test is now passing

* clippy

* pad nullifiers in cross zone update test

* print user and total cycles for each proof

* only publish sync logs for cross zone bundles

---------

Co-authored-by: davidrusu <davidrusu.me@gmail.com>
2025-02-18 11:41:57 +01:00
Giacomo Pasini
283a3b8d4d
Add nullifier tree (#48)
* Add nullifier tree

* precompute root hashes

* fix nf tree

* efficient serializatoin

* add tests
2025-02-11 15:30:06 +01:00
David Rusu
98f0a3b752 rework PACT recursion 2024-12-09 15:23:43 +04:00
David Rusu
baaf10a429 mv covenant verification into ptx proof 2024-12-07 00:32:25 +04:00
David Rusu
fdab50a0e4 all working now 2024-12-06 23:47:54 +04:00
David Rusu
84cb37240b clippy/get everything building 2024-12-06 13:44:53 +04:00
Giacomo Pasini
720836e7f2
move zone_id into {input,output}witness 2024-11-27 17:17:27 +01:00
Giacomo Pasini
3646971fd9
use MMR 2024-11-27 11:44:42 +01:00
Giacomo Pasini
a0b9b357da
remove limitation of single ptx origin 2024-11-25 18:45:00 +01:00
Giacomo Pasini
854fab935b
check zone updates 2024-11-25 13:06:53 +01:00
Giacomo Pasini
a76bb268a1
uniform ptx and pacts 2024-11-22 18:15:56 +01:00
Giacomo Pasini
ec5cd13d46
emmarin 2024-11-19 12:42:50 +01:00