366 Commits

Author SHA1 Message Date
jonesmarvin8
9601e0053e removed enums 2025-12-19 20:05:42 -05:00
jonesmarvin8
de1bf770f0 update comments 2025-12-12 19:09:59 -05:00
jonesmarvin8
3acc51ac87 rebased with main token program 2025-12-12 16:50:13 -05: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
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
70c228dbec fixed formatting and added overflow/underflow 2025-12-09 15:28:32 -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
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
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
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
Sergio Chouhy
d677db7f4e add account post state struct with claiming request field 2025-12-03 15:17:33 -03:00
Sergio Chouhy
407c3f3c95 improve expect message 2025-12-02 16:27:22 -03:00
Sergio Chouhy
dcef017f9b nit 2025-12-02 12:12:56 -03:00
Sergio Chouhy
468b39bc32
Merge pull request #203 from vacp2p/schouhy/add-init-function-to-token-program
Add init function to the token program
2025-12-02 12:11:49 -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
bfbd50e8cb add docs 2025-11-28 17:09:38 -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
Pravdyvy
46515ce695 Merge branch 'main' into Pravdyvy/deterministic-key-derivation 2025-11-28 09:18:02 +02:00