162 Commits

Author SHA1 Message Date
jonesmarvin8
c0c1228e10 fixed accountId 2025-12-02 15:20:16 -05:00
jonesmarvin8
3e9f0f9384 fixed omitted vault checks
Previous versions mistakenly used token_definition instead of vault account id to check for vaults.

Functions and corresponding tests fixed.

Minor error in arithmetic in state.rs for remove_liquidity fixed.
2025-12-02 13:40:54 -05:00
jonesmarvin8
93ee75a339 additional tests
Tests for chain_calls included in amm.rs,
All tests in state.rs
2025-12-02 13:40:53 -05:00
jonesmarvin8
352b97910a state tests written 2025-12-02 13:40:11 -05:00
jonesmarvin8
0a645281c6 token_program non-deterministic issue 2025-12-02 13:40:11 -05:00
jonesmarvin8
9da684b7c6 fixed some deterministic issues 2025-12-02 13:40:11 -05:00
jonesmarvin8
5547f0635c attempted test functions in state.rs
Additional minor clean up in amm.rs
2025-12-02 13:40:10 -05:00
jonesmarvin8
2166bbfe03 test fixes and comments 2025-12-02 13:37:40 -05:00
jonesmarvin8
853d4d6b59 Tests written 2025-12-02 13:36:07 -05:00
jonesmarvin8
a426839b3b Updated based on chain calls fixes 2025-12-02 13:36:07 -05:00
jonesmarvin8
10d42f352b AMM functions written 2025-12-02 13:33:00 -05:00
Sergio Chouhy
dcef017f9b nit 2025-12-02 12:12:56 -03:00
Sergio Chouhy
3d529d19fa solve comments 2025-12-02 10:48:21 -03:00
Sergio Chouhy
c7bcd20a38 add init function to the token program 2025-11-28 14:16:54 -03:00
Sergio Chouhy
ed00876800 Merge branch 'schouhy/add-init-function-to-token-program' into schouhy/implement-pda-for-public-accounts 2025-11-28 14:16:26 -03:00
Sergio Chouhy
dd5db5b32c add init function to the token program 2025-11-28 11:52:02 -03:00
Sergio Chouhy
1989fd25a1 add pinata token example and test 2025-11-28 11:10:00 -03:00
Sergio Chouhy
702882c6ee
Merge pull request #161 from vacp2p/schouhy/add-multi-chain-calls
Add multi chain calls
2025-11-27 12:39:23 -03:00
Sergio Chouhy
a3e07347a4 Merge branch 'schouhy/add-multi-chain-calls' into schouhy/implement-pda-for-public-accounts 2025-11-27 12:05:09 -03:00
Sergio Chouhy
1df24eb11f call write_nssa_outputs function once 2025-11-26 17:41:49 -03:00
Sergio Chouhy
bc24f006ef use window 2025-11-26 17:37:22 -03:00
Sergio Chouhy
a3061afebe replace unwrap with expect 2025-11-25 15:15:14 -03:00
Sergio Chouhy
58933a8270 Merge branch 'schouhy/implement-privacy-preserving-tail-calls' of github.com:vacp2p/nescience-testnet into schouhy/implement-privacy-preserving-tail-calls 2025-11-25 14:52:16 -03:00
Sergio Chouhy
3f636465f6 avoid using manual indexing in vector 2025-11-25 14:51:28 -03:00
Sergio Chouhy
8e1c53bd4e use instruction_words from read in pinata 2025-11-25 14:51:02 -03:00
Sergio Chouhy
425f0ccc1b
Update nssa/program_methods/guest/src/bin/privacy_preserving_circuit.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-11-25 14:20:56 -03:00
Sergio Chouhy
47a7656ec4 add asserts in test 2025-11-22 17:48:43 -03:00
Sergio Chouhy
bfe38b012e small refactor 2025-11-22 16:39:34 -03:00
Sergio Chouhy
b90837edb6 add test wip 2025-11-20 01:40:05 -03:00
Pravdyvy
ef73336aa5 fix: borsh derivation on publci transactions 2025-11-18 17:52:46 +02:00
Sergio Chouhy
4f650e939f add instruction to the program output 2025-11-18 01:38:47 -03:00
Sergio Chouhy
38490a6163 wip 2025-11-18 00:04:53 -03:00
Sergio Chouhy
a94440fa1f rename 2025-11-12 19:18:04 -03:00
Sergio Chouhy
2e582e7874 add multi chain calls 2025-11-12 19:08:46 -03:00
Sergio Chouhy
ef7a5b6610 wip 2025-11-07 20:42:00 -03:00
Sergio Chouhy
ffe2ae4e0b Merge branch 'main' into schouhy/implement-privacy-preserving-tail-calls 2025-11-07 19:32:42 -03:00
Sergio Chouhy
dfd45c8678 wip 2025-11-06 19:35:47 -03:00
Sergio Chouhy
48fc643952 add chained call test 2025-10-30 09:36:20 -03:00
Sergio Chouhy
3a27719392 add tail-chain logic for public transactions 2025-10-29 13:40:56 -03:00
Sergio Chouhy
6d9d6b3d28 add chained_call field to program output 2025-10-29 00:40:56 -03:00
Sergio Chouhy
a14b15d123 add Cargo.lock 2025-10-25 00:34:02 -03:00
Sergio Chouhy
2da861c2d2 Merge branch 'main' into schouhy/add-program-deployment-transactions 2025-10-20 22:47:18 -03:00
Sergio Chouhy
942e90ae2a add sequencer methods 2025-10-15 20:14:19 -03:00
Sergio Chouhy
fb4bb02f1a add docstrings 2025-10-13 18:06:02 -03:00
Sergio Chouhy
a2b9aef152 minor refactor 2025-10-13 17:45:03 -03:00
Sergio Chouhy
c772f1b0fe add init function 2025-10-13 17:08:29 -03:00
Sergio Chouhy
667ad5a532 Merge branch 'main' into schouhy/fix-non-uniqueness-of-private-account-ids 2025-10-07 12:56:57 -03:00
Sergio Chouhy
63436955c6 add nullifier for private account initialization 2025-10-03 20:47:37 -03:00
Sergio Chouhy
8b70da517c add check and test 2025-10-03 18:43:09 -03:00
Sergio Chouhy
36beca9c7c Merge branch 'main' into schouhy/add-token-program 2025-09-29 16:00:53 -03:00