97 Commits

Author SHA1 Message Date
Sergio Chouhy
6a38c2eaa2 ad test 2025-07-29 15:41:57 -03:00
Sergio Chouhy
a1d53ee6f0 use tempdir for tests 2025-07-29 15:29:00 -03:00
Sergio Chouhy
4300e87485 refactor address to avoid code repetition in computing addresses from public keys 2025-07-29 15:23:54 -03:00
Sergio Chouhy
76a023c33a remove unused nonce method 2025-07-29 12:51:33 -03:00
Sergio Chouhy
966a5c9a04 Merge branch 'Pravdyvy/state-transition-token-transfer' into schouhy/prevent-replay-attacks-with-nonces
fix test
2025-07-29 12:50:30 -03:00
Oleksandr Pravdyvyi
e72df20b60
fix: test fix 2025-07-29 15:04:38 +03:00
Oleksandr Pravdyvyi
5d7d6278ee
fix: updates and tests 2025-07-29 14:20:03 +03:00
Sergio Chouhy
f21c0df652 wip: added nonces and test 2025-07-28 16:09:03 -03:00
Sergio Chouhy
484c22b649 Merge branch 'Pravdyvy/state-transition-token-transfer' into schouhy/prevent-replay-attacks-with-nonces 2025-07-28 15:22:19 -03:00
Sergio Chouhy
70b31856e9 wip 2025-07-28 15:21:35 -03:00
Oleksandr Pravdyvyi
c546af7865
fix: correct sender check fix 2025-07-25 19:46:23 +03:00
Oleksandr Pravdyvyi
3de86d975e
Merge branch 'main' into Pravdyvy/state-transition-token-transfer 2025-07-25 10:04:31 +03:00
Oleksandr Pravdyvyi
d232cecbb0
fix: comments fix 2 2025-07-25 10:00:27 +03:00
Oleksandr Pravdyvyi
41b65521f9
fix: comments fix 1 2025-07-24 16:05:27 +03:00
Sergio Chouhy
8a31522444 Merge branch 'main' into schouhy/add-get-transaction-rpc-method 2025-07-24 08:35:32 -03:00
Sergio Chouhy
6ede7eac16 add TODO 2025-07-24 08:21:20 -03:00
Oleksandr Pravdyvyi
95fec47897
fix: merge lint test fixes 2025-07-24 09:14:38 +03:00
Oleksandr Pravdyvyi
262531799b
Merge branch 'main' into Pravdyvy/state-transition-token-transfer 2025-07-23 19:03:54 +03:00
Oleksandr Pravdyvyi
872986926e
fix: merge clippy fix 2025-07-23 17:44:40 +03:00
Oleksandr Pravdyvyi
d9ced25e98
Merge branch 'main' into schouhy/add-clippy-to-ci 2025-07-23 17:41:40 +03:00
Oleksandr Pravdyvyi
8604a672bd
fix: merge fix 2025-07-23 15:53:00 +03:00
Oleksandr Pravdyvyi
0f82c0ec05
Merge branch 'main' into schouhy/add-clippy-to-ci 2025-07-23 15:41:53 +03:00
Oleksandr Pravdyvyi
5b2af29efd
fix: fixes and retrieval methods 2025-07-23 15:16:53 +03:00
Sergio Chouhy
3e54156abf improve test so that it covers the map update logic 2025-07-22 13:25:15 -03:00
Sergio Chouhy
5dd7d25762 nit 2025-07-22 12:58:54 -03:00
Sergio Chouhy
98631721fa add test 2025-07-22 12:27:42 -03:00
Sergio Chouhy
9d85ea234e add get transaction by hash rpc method 2025-07-22 10:23:52 -03:00
Oleksandr Pravdyvyi
9f8724ee4c
feat: native token transactions 2 2025-07-22 15:22:20 +03:00
Sergio Chouhy
71fdce8050 remove unused dependencies 2025-07-21 19:13:43 -03:00
Sergio Chouhy
a6cb55221b Merge branch 'main' into schouhy/add-signatures-to-transactions 2025-07-21 17:58:02 -03:00
Oleksandr Pravdyvyi
eb16534ad9 fix: fmt 2025-07-18 11:25:50 +03:00
Oleksandr Pravdyvyi
b9d3f921e9 fix: latest lint fixes 2025-07-18 11:13:45 +03:00
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
Oleksandr Pravdyvyi
de8462803d fix: api rate limit refetch 2025-07-17 11:51:46 +03:00
Oleksandr Pravdyvyi
8b6769d7e8 fix: comments fix 2 2025-07-17 08:22:04 +03:00
Oleksandr Pravdyvyi
00532b564b fix: comments fix 1 2025-07-17 08:09:27 +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
f02c97e622 rename structs. Implement serde for AuthenticatedTransaction 2025-07-16 13:30:24 -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
Oleksandr Pravdyvyi
5e9c6a0677 feat: preset accounts in sequencer account store 2025-07-11 10:34:13 +03:00
Sergio Chouhy
b49f38ca4b avoid computing hash multiple times in transaction_pre_check 2025-07-10 14:35:41 -03:00