683 Commits

Author SHA1 Message Date
Oleksandr Pravdyvyi
00532b564b fix: comments fix 1 2025-07-17 08:09:27 +03:00
Oleksandr Pravdyvyi
19de364958 fix: zkvm version bump 2025-07-17 07:53:03 +03:00
Sergio Chouhy
91ca3af477
Merge pull request #93 from vacp2p/schouhy-add-mit-license
Add MIT LICENSE
2025-07-16 17:50:47 -03:00
Sergio Chouhy
079b343981 remove unused hash parameter in dummy function 2025-07-16 13:51:13 -03:00
Sergio Chouhy
c60c7235c1 add getter for transaction body and test it 2025-07-16 13:30:30 -03:00
Sergio Chouhy
e79c30f765 add test for signing key getter 2025-07-16 13:30:30 -03:00
Sergio Chouhy
b6ea00daa4 add transactions tests 2025-07-16 13:30:30 -03:00
Sergio Chouhy
ab06501e04 rename scenarios 2025-07-16 13:30:30 -03:00
Sergio Chouhy
8b1d3b478c minor refactor 2025-07-16 13:30:30 -03:00
Sergio Chouhy
b1724ec235 move mempool checks outside transaction check function 2025-07-16 13:30:30 -03:00
Sergio Chouhy
1ef7be0af6 add pem feature to k256 and remove manual impls of Serialize and Deserialize 2025-07-16 13:30:28 -03:00
Sergio Chouhy
e7b727c0ba make sequencer validate transaction signatures before adding transactions to blocks 2025-07-16 13:30:28 -03:00
Sergio Chouhy
6e48bcfd9e sign transactions from node's end 2025-07-16 13:30:24 -03:00
Sergio Chouhy
f02c97e622 rename structs. Implement serde for AuthenticatedTransaction 2025-07-16 13:30:24 -03:00
Sergio Chouhy
a174eb4b85 add un/verified signed transaction structs 2025-07-16 13:30:18 -03:00
Sergio Chouhy
f0c8e19e64
Create MIT LICENSE 2025-07-16 10:38:59 -03:00
Oleksandr Pravdyvyi
14b35a93c0 feat: new public transaction kind 2025-07-16 12:31:47 +03:00
Oleksandr Pravdyvyi
38b57df883 fix: rate limit refetch 2025-07-16 08:18:44 +03:00
Oleksandr Pravdyvyi
eee7cc1397 fix: comments fix 2025-07-16 08:10:49 +03:00
Oleksandr Pravdyvyi
90205c6330 fix: account masks updates to safe state 2025-07-15 12:49:19 +03:00
Oleksandr Pravdyvyi
2078867d7b Merge branch 'schouhy/update-risc0-version' into Pravdyvy/utxo-nullifier-fix 2025-07-15 12:33:43 +03:00
Oleksandr Pravdyvyi
a24a40f4bc fix: docs added 2025-07-14 13:25:40 +03:00
Oleksandr Pravdyvyi
5f4d6c0f8d fix: additional test with other accounts 2025-07-14 13:17:46 +03:00
Oleksandr Pravdyvyi
a43a32fc55 feat: initial accounts configuration 2025-07-14 10:43:35 +03:00
Moudy
d76358c37f
Update README.md 2025-07-13 23:12:31 +02:00
Oleksandr Pravdyvyi
5e9c6a0677 feat: preset accounts in sequencer account store 2025-07-11 10:34:13 +03:00
Oleksandr Pravdyvyi
b115313955 Merge branch 'schouhy/update-risc0-version' into Pravdyvy/sequencer-account-store-modifications 2025-07-11 07:52:53 +03:00
Sergio Chouhy
b49f38ca4b avoid computing hash multiple times in transaction_pre_check 2025-07-10 14:35:41 -03:00
Sergio Chouhy
e79261a566 Merge branch 'schouhy/update-risc0-version' into schouhy/remove-precomputed-hash-from-transaction 2025-07-10 14:16:55 -03:00
Sergio Chouhy
1d4548fb3b bump risc0 version to 2.2 2025-07-10 14:15:07 -03:00
Sergio Chouhy
e286108bb5 add TODO to remove unwrap 2025-07-10 13:00:27 -03:00
Sergio Chouhy
81b6d34693 add Transaction::hash inline docs 2025-07-10 12:52:48 -03:00
Sergio Chouhy
b16575b407 fmt 2025-07-10 12:16:05 -03:00
Sergio Chouhy
f01be72d8f move impl of hash to existing impl Transaction block 2025-07-10 12:15:37 -03:00
Sergio Chouhy
e1e018fcfc remove redundant TransactionPayload struct 2025-07-10 12:13:36 -03:00
Sergio Chouhy
16e3a682fe add test for hash function 2025-07-10 12:09:01 -03:00
Sergio Chouhy
789dec673e remove hash attribute from Transaction and use a method instead 2025-07-10 11:35:46 -03:00
Oleksandr Pravdyvyi
54284be74b fix: account data public only for sequencer 2025-07-09 16:03:30 +03:00
Oleksandr Pravdyvyi
8e987847ee feat: AccountPublicData struct changed 2025-07-09 08:16:12 +03:00
Rostyslav Tyshko
28005ae633 fmt 2025-06-26 23:18:30 -04:00
Rostyslav Tyshko
b31f753c11 add test_prove_send_utxo_multiple_assets_one_receiver 2025-06-26 23:18:18 -04:00
Rostyslav Tyshko
a5c8e5125c add test_prove_send_utxo_shielded 2025-06-26 23:17:58 -04:00
Rostyslav Tyshko
553e37b701 add test_prove_send_utxo_deshielded 2025-06-26 23:17:34 -04:00
Rostyslav Tyshko
90231f76cc add test_prove_send_utxo 2025-06-26 23:17:14 -04:00
Rostyslav Tyshko
d9696e77eb add test_prove_mint_utxo 2025-06-26 23:16:56 -04:00
Rostyslav Tyshko
d0c5040fe9 add test_execute_mint_utxo 2025-06-26 23:16:37 -04:00
Rostyslav Tyshko
eb14d632d9 add test_gas_limits_check_insufficient_funds 2025-06-26 23:15:45 -04:00
Rostyslav Tyshko
2fadf0c82f add test_gas_limits_check_sufficient_funds 2025-06-26 23:15:14 -04:00
Rostyslav Tyshko
c1aa0d0004 fix unused results 2025-06-26 22:19:10 -04:00
Oleksandr Pravdyvyi
5d5dde33b7 fix: utxo nullifier calculation fix and circuits updates 2025-06-26 07:21:31 +03:00