Skip to content
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

bump libp2p #1717

Merged
merged 2 commits into from
Aug 10, 2022
Merged

bump libp2p #1717

merged 2 commits into from
Aug 10, 2022

Conversation

LesnyRumcajs
Copy link
Member

@LesnyRumcajs LesnyRumcajs commented Jul 25, 2022

Summary of changes
For ease of updating (and given that libp2p-bitswap still depends on libp2p 0.43) I updated the fork we were using. Please review it alongside this PR. ChainSafe/libp2p-bitswap#3

Updated libp2p to 0.46.

Reference issue to close (if applicable)

Closes #1698

Other information and links

@codecov
Copy link

codecov bot commented Jul 25, 2022

Codecov Report

Merging #1717 (f9c695d) into main (9791285) will decrease coverage by 0.43%.
The diff coverage is 0.00%.

❗ Current head f9c695d differs from pull request most recent head f7ba709. Consider uploading reports for the commit f7ba709 to get more accurate results

@@            Coverage Diff             @@
##             main    #1717      +/-   ##
==========================================
- Coverage   28.94%   28.50%   -0.44%     
==========================================
  Files         193      189       -4     
  Lines       21458    21049     -409     
==========================================
- Hits         6210     6001     -209     
+ Misses      15248    15048     -200     
Impacted Files Coverage Δ
forest/src/daemon.rs 0.43% <0.00%> (+0.09%) ⬆️
ipld/blockstore/src/lib.rs 25.31% <0.00%> (+0.64%) ⬆️
node/forest_libp2p/src/behaviour.rs 0.00% <0.00%> (ø)
node/forest_libp2p/src/service.rs 0.00% <0.00%> (ø)
ipld/src/json.rs 0.00% <0.00%> (-48.34%) ⬇️
ipld/src/selector/mod.rs 51.92% <0.00%> (-25.00%) ⬇️
ipld/src/selector/walk.rs 57.03% <0.00%> (-20.75%) ⬇️
blockchain/message_pool/src/msgpool/utils.rs 53.57% <0.00%> (-7.15%) ⬇️
blockchain/message_pool/src/msgpool/mod.rs 87.63% <0.00%> (-0.21%) ⬇️
blockchain/chain_sync/src/chain_muxer.rs 7.82% <0.00%> (-0.16%) ⬇️
... and 26 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9791285...f7ba709. Read the comment docs.

Copy link

@mxinden mxinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great to see this happening. Feel free to ping me on this pull request with any questions @LesnyRumcajs .

@@ -138,42 +144,42 @@ impl NetworkBehaviourEventProcess<DiscoveryOut> for ForestBehaviour {
}
}

impl NetworkBehaviourEventProcess<BitswapEvent> for ForestBehaviour {
impl<P: StoreParams> NetworkBehaviourEventProcess<BitswapEvent> for ForestBehaviour<P> {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as a heads up NetworkBehaviourEventProcess will go away, though that is not yet merged nor released. libp2p/rust-libp2p#2751

@LesnyRumcajs LesnyRumcajs changed the title [wip] bump libp2p bump libp2p Aug 2, 2022
@LesnyRumcajs LesnyRumcajs marked this pull request as ready for review August 2, 2022 10:13
Copy link
Contributor

@lemmih lemmih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. Will see what's up with our bitswap repo.

@LesnyRumcajs LesnyRumcajs merged commit db15c80 into main Aug 10, 2022
@LesnyRumcajs LesnyRumcajs deleted the bump-libp2p branch August 10, 2022 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump libp2p version from 0.40 to 0.46
4 participants