diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 401f760f..6408a16c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.19.x + go-version: 1.20.x - uses: actions/checkout@v2 with: fetch-depth: 1 diff --git a/go.mod b/go.mod index a36185aa..02cc211b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hyperledger/fabric-chaincode-go -go 1.19 +go 1.20 require ( github.com/golang/protobuf v1.5.2 diff --git a/shim/internal/config_test.go b/shim/internal/config_test.go index 72d1899c..d9ece872 100644 --- a/shim/internal/config_test.go +++ b/shim/internal/config_test.go @@ -671,7 +671,7 @@ func TestTLSClientWithChaincodeServer(t *testing.T) { clientCert: []byte(clientCertPEM), clientRootCert: []byte(clientRootPEM), success: false, - errMsg: "transport: authentication handshake failed: x509: certificate signed by unknown authority", + errMsg: "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate signed by unknown authority", address: "127.0.0.1:0", }, {