hyperledger / fabric-sdk-go

https://wiki.hyperledger.org/display/fabric
Apache License 2.0
911 stars 508 forks source link

Go sdk should support latest go version(1.17). #226

Open nobody4t opened 2 years ago

nobody4t commented 2 years ago

Currently, ask only support

You should install Go 1.14.0 to 1.16.99 to run hyperledger/fabric-sdk-go tests

As I found that fabric now can support latest go version, which is 1.17. I think go sdk should also support this.

nobody4t commented 2 years ago

When I tried to update the go to 1.17. there are some breaks in proto generated files' api which locates fabric-proto-go. And this proto repos is in go 1.12. Even fabric use this repos too. And fabric specified the version for protobuf and grpc. These two relates. I will try later.

kentbull commented 2 years ago

This should be updated now to version 1.18. I tried updating ci.properties GO_MAX_VER=1.18.0 and the build proceeded though I got stopped at the hyperledger/fabric-tools:arm64-2.2.0 not found error in #233 .

This repo should support the latest Go version.