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

feat: add IN_ADDR_ANY for V4 and V6 #461

Merged
merged 4 commits into from
Nov 9, 2024
Merged

feat: add IN_ADDR_ANY for V4 and V6 #461

merged 4 commits into from
Nov 9, 2024

Conversation

tbraun96
Copy link
Collaborator

@tbraun96 tbraun96 commented Nov 8, 2024

Summary:

This pull request introduces support for binding to IN_ADDR_ANY for both IPv4 and IPv6 addresses. This enhancement improves peer discovery, increases the probability of successful NAT traversal, and supports both internal testing and external peer connections.

Files Changed:

  • blueprints/incredible-squaring-eigenlayer/contracts/lib/forge-std: Modified subproject commit.
  • blueprints/incredible-squaring/contracts/lib/forge-std: Modified subproject commit.
  • sdk/src/network/setup.rs: Added support for binding to multiple IP addresses for peer discovery and NAT traversal.
  • View More Files Changed: GitHub PR Files

Copy link
Contributor

@shekohex shekohex left a comment

Choose a reason for hiding this comment

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

when I use your branch in my blueprint and run tests using blueprint test utils, I get the following error:

   0: Failed to start the network: Other(Custom { kind: Other, error: Other(Right(Transport(Right(Io(Os { code: 98, kind: AddrInUse, message: "Address already in use" }))))) })

So I guess this broken.

@tbraun96 tbraun96 changed the title feat: add IN_ADDR_ANY and IN_ADDR_LOOPBACK for V4 and V6 with support feat: add IN_ADDR_ANY for V4 and V6 Nov 8, 2024
Copy link
Contributor

@shekohex shekohex left a comment

Choose a reason for hiding this comment

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

This is now working.

@drewstone drewstone merged commit ac13787 into main Nov 9, 2024
13 checks passed
This was referenced Nov 9, 2024
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