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(gossipsub): always honor support_floodsub setting #3837

Merged
merged 10 commits into from
Apr 27, 2023

Conversation

thomaseizinger
Copy link
Contributor

@thomaseizinger thomaseizinger commented Apr 26, 2023

Description

Previously, we only honored the support_floodsub setting when the user did not specify a custom protocol for gossipsub. This patch fixes this and allows users to advertise floodsub even when they use a custom protocol.

Notes & open questions

cc @AgeManning I believe this is an oversight. Let me know in case this was intentional. I don't see a reason why we should silently ignore this setting when using a custom protocol identifier.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

Copy link
Contributor

@AgeManning AgeManning left a comment

Choose a reason for hiding this comment

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

Yeah looks like an oversight. Nice catch.

@mergify mergify bot merged commit 9d1058d into master Apr 27, 2023
@mergify mergify bot deleted the fix/gossipsub-always-support-flood branch April 27, 2023 05:20
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.

3 participants