-
Notifications
You must be signed in to change notification settings - Fork 200
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.16 #1454
Update to go 1.16 #1454
Conversation
See #21934 in upstream geth.
conflict with module rename that was fixed
This is due to a change in golang 1.16 which panics when using a non-unique hash in a HMAC. This change copies the upstream change which uses a new sha instance rather than the existing hash value. Discv5 is next touched in: ethereum/go-ethereum#21647 where it is reworked. Full history of the encoding test: git log geth/master --full-history -- p2p/discover/v5_encoding_test.go
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.
Terrific!
CI shows the ios build failing |
Looking into it atm. Looks like there was some update in go 1.16 that's messing with go.mod/go.sum files in a weird way. |
I think I've tracked it down to the fact that our version of go mobile is out of date with master and their upstream does create a go.sum file. If that doesn't resolve this there's another golang issue that looks similar that looks like it will be released with 1.16.3 |
* go.mod: update github.com/golang/snappy See #21934 in upstream geth. * accounts/abi/bind: fix up Go mod files for Go 1.16 conflict with module rename that was fixed * Dockerfile: bump to Go 1.16 base images * travis, appveyor, checksums: bump Go to 1.16 See ethereum/go-ethereum@c5023e1 * Update builders to go1.16 * Fix panic with discv5 This is due to a change in golang 1.16 which panics when using a non-unique hash in a HMAC. This change copies the upstream change which uses a new sha instance rather than the existing hash value. Discv5 is next touched in: ethereum/go-ethereum#21647 where it is reworked. Full history of the encoding test: git log geth/master --full-history -- p2p/discover/v5_encoding_test.go * Update go mobile * Update libs patch for android build Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Description
This updates go-celo to golang 1.16.
Changes
golang.com/x/mobile
to fix an issue withmake ios
Tested
Unit tests & CI
Related issues