-
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.30.0 #11189
update go-libp2p to v0.30.0 #11189
Conversation
4c167ff
to
652c8c8
Compare
@@ -11,7 +11,8 @@ import ( | |||
"sync" | |||
"time" | |||
|
|||
lru "github.com/hashicorp/golang-lru/v2" | |||
"github.com/hashicorp/golang-lru/arc/v2" |
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.
golang-lru introduced a breaking change in the v2.0.3 patch release. See hashicorp/golang-lru#142 for discussion. The author has his own interpretation of the semver specification, that diverges from everyone else's reading, and seems oblivious to the amount of pain his actions cause in the ecosystem.
652c8c8
to
bca0ec4
Compare
36f54b2
to
dbad439
Compare
dbad439
to
d50cf4e
Compare
Not sure why some of the tests are failing. Flaky? Could anyone more familiar with the code base please take a look? |
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.
LGTM, seems to run on mainnet just fine
Related Issues
Proposed Changes
Additional Info
go-libp2p v0.30.0 allows using Go 1.21. It also drops support for Go 1.19.
Note that this PR does NOT bump the Go version in
go.mod
. I tried that, and it leads to a whole lot ofstaticcheck
complaints. I'll leave this as an exercise for the reader :)Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps