393 Commits

Author SHA1 Message Date
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
jonesmarvin8
ae50ff65fa fixed conflicts with token rs from main 2025-12-12 16:27:27 -05:00
jonesmarvin8
fac1dc19e2 merge main minus token rs 2025-12-12 16:13:13 -05: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
1b2962fa03 add missing check on pre_states for privacy tail calls 2025-12-10 23:10:25 -03: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
jonesmarvin8
340c9c4ce6 redundant underflow check added 2025-12-10 08:12:17 -05:00
Sergio Chouhy
f54cdf4a4c Merge branch 'main' into schouhy/implement-privacy-preserving-tail-calls 2025-12-09 23:53:27 -03:00
jonesmarvin8
2e37e20014 format 2025-12-09 15:36:46 -05:00
jonesmarvin8
70c228dbec fixed formatting and added overflow/underflow 2025-12-09 15:28:32 -05:00
jonesmarvin8
471611f848 fixed new definition 2025-12-09 14:42:58 -05:00
jonesmarvin8
8c493a0155
Update nssa/program_methods/guest/src/bin/token.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-09 13:31:44 -05:00
jonesmarvin8
cf4d7ba80b
Update nssa/program_methods/guest/src/bin/token.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-09 13:31:13 -05:00
jonesmarvin8
17f77f9ae7
Update nssa/program_methods/guest/src/bin/token.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-09 13:31:02 -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
Daniil Polyakov
e5cbd82343 fix: add overflow check for balance sum validation 2025-12-09 18:28:58 +03:00
jonesmarvin8
e0c6baf1ff added mint overflow protection 2025-12-09 08:11:15 -05:00
jonesmarvin8
5169e8fda4 cargo fix 2025-12-08 22:12:02 -05:00
jonesmarvin8
6bc983d50b added pda support 2025-12-08 22:05:51 -05:00
jonesmarvin8
65681a5b74 minor fixes (does not run/test) 2025-12-08 13:19:30 -05:00
jonesmarvin8
d77185ded4 uses burn/mint/AccountPostState 2025-12-07 20:34:26 -05:00
jonesmarvin8
4bcfbb9bee Merge branch 'marvin/token_burn_mint' into simple_amm 2025-12-07 20:31:16 -05:00
jonesmarvin8
5a1d37d607 update burn/mint to use AccountPostState 2025-12-07 20:29:25 -05:00
jonesmarvin8
c6e68ff9b1
Merge pull request #226 from logos-blockchain/main
main into burn
2025-12-07 20:27:27 -05:00
jonesmarvin8
8506f5948f Merge branch 'main' into simple_amm 2025-12-06 20:07:12 -05:00
jonesmarvin8
a11155e441 Merge branch 'simple_amm' of https://github.com/logos-blockchain/lssa into simple_amm 2025-12-06 20:03:14 -05:00
jonesmarvin8
3a3c6f5507 state tests fixed and clean up 2025-12-06 20:03:05 -05:00
jonesmarvin8
106b33a57f
Merge pull request #225 from logos-blockchain/marvin/token_burn_mint
Marvin/token burn mint
2025-12-06 16:45:11 -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
jonesmarvin8
c6cde35203 added burn/mint and tests 2025-12-05 21:01:36 -05:00
Sergio Chouhy
7e971a6c4d Merge branch 'main' into schouhy/implement-pda-for-public-accounts 2025-12-05 10:00:23 -03:00
jonesmarvin8
97f2e93f8a initialize branch 2025-12-04 21:55:12 -05: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
925ae8d0c1 fmt 2025-12-04 21:34:47 -03:00
Sergio Chouhy
a84b18f22c remove unnecessary type annotation 2025-12-04 16:46:43 -03: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
068bfa0ec5 add docstrings. Remove unused method 2025-12-04 10:10:01 -03:00
Sergio Chouhy
686eb787c9 fix test names 2025-12-04 10:02:29 -03:00
Sergio Chouhy
3393c55768 fix program deployment integration test 2025-12-03 19:59:58 -03:00
Sergio Chouhy
ed949c07b1 nit 2025-12-03 17:38:45 -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