Commit Graph

154 Commits

Author SHA1 Message Date
f45ca74772 refactor(consensus, evm): move post-execution validation to consensus (#8321) 2024-05-22 17:20:14 +00:00
f20e4cbad8 debt(discv5): discv5 integration into network (#8065) 2024-05-03 12:38:26 +00:00
aef1bcc435 chore: make clippy happy (#8068) 2024-05-03 10:18:41 +00:00
14d91c3ba0 fix: make discv4 packets adhere to eip-8 (#8039) 2024-05-02 13:58:17 +00:00
581682605c fix(net, discv4): call find_node with valid endpoint (#8002) 2024-04-30 16:38:52 +00:00
6d7cd53ad2 chore(discv4): limit number of queued pings (#7999)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-30 14:30:00 +00:00
d0973bb6dc fix: correct expiration for discv4 lookup requests (#7996) 2024-04-30 14:23:32 +00:00
cc4a418ddf refactor: extract peer types to net/types (#7912)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-27 04:18:59 +00:00
6425064d07 fix: use enrforkid in dns (#7900)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-04-26 09:24:26 +00:00
e2e5201d8a chore(deps): bump enr, discv5, secp256k1 (#7000)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-04-25 19:50:38 +00:00
4c4aaafff4 test: add test_requests_timeout() for disv4 (#7693) 2024-04-17 09:44:30 +00:00
5efe17370f test: extend test_pending_ping() to respect limit of pending_pings (#7520) 2024-04-09 12:18:04 +00:00
d6dd1c2dab chore: use while for all poll_tick() to make code consistent (#7510) 2024-04-08 15:15:25 +00:00
cc2d84a808 chore: set expiration duration properly (#7507) 2024-04-08 11:54:47 +00:00
3cafd586cf feat(discv5): config via cli (#7394) 2024-04-03 12:27:46 +00:00
c13d7da68d chore: move pk2id and id2pk to primitives (#7382) 2024-03-29 21:43:52 +00:00
a31202670b chore: apply some style suggestions (#7307) 2024-03-24 22:52:33 +00:00
170306d3bd support IPv6 for NetworkArgs.addr and DiscoveryArgs.addr (#7210) 2024-03-19 14:28:30 +00:00
5b94dbb697 perf: replace BytesMut with alloy_rlp::encode (#7170) 2024-03-18 23:20:39 +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
b66f54d9eb chore(deps): bump ethers to 2.0.14, enr to 0.10, unpin discv5 (#6634)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-06 18:30:38 +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
19ff1fb35c chore: downgrade discv4 debug! to trace! (#6879) 2024-02-29 14:08:32 +00:00
0f26cd6df3 fix: get MAX_NODES_PER_BUCKET when respond closest (#6842) 2024-02-28 14:18:24 +00:00
94cb6a8bcd chore: use Display instead of Debug for most errors (#6777) 2024-02-24 12:13:41 +00:00
6890e02310 fmt: format tracing macro calls (#6776) 2024-02-24 10:58:01 +00:00
9ca813aee2 chore: remove some unnecessary calls to unwrap/expect (#6727) 2024-02-22 16:36:08 +00:00
477a0185e2 docs: finish missing doc (#6668) 2024-02-19 11:30:51 +00:00
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
2b92948501 chore: discv4 touchups (#6639)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-02-18 01:13:14 +00:00
189d76735e fix: initial total_bytes value for response limit and typos (#6449) 2024-02-06 21:33:00 +00:00
ea36b58cb2 add missing documentation and minor refactor (#6152) 2024-01-22 10:26:47 +00:00
90e1c432de feat(discv4): small improvements and documentation for discv4 (#6149) 2024-01-21 15:54:46 +00:00
e2687c4525 chore: avoid .as_ref().to_vec() when Into<Vec<u8>> is available (#6071) 2024-01-15 10:21:54 +00:00
2287392405 feat: Add random lookup for discv4 (#5975) 2024-01-08 17:52:24 +00:00
bc192d9361 chore: make clippy happy (#5959) 2024-01-06 13:30:59 +01:00
92f33b071c add missing documentation for various crates (#5950) 2024-01-05 13:10:37 +00:00
9aa44093cf lints: move top-level lints to [workspace.lints] manifest table (#5935) 2024-01-04 13:38:02 +00:00
b1b059fe9b chore: clean up lints (#5881) 2023-12-28 16:23:50 +00:00
e897764ad4 chore(meta): manifest maintenance (#5353) 2023-11-08 19:53:50 +00:00
470449ff24 fmt: format doc comments (#5308) 2023-11-05 13:06:30 +00:00
9ca44efe9f feat(bin): separate journald and file log filters, log debug to file by default (#5197) 2023-10-31 11:08:15 +00:00
e05dba69ce chore: rewrite all error messages for consistency (#5176)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-10-25 20:12:03 +00:00
505c6bc826 docs: add note about ignore version field (#4994) 2023-10-12 13:43:43 +02:00
a2c62cdf61 rpc tracing to workspace (#4986) 2023-10-11 16:19:06 +00:00
5de04430fd fix(disc) Send find_node request only after verifiying our endpoint proof (#4909) 2023-10-07 11:59:32 +00:00
6f4febc891 feat: add discv4 terminate (#4879)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-10-03 11:16:19 +00:00