-
Notifications
You must be signed in to change notification settings - Fork 1k
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 to go 1.14 #4947
Update to go 1.14 #4947
Conversation
Blocked by bazel-contrib/rules_go#2387 |
No longer blocked, fixed in bazel-contrib/rules_go#2388. |
Blocked again by an unsafe pointer conversion in upstream dependency. Trying to update it now...
|
Seems like boltdb has this issue too. I'll put this on hold for now. |
One solution is to upgrade to bbolt, however the issue exists there too. Blocked by etcd-io/bbolt#187 for now. |
Unblocked! |
Codecov Report
@@ Coverage Diff @@
## master #4947 +/- ##
==========================================
- Coverage 35.46% 8.89% -26.58%
==========================================
Files 219 47 -172
Lines 17297 3709 -13588
==========================================
- Hits 6135 330 -5805
+ Misses 10138 3323 -6815
+ Partials 1024 56 -968 |
MaxCost: forkChoiceProcessedRootsSize, | ||
BufferItems: 64, | ||
}) | ||
cache, err := lru.New(forkChoiceProcessedRootsSize) |
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.
I think it's ok to bundle this change in the same PR, perhaps just mention it in the description?
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.
oh yes good idea
https://blog.golang.org/go1.14
Also replaced the cache here with LRU since tests were too flaky or failing with a sleep delay.