js-waku
js-waku copied to clipboard
feat: allow subscribeToContentTopic to use other cluster IDs
This is a change request
Problem
subscribeToContentTopic
starts a new node with partial ContentTopicInfo
(no clusterId
) so createLightNode
will resolve clusterId
to DEFAULT_CLUSTER_ID=1
But Autosharding will be possible on other cluster IDs as well with https://github.com/waku-org/nwaku/issues/2502
Proposed Solutions
Allow clusterId as a parameter in subscribeToContentTopic
Blocked by https://github.com/waku-org/nwaku/issues/2502
This was fixed on nwaku side here
Moving to the top of Todo column to be taken next once release related and reliability bugs are done.