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

chore: bump discv5 to 0.9 includes NAT fixes + other improvements #1639

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

KolbyML
Copy link
Member

@KolbyML KolbyML commented Jan 16, 2025

What was wrong?

We are using a fairly old version of discv5 0.4.1 there has been quote a few improvements

  • Automatic Firewall/NAT Detection
  • Increase default vote duration to 2 minutes
  • Respond to requests from peers with invalid ENRs
  • Remove unused event EnrAdded
  • Prevent storing non-contactable ENRs

How was it fixed?

by bumping the version and updating what is required

sigp/discv5 had a regression when updating from 0.4.1 to 0.5.0 when upgrading from parity rlp to alloy_rlp. I made a fix here, sigp/discv5#276 I have set the cargo.toml to point to my PR for now, we can update to a release when it is merge in. These improvements seem pretty big so I think they are worth getting in

@KolbyML KolbyML changed the title chore: bump discv5 to 0.9 includes NAT fixes chore: bump discv5 to 0.9 includes NAT fixes + other improvements Jan 16, 2025
@KolbyML KolbyML force-pushed the debug-trin-performance branch from f2d3f7d to 0515537 Compare January 17, 2025 01:21
@KolbyML KolbyML force-pushed the debug-trin-performance branch from 0515537 to 7b846e3 Compare January 17, 2025 03:39
@KolbyML KolbyML self-assigned this Jan 17, 2025
@KolbyML KolbyML marked this pull request as ready for review January 17, 2025 03:43
Copy link
Collaborator

@morph-dev morph-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Maybe create an issue to update discv5 dependency when your fix is merged and version is released.

@KolbyML KolbyML merged commit eef1184 into ethereum:master Jan 17, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants