Commit Graph

250 Commits

Author SHA1 Message Date
8382529f7a chore: pull async-stream into workspace deps (#7794) 2024-04-22 12:09:10 +00:00
3826772886 chore: fix some warnings (#7515) 2024-04-08 18:10:10 +00:00
1ad13b95d8 feature: eth-wire types standalone crate (#7373)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-01 17:29:15 +00:00
c13d7da68d chore: move pk2id and id2pk to primitives (#7382) 2024-03-29 21:43:52 +00:00
4d798c7b65 feature: Add timeouts for handshake functions (#7295) 2024-03-26 21:34:32 +00:00
d2fb8f245a fix: some minor nits in txpool code (#7330) 2024-03-25 19:34:00 +00:00
074af7b901 Check RequestPair payload length during decoding (#7292) 2024-03-25 17:19:31 +00:00
61801b98b6 fix: Returns an error if multiplex message is empty (#7314) 2024-03-25 11:29:41 +00:00
a31202670b chore: apply some style suggestions (#7307) 2024-03-24 22:52:33 +00:00
a3d2e903a9 Safe rlpx capability id masking (#7297) 2024-03-22 17:51:20 +00:00
f96d790661 fix: validate empty item in p2p start_send (#7294) 2024-03-22 17:09:29 +00:00
jn
ea5535cc28 fix: DisconnectReason::decode should return error on zero length list (#7284) 2024-03-21 19:52:59 +00:00
d91274eaa2 Enable clippy's redundant_clone linter (#7202)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-19 01:35:04 +00:00
b7ef60b899 Enable clippy's uninlined_format_args linter (#7204)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 23:29:19 +00:00
5b94dbb697 perf: replace BytesMut with alloy_rlp::encode (#7170) 2024-03-18 23:20:39 +00:00
f7d3cc5a09 Enable clippy's trait_duplication_in_bounds linter (#7201)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 22:53:17 +00:00
80c5fcbd36 Enable clippy's empty_line_after_outer_attr linter (#7200) 2024-03-18 21:59:03 +00:00
d2c8b77e64 perf: replace BytesMut with alloy_rlp::encode (#7087) 2024-03-14 12:11:20 +00:00
81291ff0fb chore: more Vec over BytesMut (#7084) 2024-03-11 12:50:50 +00:00
3c028e5ef4 chore: fix typos (#7049) 2024-03-08 14:23:37 +00:00
7fa35042dd perf: replace BytesMut with alloy_rlp::encode (#7047)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-08 13:56:28 +00:00
6f8d1a8137 Rename TxType variants to UpperCamelCase (#7012) 2024-03-06 17:36:58 +00:00
a1df972464 chore: remove most ethers mentions and code (#6999) 2024-03-06 14:38:15 +00:00
ec401aa781 rm deposit from pooledtx (#6941)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-05 10:48:50 +00:00
d6bd0a67e3 Small tx response verification optimisation (#6911) 2024-03-03 17:35:00 +00:00
5e2cac442f 0x/rm unused dep (#6899)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-01 11:34:31 +00:00
defe34f04f chore: unify decode enveloped fn args (#6904) 2024-03-01 11:32:15 +00:00
7d36206dfe fix: handle both compressed and uncompressed disconnect reason decoding (#6862) 2024-02-29 15:31:11 +00:00
6b5b6f7a40 Breaking changes (#5191)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: joshieDo <ranriver@protonmail.com>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Thomas Coratger <thomas.coratger@gmail.com>
2024-02-29 12:37:28 +00:00
3519270c69 remove proptest specific encoding logic (#6503)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-02-28 21:45:51 +00:00
0007c9a4d2 Verify tx response data against request (#6439)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
2024-02-27 17:09:27 +00:00
4fe0f27974 fix(ci): allow non_local_definitions on false positives (#6790) 2024-02-26 12:20:08 +00:00
94cb6a8bcd chore: use Display instead of Debug for most errors (#6777) 2024-02-24 12:13:41 +00:00
12b3bae53d fmt: format some tests (#6774) 2024-02-24 11:16:40 +00:00
34402caeee Replace #[async_trait] with ->imp for traits in eth_wire (#6756) 2024-02-23 16:45:25 +00:00
9ca813aee2 chore: remove some unnecessary calls to unwrap/expect (#6727) 2024-02-22 16:36:08 +00:00
d7a2123181 Bug fix, filter out already imported transactions (#6723) 2024-02-22 11:37:03 +00:00
f475adf243 Clean up tx manager (#6681) 2024-02-21 19:12:14 +00:00
c8c422e278 chore: set test-fuzz to workspace dep, bump c-kzg (#6705) 2024-02-21 10:03:07 +00:00
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
c0f3d38ad9 Speed up request buffered hashes (#6318)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: back <104515688+justcode740@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-13 18:57:43 +00:00
85d4f18582 Add serde feature to ethereum-forks crate (#6476) 2024-02-08 03:32:55 +00:00
189d76735e fix: initial total_bytes value for response limit and typos (#6449) 2024-02-06 21:33:00 +00:00
75132dabba Fix bug hashes buffered for busy peer gave false-positive on eth68 check (#6427) 2024-02-05 22:39:45 +00:00
262a9c16c2 chore: add missing is functions (#6309) 2024-01-31 19:22:21 +00:00
34cda3a99f Sanitise eth68 announcement (#6222)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-01-31 13:19:51 +00:00
9c9be5796a doc(eth-wire): add missing documentation for message mod (#6232) 2024-01-25 21:29:38 +00:00
66ac0fdc5b feat: Implement fixed vec arbitrary manually for NewPooledTransactions68 (#6184)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-24 13:33:08 +01:00
e1e81059fe Validation on decoding NewPooledTransactions68 (#6090) 2024-01-23 11:06:28 +00:00
b713408331 Bug fix tx fetcher RUST_LOG=trace & add state dump to debug_assert error (#6146) 2024-01-22 15:37:56 +00:00