waku-org / js-waku

JavaScript implementation of Waku v2
https://js.waku.org
Apache License 2.0
162 stars 41 forks source link

fix: bootstrapping with default pubsub topic #2031

Closed danisharora099 closed 4 weeks ago

danisharora099 commented 1 month ago

Problem

2011

Solution

Use the wakuv2.prod fleet to bootstrap into DefaultPubsubTopic https://discord.com/channels/1110799176264056863/1236947977252110346

Notes

github-actions[bot] commented 1 month ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
Waku node 181.63 KB (+0.13% 🔺) 3.7 s (+0.13% 🔺) 21.7 s (+135.6% 🔺) 25.3 s
Waku Simple Light Node 181.56 KB (+0.08% 🔺) 3.7 s (+0.08% 🔺) 14.7 s (-28.83% 🔽) 18.3 s
ECIES encryption 23.12 KB (0%) 463 ms (0%) 3.1 s (-46.02% 🔽) 3.5 s
Symmetric encryption 22.58 KB (0%) 452 ms (0%) 4.1 s (+34.2% 🔺) 4.5 s
DNS discovery 72.49 KB (0%) 1.5 s (0%) 7 s (-17.82% 🔽) 8.5 s
Peer Exchange discovery 74.15 KB (0%) 1.5 s (0%) 8 s (-10.51% 🔽) 9.5 s
Local Peer Cache Discovery 67.68 KB (0%) 1.4 s (0%) 9.5 s (-19.21% 🔽) 10.8 s
Privacy preserving protocols 38.87 KB (0%) 778 ms (0%) 5.1 s (+0.66% 🔺) 5.9 s
Waku Filter 111.92 KB (0%) 2.3 s (0%) 18.5 s (+50.65% 🔺) 20.7 s
Waku LightPush 110.39 KB (0%) 2.3 s (0%) 15.6 s (+6.14% 🔺) 17.8 s
History retrieval protocols 110.91 KB (0%) 2.3 s (0%) 11.1 s (+32.29% 🔺) 13.3 s
Deterministic Message Hashing 7.29 KB (0%) 146 ms (0%) 849 ms (-63.63% 🔽) 995 ms
danisharora099 commented 1 month ago

What is the reason for moving to this PR from #2015 ?

No major reason -- there was obfuscation by the comments/thread in the PR based on the misleading information re the fleets to be used. Much cleaner to branch off into a new PR. Deleted the branch.