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
davidrusu
816d6a3281
Merge pull request #55 from logos-co/zeegomo/add-swap-vm
...
Swap VM Zone
2025-03-17 18:49:07 +04:00
davidrusu
19c66f31c0
Merge pull request #54 from logos-co/drusu/add-swap-vm
...
SwapVM
2025-03-17 18:46:20 +04:00
Giacomo Pasini
605e4f1e4c
fix tests
2025-03-17 10:51:28 +01:00
Giacomo Pasini
669401271c
Process ledger updates in batches to allow usage of notes in the same bundle
2025-03-17 10:51:02 +01:00
David Rusu
21bf72c6f4
update risc0 images
2025-03-12 17:12:25 +04:00
David Rusu
bfb8594112
consume goal notes in the executor tx
2025-03-12 17:08:08 +04:00
Giacomo Pasini
2947329764
complete swap test scenario
2025-03-11 22:15:16 +01:00
David Rusu
bde46cefe7
swap scenario
2025-03-11 19:02:55 +04:00
David Rusu
104ad9bbff
impl MMR proof update via folds
2025-03-10 19:24:49 +04:00
David Rusu
9a131c6718
update stf proof to read Swap Args from output data
2025-03-10 14:37:28 +04:00
David Rusu
545d5b822f
amount_out calculation
2025-03-10 12:26:01 +04:00
David Rusu
9972df5f23
add create pair test
2025-03-10 11:44:39 +04:00
David Rusu
85b506c7ae
define swap goal note
2025-03-10 10:12:28 +04:00
David Rusu
0060d0f02c
move some tx querys into the tx struct
2025-03-10 07:48:58 +04:00
David Rusu
0dff7f465b
update risc0_images
2025-03-10 07:05:13 +04:00
David Rusu
21eda6cbb1
update swapvm to use new tx structure
2025-03-10 07:04:20 +04:00
David Rusu
363cf8f038
expose tx data
2025-03-10 07:01:34 +04:00
David Rusu
1fd5128b57
update mantle proofs
2025-03-09 00:25:02 +04:00
David Rusu
5e0b2fe174
use btreemap for zoneid -> ledgerupdate mapping
2025-03-09 00:20:02 +04:00
David Rusu
a85b306baa
ledger maintains append only bundle MMR as well
2025-03-08 21:30:40 +04:00
David Rusu
62312074cc
remove module scoping from risc0_images
2025-03-08 21:24:54 +04:00
David Rusu
deb094c03c
update risc0 images
2025-03-07 02:00:35 +04:00
David Rusu
2e66315315
cleanup risc0_images module names
2025-03-07 01:53:53 +04:00
David Rusu
8e2da63b18
deprecate risc0-build
2025-03-07 01:33:18 +04:00
David Rusu
98a75dfabb
update risc0 images
2025-03-06 01:25:44 +04:00
David Rusu
436ee4a830
drop risc0_images_police; simplify risc0_images features
2025-03-06 01:21:11 +04:00
David Rusu
efaff2b982
update proof images
2025-03-06 01:14:40 +04:00
David Rusu
061ec224be
fix ledger_elf reference
2025-03-06 00:59:10 +04:00
David Rusu
48fa0e9378
generate risc0 images
2025-03-06 00:23:49 +04:00
David Rusu
138f6cfb1c
move to reproducible builds vis cargo risczero build
2025-03-05 23:22:26 +04:00
Giacomo Pasini
40961e0e4c
remove redundant references
2025-03-04 19:04:52 +01:00
Giacomo Pasini
9368040555
add redeem shares
2025-03-03 18:58:23 +01:00
Giacomo Pasini
0459726080
Remove tx from swap and check shares are credited to the correct pk
2025-03-03 18:29:39 +01:00
Giacomo Pasini
7acd344a6c
add sketch for lp ops
2025-03-03 12:30:38 +01:00
Giacomo Pasini
42817aceee
Add arg field to UnitWitness
2025-03-03 12:30:38 +01:00
Giacomo Pasini
44a8b6b1ff
check pool balances at the end
2025-03-03 12:30:38 +01:00
Giacomo Pasini
ce6569b7a5
Finish implementation of the stf
2025-03-03 12:30:38 +01:00
Giacomo Pasini
447efee968
add initial sketch of swapvm stf
2025-03-03 12:30:38 +01:00
Giacomo Pasini
ec65ece77b
initial swap vm implementaiton
2025-03-03 12:30:38 +01:00
davidrusu
2622908bcd
Cleanup cross zone transfer ( #52 )
...
* builder apis
* drop unused nonce import
* zone witness in cross zone transfer scenario
* add cms to the ledger when proving
* Reliable risc0 recursion (#53 )
* introduce risc0_images and risc0_images_police
* static instead of const for elfs
* gen images in a loop to resolve id changes due to recursion
* r0_proofs reference each other through risc0_images when recursing
* update ledger to use risc0_images
* remove debug panics
---------
Co-authored-by: Giacomo Pasini <g.pasini98@gmail.com>
2025-03-03 12:09:35 +01: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
davidrusu
3e7c8c2351
Merge pull request #44 from logos-co/cryptarchia-fork-choice
...
Cryptarchia fork choice experiments
2025-02-11 18:32:07 +04: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