diff --git a/.github/actions/test-network-setup/action.yaml b/.github/actions/test-network-setup/action.yaml index f0f17e2323..fcc93da28d 100644 --- a/.github/actions/test-network-setup/action.yaml +++ b/.github/actions/test-network-setup/action.yaml @@ -3,7 +3,7 @@ description: Set up the Test Network Runtime inputs: go-version: description: Version of go - default: '1.22' + default: '1.21' node-version: description: Version of node default: 18.x diff --git a/asset-transfer-basic/chaincode-external/Dockerfile b/asset-transfer-basic/chaincode-external/Dockerfile index 8341e6fd50..fc468cd7c6 100644 --- a/asset-transfer-basic/chaincode-external/Dockerfile +++ b/asset-transfer-basic/chaincode-external/Dockerfile @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -ARG GO_VER=1.22 +ARG GO_VER=1.21 ARG ALPINE_VER=3.20 FROM golang:${GO_VER}-alpine${ALPINE_VER} diff --git a/asset-transfer-basic/chaincode-go/go.mod b/asset-transfer-basic/chaincode-go/go.mod index ff0c2edf42..35dcb579f2 100644 --- a/asset-transfer-basic/chaincode-go/go.mod +++ b/asset-transfer-basic/chaincode-go/go.mod @@ -2,8 +2,6 @@ module github.com/hyperledger/fabric-samples/asset-transfer-basic/chaincode-go go 1.21 -toolchain go1.22.4 - require ( github.com/hyperledger/fabric-chaincode-go/v2 v2.0.0-20240618210511-f7903324a8af github.com/hyperledger/fabric-contract-api-go/v2 v2.0.0