-
Notifications
You must be signed in to change notification settings - Fork 42
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: export @libp2p/bootstrap
from within @waku/sdk
#1863
Comments
@libp2p/bootstrap
from within @waku
@libp2p/bootstrap
from within @waku/sdk
ProblemUser tries to init a node with: const NODE_OPTIONS = {
libp2p: {
peerDiscovery: [
bootstrap({ list: peers }),
],
},
}; what doesn't work due t o Possible solutions:
Initially my though was Conceptually For now will:
Next steps (blocked by #1862):
Even though I propose this I think it should be only used for advanced cases and preferred way will be to improve configuration options so that there are no extra dependencies or convoluted structure of options passed. |
I was initially in the favour of re-exporting it from In future, we should abstract away libp2p's I'd propose to simply add it as a peer dependency for now, and tackle abstracting away discoveries using SDK in a future PR |
exactly what I implement here #1871 next iteration after #1862 is complete will be to add js-waku/packages/sdk/src/utils/libp2p.ts Line 98 in 1355ad3
|
This is a bug report
Problem
js-waku is released released in interims of ~4 weeks normally.
During this window, it was found out that
@libp2p/bootstrap
was upgraded by libp2p, which was incompatible with our latest release candidate on npmjs: https://discord.com/channels/1110799176264056863/1211389001920151603/1211662475385245766Proposed Solutions
Re-export
@libp2p/bootstrap
from within@waku/sdk
Notes
The text was updated successfully, but these errors were encountered: