133 Commits

Author SHA1 Message Date
jonesmarvin8
5baa759283
Update nssa/program_methods/guest/src/bin/token.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-22 18:26:33 -05:00
jonesmarvin8
ca7cc10f7c
Update nssa/program_methods/guest/src/bin/token.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-22 18:26:19 -05:00
jonesmarvin8
c49a3afec7
Update nssa/program_methods/guest/src/bin/token.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-22 18:25:21 -05:00
jonesmarvin8
fe3c11fd3e
Update nssa/program_methods/guest/src/bin/token.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-22 18:24:59 -05:00
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
4574acfc49 feat: introduce account data size limit 2025-12-09 20:26:02 +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
a84b18f22c remove unnecessary type annotation 2025-12-04 16:46:43 -03:00
Sergio Chouhy
cf9c567e29 remove pub attribute 2025-12-04 16:26:40 -03:00
Sergio Chouhy
ed949c07b1 nit 2025-12-03 17:38:45 -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
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