Sergio Chouhy
44b4c53d04
add test that initialized accounts cannot be claimed
2025-12-03 17:36:53 -03:00
Sergio Chouhy
91fe8ced6e
add test
2025-12-03 17:07:31 -03:00
Sergio Chouhy
8a269858c5
improve struct interface
2025-12-03 16:54:57 -03:00
Sergio Chouhy
d677db7f4e
add account post state struct with claiming request field
2025-12-03 15:17:33 -03:00
jonesmarvin8
90d6580377
simplified swap logic
...
removed branching logic from swap logic, and adjusted tests accordingly.
2025-12-02 17:21:49 -05:00
jonesmarvin8
c0c1228e10
fixed accountId
2025-12-02 15:20:16 -05:00
Sergio Chouhy
407c3f3c95
improve expect message
2025-12-02 16:27:22 -03: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
863ed888ad
minor fix to remove_liquidity
...
Fixed line 2767 to use delta_lp in liquidity_pool_cap
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
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
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
ce9cadc46d
Merge branch 'schouhy/implement-pda-for-public-accounts' of github.com:vacp2p/nescience-testnet into schouhy/implement-pda-for-public-accounts
2025-12-02 10:50:43 -03:00
Sergio Chouhy
fdc53927ca
Update nssa/src/program.rs
...
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-02 10:50:06 -03:00
Sergio Chouhy
3d529d19fa
solve comments
2025-12-02 10:48:21 -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
1989fd25a1
add pinata token example and test
2025-11-28 11:10:00 -03:00
Pravdyvy
46515ce695
Merge branch 'main' into Pravdyvy/deterministic-key-derivation
2025-11-28 09:18:02 +02:00
Sergio Chouhy
e61a971790
add test and refactor chain_caller program
2025-11-27 13:53:25 -03:00
Sergio Chouhy
3fbf1e1fec
add pda mechanism
2025-11-27 13:10:38 -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
d82f06593d
add pda_seeds field
2025-11-27 12:08:27 -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
409ec19959
fix concatenation of call stack
2025-11-27 10:53:25 -03:00
Sergio Chouhy
f46d7ee426
nit
2025-11-27 10:46:35 -03:00
Sergio Chouhy
aba1d844f8
consume call stack from the other end
2025-11-27 10:42:58 -03:00
Sergio Chouhy
103332f6cd
nit
2025-11-27 09:56:52 -03:00
Sergio Chouhy
577fad6d5f
refactor call stack execution loop
2025-11-27 09:54:14 -03:00
Pravdyvy
055c5388e0
Merge branch 'main' into Pravdyvy/deterministic-key-derivation
2025-11-27 13:49:00 +02:00
Pravdyvy
6c409b6fb1
Merge branch 'main' into Pravdyvy/deterministic-key-derivation
2025-11-27 13:46:35 +02:00
Pravdyvy
72d389a7c3
Merge branch 'main' into Pravdyvy/iss131-error-handling
2025-11-27 05:53:03 +02:00
Sergio Chouhy
d1d2292028
fmt
2025-11-26 20:13:23 -03:00
Sergio Chouhy
12e21c935c
Merge branch 'main' into schouhy/add-multi-chain-calls
2025-11-26 17:12:35 -03:00
Sergio Chouhy
97209caa9c
Merge branch 'main' into schouhy/implement-privacy-preserving-tail-calls
2025-11-26 16:37:23 -03:00
Pravdyvy
4d1d765cbe
Merge branch 'main' into Pravdyvy/iss131-error-handling
2025-11-26 06:49:46 +02:00
Daniil Polyakov
a714e3c563
feat: enhance rustfmt config
2025-11-26 00:33:09 +03:00
Daniil Polyakov
ea9c659fb1
refactor: rename Address to AccountId
2025-11-25 21:38:07 +03:00
Sergio Chouhy
ba556bee0b
nit
2025-11-25 15:03:17 -03:00
Pravdyvy
46fad3c5e7
fix: comments fix 1
2025-11-25 09:40:46 +02:00
Sergio Chouhy
0054ce5847
nit
2025-11-22 18:39:02 -03:00
Sergio Chouhy
47a7656ec4
add asserts in test
2025-11-22 17:48:43 -03:00
Sergio Chouhy
386d958c88
fmt, clippy
2025-11-22 16:40:16 -03:00
Sergio Chouhy
bfe38b012e
small refactor
2025-11-22 16:39:34 -03:00
Sergio Chouhy
b59cd0da92
wip
2025-11-22 15:16:43 -03:00
Sergio Chouhy
b90837edb6
add test wip
2025-11-20 01:40:05 -03:00
Pravdyvy
2f07853975
fix: borsh integrated into transactions
2025-11-19 14:28:18 +02:00