Skip to content

Comments

fix: auto-populate ENR UDP port from discovery listen port#8804

Merged
mergify[bot] merged 1 commit intosigp:unstablefrom
selfuryon:fix/enr-udp
Feb 12, 2026
Merged

fix: auto-populate ENR UDP port from discovery listen port#8804
mergify[bot] merged 1 commit intosigp:unstablefrom
selfuryon:fix/enr-udp

Conversation

@selfuryon
Copy link

When --discovery-port is set without --enr-udp-port, the UDP port was missing from the ENR. TCP and QUIC ports already had fallback logic to use the listen port, but UDP did not. This adds the same .or_else() fallback for udp4/udp6 using disc_port from listen addresses.

When --discovery-port is set without --enr-udp-port, the UDP port was
missing from the ENR. TCP and QUIC ports already had fallback logic to
use the listen port, but UDP did not. This adds the same .or_else()
fallback for udp4/udp6 using disc_port from listen addresses.
@selfuryon selfuryon requested a review from jxs as a code owner February 12, 2026 01:22
@cla-assistant
Copy link

cla-assistant bot commented Feb 12, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@pawanjay176 pawanjay176 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the PR.
Paging @jxs for checking if we are missing anything

Copy link
Member

@jxs jxs left a comment

Choose a reason for hiding this comment

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

thanks for this, and thanks for the ping Pawan! LGTM

@pawanjay176 pawanjay176 added the ready-for-merge This PR is ready to merge. label Feb 12, 2026
@mergify mergify bot added the queued label Feb 12, 2026
@mergify
Copy link

mergify bot commented Feb 12, 2026

Merge Queue Status

Rule: default


This pull request spent 32 minutes 3 seconds in the queue, including 28 minutes 34 seconds running CI.

Required conditions to merge
  • check-success=local-testnet-success
  • check-success=test-suite-success

mergify bot added a commit that referenced this pull request Feb 12, 2026
@mergify mergify bot merged commit 96bc561 into sigp:unstable Feb 12, 2026
36 checks passed
@mergify mergify bot removed the queued label Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants