2308 Commits

Author SHA1 Message Date
moudyellaz
1d0c93e9cf test: verify malicious self_program_id is rejected in public execution 2026-04-03 22:13:58 +02:00
Moudy
3cfc74695b fix: compute intermediate states inside flash swap programs 2026-04-03 22:05:49 +02:00
Moudy
c85f19fe85 fix: clippy lints in flash swap guest programs 2026-04-03 20:16:59 +02:00
Moudy
5b42d8ed9c fix: move flash swap types before all functions in test module 2026-04-03 18:14:49 +02:00
Sergio Chouhy
2aa585b847
Update programs/clock/core/src/lib.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2026-04-03 11:54:19 -03:00
Moudy
324593c4c7 fix: format expect attribute 2026-04-03 16:08:08 +02:00
Moudy
eefaf64b6d fix: move flash swap types before tests, use expect instead of allow 2026-04-03 16:04:49 +02:00
Moudy
9fb55a75d6 fix: ordering of items and allow large_enum_variant in test module 2026-04-03 15:40:55 +02:00
Moudy
bc0583368d fix: set is_authorized on PDA accounts in flash swap chained calls 2026-04-03 15:18:23 +02:00
Moudy
02e336b240 fix: add missing caller_program_id argument in test 2026-04-03 11:47:34 +02:00
Sergio Chouhy
55c75c55ae fix clippy 2026-04-02 21:44:33 -03:00
Sergio Chouhy
7c1f8f4d68 clippy 2026-04-02 21:23:30 -03:00
jonesmarvin8
7b0eac6a3f identifiers added to privacy circuit 2026-04-02 19:24:01 -04:00
Moudy
74e16db68f fix: apply formatting and rebuild artifacts 2026-04-03 01:17:42 +02:00
Moudy
88e3b368c3 fix: rebuild artifacts 2026-04-03 00:58:11 +02:00
moudyellaz
af81719414 feat: add flash swap integration tests 2026-04-03 00:58:11 +02:00
moudyellaz
599724b72f feat: register flash_swap programs as test programs 2026-04-03 00:58:11 +02:00
moudyellaz
38ea2a01fa feat: add flash_swap_initiator and flash_swap_callback guest programs 2026-04-03 00:58:11 +02:00
moudyellaz
087baebcca feat: add caller_program_id to ProgramInput 2026-04-03 00:58:11 +02:00
Moudy
d105a51c04 fix: rebuild artifacts 2026-04-03 00:58:11 +02:00
Moudy
65166e8fcc fix: rebuild artifacts 2026-04-03 00:58:11 +02:00
Sergio Chouhy
4d5010f044 Merge branch 'main' into schouhy/add-block-context-system-accounts 2026-04-02 19:48:55 -03:00
Sergio Chouhy
b525447e2d refactor so that indexer checks clock constraints 2026-04-02 18:30:10 -03:00
jonesmarvin8
e15b078640 Merge branch 'main' into marvin/private_transfer_simplified 2026-04-02 17:23:47 -04:00
jonesmarvin8
c3c26b6c23 clean up
Added public account id changes
update tests (public account id and private account id)
nullifier fixes
2026-04-02 17:20:52 -04:00
Sergio Chouhy
6a467da3b1 fmt and clippy 2026-04-02 17:48:02 -03:00
Sergio Chouhy
29d66d2c2d small refactor 2026-04-02 17:40:58 -03:00
Moudy
42a2f04cd5
Merge pull request #426 from logos-blockchain/moudy/feat-self-program-id
add self_program_id
2026-04-02 21:15:32 +02:00
Moudy
67bb1809de fix: rebuild artifacts 2026-04-02 20:38:02 +02:00
Moudy
c9aa4d48c7 fix: add self_program_id check for public execution 2026-04-02 20:30:52 +02:00
Moudy
531381e023 Update program_methods/guest/src/bin/privacy_preserving_circuit.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2026-04-02 20:30:52 +02:00
Moudy
702ef4a46f fix: cargo fmt 2026-04-02 20:30:27 +02:00
moudyellaz
7def0c4664 refactor: pass self_program_id to ProgramOutput in test and example guest programs 2026-04-02 20:30:16 +02:00
moudyellaz
58b72dd77c refactor: pass self_program_id to ProgramOutput in production guest programs 2026-04-02 20:30:16 +02:00
moudyellaz
85cc323649 feat: verify self_program_id in privacy circuit 2026-04-02 20:30:16 +02:00
moudyellaz
eafc2969be feat: add self_program_id to ProgramOutput struct 2026-04-02 20:30:16 +02:00
Moudy
59d3d38448 fix: serialize write_inputs fields separately to match guest deserialization 2026-04-02 20:29:12 +02:00
moudyellaz
9ecf186851 refactor: update all guest programs to handle self_program_id field 2026-04-02 20:29:10 +02:00
moudyellaz
d5cb3e0454 feat: inject self_program_id in write_inputs and execute 2026-04-02 20:29:10 +02:00
moudyellaz
27299e75cc feat: add self_program_id to ProgramInput and read_nssa_inputs 2026-04-02 20:29:10 +02:00
jonesmarvin8
a4af07bc6d nullifier fixes 2026-04-02 13:36:13 -04:00
jonesmarvin8
de6a9f6c59 Merge branch 'main' into marvin/private_transfer_simplified 2026-04-02 13:11:53 -04:00
jonesmarvin8
15a41375e4 update nullifiers and tags 2026-04-02 13:09:20 -04:00
Sergio Chouhy
fbdfd8f7ef
Merge pull request #417 from ygd58/fix/ci-fork-pr-permissions
fix: add explicit permissions to allow CI on fork PRs
2026-04-02 12:27:32 -03:00
Pravdyvy
a2904c130c fix: suggestion fix 3 2026-04-02 17:45:49 +03:00
Andrea Franz
7d75eb2d59 chore(programs/amm): rename Swap to SwapExactInput 2026-04-02 16:10:12 +02:00
Andrea Franz
9a6ec0018b feat(programs/amm): add swap exact output functionality 2026-04-02 16:10:12 +02:00
Sergio Chouhy
aa157bfbe7 add tests 2026-04-02 03:55:38 -03:00
Sergio Chouhy
9915f09d6d refactor to enforce validation of state diff through constructors 2026-04-02 02:39:37 -03:00
Sergio Chouhy
40c7b308a9 add validated state diff 2026-04-02 01:09:58 -03:00