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

fix: setFallbackIP with reported libp2p addr #808

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Conversation

richard-ramos
Copy link
Member

Description

While testing shards.test fleet, i noticed that when discv5 endpoint predictor fails, the node's IP address reported in the ENR was 127.0.0.1 regardless of the value being set. With this change, the reported libp2p address will be set as fallback address to be used in case endpoint predictor fails to obtain the IP address

@status-im-auto
Copy link

status-im-auto commented Oct 16, 2023

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 5dd87d4 #1 2023-10-16 19:27:43 ~2 min nix-flake 📄log
✔️ 5dd87d4 #1 2023-10-16 19:28:05 ~2 min linux 📦deb
✔️ 5dd87d4 #1 2023-10-16 19:29:03 ~3 min tests 📄log
✔️ 5dd87d4 #1 2023-10-16 19:29:07 ~3 min tests 📄log
✔️ 5dd87d4 #1 2023-10-16 19:29:31 ~4 min android 📦tgz
✔️ 5dd87d4 #1 2023-10-16 19:30:36 ~5 min ios 📦tgz
✔️ c274c09 #2 2023-10-17 14:13:15 ~1 min nix-flake 📄log
✔️ c274c09 #2 2023-10-17 14:13:43 ~2 min linux 📦deb
✔️ c274c09 #2 2023-10-17 14:14:41 ~3 min tests 📄log
✔️ c274c09 #2 2023-10-17 14:14:51 ~3 min tests 📄log
✔️ c274c09 #2 2023-10-17 14:15:03 ~3 min ios 📦tgz
✔️ c274c09 #2 2023-10-17 14:15:16 ~3 min android 📦tgz

Copy link
Collaborator

@chaitanyaprem chaitanyaprem left a comment

Choose a reason for hiding this comment

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

LGTM

@richard-ramos richard-ramos merged commit bfee996 into master Oct 17, 2023
10 of 11 checks passed
@richard-ramos richard-ramos deleted the fix/fallback-ip branch October 17, 2023 14:33
@richard-ramos richard-ramos added the track:go-waku-productionization go-waku productionization track (Waku Product) label Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
track:go-waku-productionization go-waku productionization track (Waku Product)
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants