-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update go-libp2p to v0.15.0 #7362
Conversation
Ci is very unhappy.. |
go.mod
Outdated
@@ -85,7 +85,7 @@ require ( | |||
github.com/ipfs/go-ipfs-exchange-interface v0.0.1 | |||
github.com/ipfs/go-ipfs-exchange-offline v0.0.1 | |||
github.com/ipfs/go-ipfs-files v0.0.8 | |||
github.com/ipfs/go-ipfs-http-client v0.0.5 | |||
github.com/ipfs/go-ipfs-http-client v0.1.0-update-libp2p |
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.
Can you make a PR for this? We might as well update go-ipfs.
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.
@Stebalien Master in github.com/ipfs/go-ipfs-http-client
already has the latest mutliaddr stuff but upgrading to it breaks a whole host of other ipfs related stuff in Lotus and I don't wanna do that upgrade as part of this PR.
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.
Can we tag v0.0.6 then?
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.
@Stebalien This is done. Please can you approve the PR ?
|
The main breaking changes are the removal of deprecated interfaces. That shouldn't affect anything. Other than that, this has a new mDNS implementation (not used by lotus, IIRC) and a new QUIC version. The riskiest thing is the new QUIC version. |
@@ -11,19 +11,6 @@ import ( | |||
mamask "github.com/whyrusleeping/multiaddr-filter" | |||
) | |||
|
|||
func AddrFilters(filters []string) func() (opts Libp2pOpts, err error) { |
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.
Was this an unused function? Otherwise, you might need to replace it with a connection gater.
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.
Yeah, it was dead code.
Codecov Report
@@ Coverage Diff @@
## master #7362 +/- ##
==========================================
- Coverage 39.18% 39.12% -0.07%
==========================================
Files 614 614
Lines 64996 64988 -8
==========================================
- Hits 25471 25424 -47
- Misses 35123 35157 +34
- Partials 4402 4407 +5
Continue to review full report at Codecov.
|
testplans/lotus-soup/go.mod
Outdated
github.com/ipfs/go-ipfs-files v0.0.8 | ||
github.com/ipfs/go-ipld-format v0.2.0 | ||
github.com/ipfs/go-log/v2 v2.3.0 | ||
github.com/ipfs/go-merkledag v0.3.2 | ||
github.com/ipfs/go-unixfs v0.2.6 | ||
github.com/ipld/go-car v0.1.1-0.20201119040415-11b6074b6d4d | ||
github.com/ipld/go-car v0.3.1-0.20210601190600-f512dac51e8e |
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.
This is not a commit on master, or a tagged commit.
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.
@Stebalien This has been a problem with the go-car
dep for a while now. Do you just want us to tag this commit and push it in ?
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.
That works. As long as we can be sure it won't disappear.
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.
@Stebalien - This is done. Please can you approve ?
I ran storage and retrieval compatibility tests between a client and miner running either Results
|
go-libp2p-core
v0.9.0 andgo-libp2p
v0.15.0 contains breaking changes.