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

chore: update pubsub #801

Merged
merged 1 commit into from
Nov 13, 2020
Merged

chore: update pubsub #801

merged 1 commit into from
Nov 13, 2020

Conversation

vasco-santos
Copy link
Member

@vasco-santos vasco-santos commented Nov 13, 2020

This PR updates the pubsub routers. The pubsub routers were updated with the newest pubsub interface with a new signingPolicy option to match the spec.

This PR also changes the default value of emitSelf to false. This was already the default value on the router level but was being overwritten here to not cause a breaking change upstream, but this is the time to do it. Related to: ChainSafe/js-libp2p-gossipsub#144

BREAKING CHANGE: pubsub signing policy properties were changed according to libp2p-interfaces changes to a single property. The emitSelf option default value was also modified to match the routers value

Needs:

BREAKING CHANGE: pubsub signing policy properties were changed according to libp2p-interfaces changes to a single property. The emitSelf option default value was also modified to match the routers value
Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

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

lgtm

@jacobheun jacobheun merged commit bd214d5 into 0.30.x Nov 13, 2020
@jacobheun jacobheun deleted the chore/update-pubsub branch November 13, 2020 14:14
vasco-santos added a commit that referenced this pull request Dec 10, 2020
BREAKING CHANGE: pubsub signing policy properties were changed according to libp2p-interfaces changes to a single property. The emitSelf option default value was also modified to match the routers value
vasco-santos added a commit that referenced this pull request Dec 16, 2020
BREAKING CHANGE: pubsub signing policy properties were changed according to libp2p-interfaces changes to a single property. The emitSelf option default value was also modified to match the routers value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants