Conversation
Declare prometheus metrics in gossipsub Add missing metric labels Fix metrics types Add onReportValidation
Codecov Report
@@ Coverage Diff @@
## master #206 +/- ##
==========================================
- Coverage 86.28% 78.98% -7.30%
==========================================
Files 19 24 +5
Lines 5452 7696 +2244
Branches 621 760 +139
==========================================
+ Hits 4704 6079 +1375
- Misses 748 1617 +869
Continue to review full report at Codecov.
|
|
Update on gossipsub debugging Low scores are caused by P3 and P7 penalties
|
* Add checkReceivedSubscriptions * Add checkReceivedSubscriptions to 'test gossipsub multihops' * Add checkReceivedSubscriptions to 'test gossipsub tree topology' * test gossipsub star topology with signed peer records * Fix 'test gossipsub direct peers' * Fix 'test gossipsub flood publish' * Fix 'test gossipsub star topology with signed peer records' * 'direct peers' test: wait for subscriptions event again * 'direct peer': await for 2 peer:connect events * 'direct peers': add missing Promise.all * Expect topic peers to contain peer id
* Forward messages to floodsub peers * Add comments Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
* Fix minMeshMessageDeliveriesWindow * Fix gossipsubIWantFollowupTime for metric * Fix tracer prune() * Change to maxMeshMessageDeliveriesWindow
wemeetagain
left a comment
There was a problem hiding this comment.
The structure looks good to me.
Curious about the status of this regarding the many TODOs
|
Hello, I'm one of the engineering managers at PL EngRes. I was wondering if there's a estimated completion date for this work? I'm asking because we're waiting on it before doing the next js-libp2p release with the TypeScript refactor (libp2p/js-libp2p#1178 ). |
It may take some time since we are continually iterating changes here and in Lodestar until we have a peering performance level that good enough. If this is a blocker we can port the MVP changes to master and do a faster release that does not include this work. The blocker is moving to ESM only (if yes see ChainSafe/lodestar#3863) or what specifically? |
|
@dapplion : thanks for the response. I'll let @achingbrain speak to the minimum he needs to be unblocked. @achingbrain : can you please provide input? |
|
The When consuming this module though, you can use dynamic imports to load it from CJS or ESM, so maybe it's not a complete blocker? You will have to do that for all new |
Closes #194