-
-
Notifications
You must be signed in to change notification settings - Fork 479
feat: update libp2p deps #6711
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: update libp2p deps #6711
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -90,7 +90,7 @@ export class Eth2Gossipsub extends GossipSub { | |
| // https://github.com/ethereum/consensus-specs/blob/v1.1.10/specs/phase0/p2p-interface.md#the-gossip-domain-gossipsub | ||
| super(modules.libp2p.services.components, { | ||
| globalSignaturePolicy: SignaturePolicy.StrictNoSign, | ||
| allowPublishToZeroPeers: allowPublishToZeroPeers, | ||
| allowPublishToZeroTopicPeers: allowPublishToZeroPeers, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is great change to get in, previous error message caused so much user confusion
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note: we have a cli flag |
||
| D: gossipsubD ?? GOSSIP_D, | ||
| Dlo: gossipsubDLow ?? GOSSIP_D_LOW, | ||
| Dhi: gossipsubDHigh ?? GOSSIP_D_HIGH, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any way we could avoid this cast?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately not, see libp2p/js-libp2p#2496