Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change rlp to alloy-rlp #46

Merged
merged 25 commits into from
Nov 29, 2023
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4d04cc3
change rlp to alloy-rlp
armaganyildirak Aug 9, 2023
06373c5
clippy
armaganyildirak Aug 9, 2023
2160b4b
Working on decode function
armaganyildirak Aug 11, 2023
2f82a44
Working on rlp_content, still has problems
armaganyildirak Aug 14, 2023
795fbb8
fix the rlp_content
armaganyildirak Aug 14, 2023
733287d
implement the encode still have a problem with test_rlp_list_value
armaganyildirak Aug 16, 2023
332149c
fix tests
armaganyildirak Aug 17, 2023
417d1b9
fix the clippy issues
armaganyildirak Aug 25, 2023
3584010
fmt
armaganyildirak Aug 25, 2023
31d7011
prepared for discv5
armaganyildirak Sep 1, 2023
979ffed
remove unnecessary change
armaganyildirak Sep 1, 2023
8c445fb
fix merge confilicts
armaganyildirak Sep 15, 2023
7e9224c
remove unused dependency
armaganyildirak Sep 15, 2023
a48d546
use less to_vec
armaganyildirak Sep 25, 2023
21a779e
fmt and clippy
armaganyildirak Sep 25, 2023
66ecdf4
working on encode
armaganyildirak Sep 25, 2023
779b85e
don't use octects
armaganyildirak Sep 25, 2023
68c7af0
updates after review
armaganyildirak Oct 9, 2023
e74ecbd
fix merge conflicts
armaganyildirak Oct 9, 2023
b2b35ba
updates after review
armaganyildirak Oct 9, 2023
f2effcc
Merge branch 'master' into alloy-rlp
armaganyildirak Oct 13, 2023
9151474
changes after review
armaganyildirak Oct 20, 2023
106b0d7
Merge branch 'sigp:master' into alloy-rlp
armaganyildirak Oct 23, 2023
34fb134
Merge branch 'master' into alloy-rlp
armaganyildirak Nov 6, 2023
1ba4728
fix merge conflicts
armaganyildirak Nov 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
don't use octects
  • Loading branch information
armaganyildirak committed Sep 25, 2023
commit 779b85e9bff9f41bc0d0816d564fd5e7e94ee6e3
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -616,7 +616,7 @@ impl<K: EnrKey> Enr<K> {
let (prev_ip, prev_port) = match socket.ip() {
IpAddr::V4(addr) => {
let mut ip = BytesMut::new();
addr.octets().encode(&mut ip);
addr.encode(&mut ip);
let mut port = BytesMut::new();
socket.port().encode(&mut port);
(
@@ -628,7 +628,7 @@ impl<K: EnrKey> Enr<K> {
}
IpAddr::V6(addr) => {
let mut ip6 = BytesMut::new();
addr.octets().encode(&mut ip6);
addr.encode(&mut ip6);
let mut port = BytesMut::new();
socket.port().encode(&mut port);
(