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: adding ext-multiaddr-only CLI flag #2141

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

gabrielmer
Copy link
Contributor

Description

Adding ext-multiaddr-only CLI flag so user can override the announced address with their addresses passed to the ext-multiaddr flags. This option will allow us to set up a node behind a proxy and publish the proxy's address.

Changes

  • adding ext-multiaddr-only CLI flag
  • updating the network configuration logic to take into account the new flag
  • adding unit test for the use of the flag
  • improving ws+extMultiaddr test case to also include wss scenario

Issue

closes #1797

@gabrielmer gabrielmer self-assigned this Oct 19, 2023
@github-actions
Copy link

This PR may contain changes to configuration options of one of the apps.

If you are introducing a breaking change (i.e. the set of options in latest release would no longer be applicable) make sure the original option is preserved with a deprecation note for 2 following releases before it is actually removed.

Please also make sure the label release-notes is added to make sure any changes to the user interface are properly announced in changelog and release notes.

@github-actions
Copy link

github-actions bot commented Oct 19, 2023

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:2141

Built from aec9d4d

@vpavlin vpavlin added the release-notes Issue/PR needs to be evaluated for inclusion in release notes highlights or upgrade instructions label Oct 19, 2023
Copy link
Member

@vpavlin vpavlin left a comment

Choose a reason for hiding this comment

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

LGTM, would like to know opinion of @alrevuelta, @Ivansete-status, @NagyZoltanPeter or anyone else:)

Discussion in https://discord.com/channels/1110799176264056863/1164492374672678922

@gabrielmer gabrielmer changed the title chore: adding ext-multiaddr-only CLI flag feat: adding ext-multiaddr-only CLI flag Oct 20, 2023
Copy link
Collaborator

@Ivansete-status Ivansete-status 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 it!

@gabrielmer gabrielmer merged commit 944dfda into master Oct 24, 2023
9 of 10 checks passed
@gabrielmer gabrielmer deleted the chore-add-ext-multiaddr-only-flag branch October 24, 2023 15:39
omahs pushed a commit to omahs/nwaku that referenced this pull request Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes Issue/PR needs to be evaluated for inclusion in release notes highlights or upgrade instructions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: provide a way to define advertised addresses
3 participants