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(node): remove subscription to waku default network topic (#1545) #1548

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

LNSD
Copy link
Contributor

@LNSD LNSD commented Feb 10, 2023

As part of the scaling initiative, requirements have changed. This PR removes the wakunode2's implicit subscription to the default pub-sub topic. If the CLI argument is not specified, the node will subscribe to the default pub-sub topic.

  • Remove the implicit subscription to /waku/2/default-waku/proto.

This PR resolves #1545.

@LNSD LNSD self-assigned this Feb 10, 2023
@LNSD LNSD changed the title reafactor(relay): improve waku_relay apis and add tests fix(node): remove subscription to waku default network topic Feb 10, 2023
@alrevuelta

This comment was marked as off-topic.

@LNSD

This comment was marked as resolved.

@LNSD LNSD marked this pull request as ready for review February 10, 2023 14:37
Copy link
Contributor

@jm-clius jm-clius left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@alrevuelta alrevuelta left a comment

Choose a reason for hiding this comment

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

Mind doing a search and replace of mountRelay? I believe it would break some examples and tools.

just "node3.mountRelay(topics = @[DefaultPubsubTopic]" should be ok

other than that lgtm

@LNSD
Copy link
Contributor Author

LNSD commented Feb 10, 2023

Alright 😁 I just reviewed all tools and examples. It seems that all tools, apps and examples either explicitly subscribe to a topic or have the default pub-sub topic as the default value for the --topics CLI argument.

@LNSD LNSD changed the title fix(node): remove subscription to waku default network topic fix(node): remove subscription to waku default network topic (#1545) Feb 10, 2023
@LNSD LNSD merged commit a7f0a7f into master Feb 10, 2023
@LNSD LNSD deleted the fix-issue-1545 branch February 10, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

bug: subscribe to default pubsub topic even when not configured
3 participants