156 Commits

Author SHA1 Message Date
Oleksandr Pravdyvyi
1c4ec47f1a Merge branch 'main' into schouhy/add-clippy-to-ci 2025-07-18 10:11:50 +03:00
Sergio Chouhy
5b49156a5f Merge branch 'main' into schouhy/remove-precomputed-hash-from-transaction 2025-07-17 08:17:32 -03:00
Sergio Chouhy
a4deb42d3d Merge branch 'main' into schouhy/add-signatures-to-transactions 2025-07-17 08:09:46 -03:00
Pravdyvy
103804683d
Merge pull request #86 from vacp2p/Pravdyvy/utxo-nullifier-fix
UTXO nullifier calculation fix and circuits updates
2025-07-17 13:48:49 +03:00
Pravdyvy
0211ff78e1
Update Cargo.toml 2025-07-17 08:56:11 +03:00
Oleksandr Pravdyvyi
19de364958 fix: zkvm version bump 2025-07-17 07:53:03 +03:00
Sergio Chouhy
c60c7235c1 add getter for transaction body and test it 2025-07-16 13:30:30 -03:00
Sergio Chouhy
b6ea00daa4 add transactions tests 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
Oleksandr Pravdyvyi
14b35a93c0 feat: new public transaction kind 2025-07-16 12:31:47 +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
b115313955 Merge branch 'schouhy/update-risc0-version' into Pravdyvy/sequencer-account-store-modifications 2025-07-11 07:52:53 +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
5d5dde33b7 fix: utxo nullifier calculation fix and circuits updates 2025-06-26 07:21:31 +03:00
Oleksandr Pravdyvyi
f491266105 fix: lint fix 2 2025-06-18 14:32:30 +03:00
Oleksandr Pravdyvyi
cdd1bdbfbd fix: lints fix 2025-06-18 13:56:09 +03:00
Rostyslav Tyshko
5e3fd4bbf8 update risc0 version 2025-06-11 02:08:36 -04:00
Pravdyvy
0d577da288
Merge pull request #73 from vacp2p/Pravdyvy/sparse-merkle-tree-storage-preparation
Sparse Merkle Tree -> HashSet Migration
2025-05-28 21:17:40 +03:00
Oleksandr Pravdyvyi
8d3ee36392 fix: suggersion added 1 2025-05-28 08:23:54 +03:00
Rostyslav Tyshko
a642946665 add asserts to test 2025-05-28 01:05:44 -04:00
Oleksandr Pravdyvyi
cb22a95df2 fix: smt/imt replaced with sets 2025-05-23 09:04:04 +03:00
Oleksandr Pravdyvyi
00297db3ab feat: indexed tree migration 1 2025-05-22 00:13:17 +03:00
Rostyslav Tyshko
4ba4c12a87 rm unused 2025-05-16 19:16:45 -04:00
Rostyslav Tyshko
b4c0fb9351 fmt 2025-05-16 18:40:45 -04:00
Rostyslav Tyshko
2346f06d23 add a test 2025-05-16 18:39:39 -04:00
Rostyslav Tyshko
cdb8e3a08a impleDeserialize for HashStorageMerkleTree 2025-05-16 18:39:24 -04:00
Rostyslav Tyshko
9df2b51813 imple Visitor for HashStorageMerkleTreeDeserializer 2025-05-16 18:38:36 -04:00
Rostyslav Tyshko
0daffaf4ad HashStorageMerkleTreeDeserializer 2025-05-16 18:37:58 -04:00
Rostyslav Tyshko
96dc9bd840 serialize for HashStorageMerkleTree 2025-05-16 18:37:38 -04:00
Oleksandr Pravdyvyi
cde9f0a5c8 feat: sparse trees preparation for serialization 2025-05-15 11:38:37 +03:00
Oleksandr Pravdyvyi
825e80a5a0 fix: issue fix 2025-04-24 15:51:34 +03:00
Rostyslav Tyshko
1a33d464f0 rm unused 2025-04-18 08:16:26 -04:00
Oleksandr Pravdyvyi
8e4956891c fix: refactor 1 2025-04-16 16:17:53 +03:00
Rostyslav Tyshko
bbb84cd849 add new type of error, since we have a new interaction 2025-04-09 01:30:10 -04:00
Oleksandr Pravdyvyi
305e8d7296 fix: risc0 version bump 2025-03-28 17:45:02 +02:00