jonesmarvin8
c25e93edd5
cargo fmt and clippy
2025-12-23 17:31:03 -05:00
jonesmarvin8
8289c07b28
Merge branch 'main' into simple_amm
2025-12-23 11:03:11 -05:00
jonesmarvin8
c30ba4be1a
various fixes
2025-12-19 20:08:05 -05:00
Daniil Polyakov
172b13d03a
feat: add logs for program pre_states and output
2025-12-19 18:48:19 +03:00
Daniil Polyakov
dc38b8ea2d
feat: add artifacts of program_methods and remove no_docker feature
2025-12-19 18:30:40 +03:00
jonesmarvin8
e73e4b0558
Merge pull request #250 from logos-blockchain/main
...
merge main into simple amm
2025-12-19 08:36:08 -05:00
jonesmarvin8
a5496eb5d5
various comments addressed
2025-12-18 18:45:57 -05:00
Daniil Polyakov
f729072fae
feat: allow private authorized uninitialized accounts
2025-12-18 21:48:37 +03:00
Sergio Chouhy
ef97fade99
feat: unzip init proofs from nsk
2025-12-18 17:57:13 +03:00
jonesmarvin8
c3cd110688
data field fixes
2025-12-15 18:55:38 -05:00
jonesmarvin8
d78d97c815
Reapply "Merge branch 'main' into simple_amm"
...
This reverts commit 2419d4a1126afa9882b3fefbe518582ae130a817.
2025-12-15 18:13:31 -05:00
jonesmarvin8
2419d4a112
Revert "Merge branch 'main' into simple_amm"
...
This reverts commit 8dd1c2d84677aa5efe00ca820ec634a19b73de07, reversing
changes made to 2e37e20014fc8ddaa4559cbdf2c13ec8eb356f24.
2025-12-15 17:53:20 -05:00
jonesmarvin8
8dd1c2d846
Merge branch 'main' into simple_amm
2025-12-15 17:41:45 -05:00
Sergio Chouhy
5fe29016b7
Merge pull request #233 from logos-blockchain/schouhy/add-program-deployment-example
...
Program deployment tutorial and examples
2025-12-12 20:07:46 -03:00
Sergio Chouhy
8c92a58bbc
add program deployment examples
2025-12-11 20:59:37 -03:00
jonesmarvin8
2d8722b7d0
nonce code shifting
2025-12-11 08:59:28 -05:00
Sergio Chouhy
5276cc8f07
Merge branch 'schouhy/move-modified-transfer-to-test-methods' into schouhy/implement-privacy-preserving-tail-calls
2025-12-10 14:51:46 -03:00
Sergio Chouhy
e9c9058827
move modified transfer program to test programs
2025-12-10 14:07:06 -03:00
Sergio Chouhy
f54cdf4a4c
Merge branch 'main' into schouhy/implement-privacy-preserving-tail-calls
2025-12-09 23:53:27 -03:00
jonesmarvin8
471611f848
fixed new definition
2025-12-09 14:42:58 -05:00
Daniil Polyakov
31e7016948
feat: introduce parameter to data_changer and add test for account data
2025-12-09 20:26:02 +03:00
Daniil Polyakov
4574acfc49
feat: introduce account data size limit
2025-12-09 20:26:02 +03:00
jonesmarvin8
6bc983d50b
added pda support
2025-12-08 22:05:51 -05:00
jonesmarvin8
d77185ded4
uses burn/mint/AccountPostState
2025-12-07 20:34:26 -05:00
jonesmarvin8
8506f5948f
Merge branch 'main' into simple_amm
2025-12-06 20:07:12 -05:00
jonesmarvin8
3a3c6f5507
state tests fixed and clean up
2025-12-06 20:03:05 -05:00
jonesmarvin8
ea27eeb929
fixed add and remove logic, and tests
2025-12-06 14:52:18 -05:00
jonesmarvin8
1ae10f553b
test: add test for malicious program performing balance overflow attack
2025-12-06 21:28:45 +03:00
Sergio Chouhy
7e971a6c4d
Merge branch 'main' into schouhy/implement-pda-for-public-accounts
2025-12-05 10:00:23 -03:00
jonesmarvin8
b1ad51f5b9
logic fixes and streamlining examples
...
fixed remove_liquidity logic and added enum/constructors for examples
2025-12-04 21:53:58 -05:00
Sergio Chouhy
b5589d53bb
use filter
2025-12-04 16:29:00 -03:00
Sergio Chouhy
cf9c567e29
remove pub attribute
2025-12-04 16:26:40 -03:00
Sergio Chouhy
35bf943244
Merge branch 'main' into schouhy/implement-pda-for-public-accounts
2025-12-04 16:03:23 -03:00
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