-
Notifications
You must be signed in to change notification settings - Fork 43
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: allow autosharding nodes to get peers #1785
fix: allow autosharding nodes to get peers #1785
Conversation
size-limit report 📦
|
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.
nit: would be nice to have description for the PR and/or related task
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.
please also add some tests for getConnectedPeers
when autosharded params are passed
find static sharding tests for relevance (in packages/tests/tests/getPeers.spec.ts
74b3c64
to
7a18dc3
Compare
7a18dc3
to
c897ee6
Compare
@danisharora099 added test cases for getPeers with js-waku configured for autosharding |
4dd451b
into
feat/shard-peer-selection
* merge: master * fix: tests * update: interfafces * rm: comments * metadata: store peerIdStr instead of peerId * chore(utils): move fast-utils to dev deps * fix: allow autosharding nodes to get peers (#1785) * fix: merge * fix: build * fix: failing tests from master merge --------- Co-authored-by: Arseniy Klempner <arseniyk@status.im>
Problem
Solution
Fixes some failing tests in #1756 and stops throwing errors if node is setup to use autosharding
Notes