Skip to content

Commit

Permalink
Bump fabric 2.5.9
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>
  • Loading branch information
mbrandenburger committed Sep 3, 2024
1 parent 3744d88 commit 0bb029f
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ Make sure that you have the following required dependencies installed:
* [Intel Software Guard Extensions SSL](https://github.com/intel/intel-sgx-ssl)
(we recommend using tag `3.0_Rev2` OpenSSL `3.0.12`)
* Hyperledger [Fabric](https://github.com/hyperledger/fabric/tree/v2.5.4) v2.5.4
* Hyperledger [Fabric](https://github.com/hyperledger/fabric/tree/v2.5.9) v2.5.9
* Clang-format 6.x or higher
Expand Down Expand Up @@ -349,15 +349,15 @@ export PROTOC_CMD=/usr/local/proto3/bin/protoc
#### Hyperledger Fabric
Our project fetches the latest supported Fabric binaries during the build process automatically.
However, if you want to use your own Fabric binaries, please checkout Fabric 2.5.4 release using the following commands:
However, if you want to use your own Fabric binaries, please checkout Fabric 2.5.9 release using the following commands:
```bash
export FABRIC_PATH=$GOPATH/src/github.com/hyperledger/fabric
git clone https://github.com/hyperledger/fabric.git $FABRIC_PATH
cd $FABRIC_PATH; git checkout tags/v2.5.4
cd $FABRIC_PATH; git checkout tags/v2.5.9
```
Note that Fabric Private Chaincode may not work with the Fabric `main` branch.
Therefore, make sure you use the Fabric `v2.5.4` tag.
Therefore, make sure you use the Fabric `v2.5.9` tag.
Make sure the source of Fabric is in your `$GOPATH`.
## Build Fabric Private Chaincode
Expand Down
4 changes: 2 additions & 2 deletions config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ PLANTUML_IMG_FORMAT ?= png # pdf / png / svg
#--------------------------------------------------
PROJECT_NAME=fabric-private-chaincode

export FABRIC_VERSION ?= 2.5.4
export FABRIC_CA_VERSION ?= 1.5.7
export FABRIC_VERSION ?= 2.5.9
export FABRIC_CA_VERSION ?= 1.5.12

export FPC_VERSION := main
export FPC_CCENV_IMAGE ?= hyperledger/fabric-private-chaincode-ccenv:$(FPC_VERSION)
Expand Down
2 changes: 1 addition & 1 deletion fabric/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To clean the native build, type `cd $FPC_PATH/fabric; make clean-native`.
### Wrong Fabric version
```
Patching Fabric ...
Aborting! Tag on current HEAD () does not match expected tag/v2.5.4!
Aborting! Tag on current HEAD () does not match expected tag/v2.5.9!
...
```

Expand Down
2 changes: 1 addition & 1 deletion samples/chaincode/simple-asset-go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ git clone https://github.com/hyperledger/fabric-samples
cd $FPC_PATH/samples/deployment/test-network/fabric-samples
# no we pick a specific version here to have stable experience :)
git checkout -b "works" 98028c7
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.5.4 1.5.7 -s
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.5.9 1.5.12 -s
cd $FPC_PATH/samples/deployment/test-network
./setup.sh
```
Expand Down
2 changes: 1 addition & 1 deletion samples/deployment/k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ If you have installed them somewhere else on your system, please set `FABIC_BIN_
For instance, you can download the binaries and use them by following the commands:
```bash
cd $FPC_PATH/samples/deployment/k8s
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.5.4 1.5.7 -d -s
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.5.9 1.5.12 -d -s
export FABRIC_BIN_DIR=$(pwd)/bin
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
value: /var/hyperledger/orderer/tls/server.key
- name: ORDERER_GENERAL_CLUSTER_ROOTCAS
value: "[/var/hyperledger/orderer/tls/ca.crt]"
image: hyperledger/fabric-orderer:2.5.4
image: hyperledger/fabric-orderer:2.5.9
name: orderer
ports:
- containerPort: 7050
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
value: /var/hyperledger/orderer/tls/server.key
- name: ORDERER_GENERAL_CLUSTER_ROOTCAS
value: "[/var/hyperledger/orderer/tls/ca.crt]"
image: hyperledger/fabric-orderer:2.5.4
image: hyperledger/fabric-orderer:2.5.9
name: orderer
ports:
- containerPort: 7050
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
value: /var/hyperledger/orderer/tls/server.key
- name: ORDERER_GENERAL_CLUSTER_ROOTCAS
value: "[/var/hyperledger/orderer/tls/ca.crt]"
image: hyperledger/fabric-orderer:2.5.4
image: hyperledger/fabric-orderer:2.5.9
name: orderer
ports:
- containerPort: 7050
Expand Down
2 changes: 1 addition & 1 deletion samples/deployment/k8s/org1/org1-cli-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
configMapKeyRef:
name: chaincode-config
key: FPC_MRENCLAVE
image: hyperledger/fabric-tools:2.5.4
image: hyperledger/fabric-tools:2.5.9
name: cli
tty: true
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion samples/deployment/k8s/org1/org1-peer0-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
value: 0.0.0.0:9443
- name: CORE_METRICS_PROVIDER
value: prometheus
image: hyperledger/fabric-peer:2.5.4
image: hyperledger/fabric-peer:2.5.9
name: peer0
ports:
- containerPort: 7051
Expand Down
2 changes: 1 addition & 1 deletion samples/deployment/k8s/org2/org2-cli-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
configMapKeyRef:
name: chaincode-config
key: FPC_MRENCLAVE
image: hyperledger/fabric-tools:2.5.4
image: hyperledger/fabric-tools:2.5.9
name: cli
tty: true
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion samples/deployment/k8s/org2/org2-peer0-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
value: 0.0.0.0:9443
- name: CORE_METRICS_PROVIDER
value: prometheus
image: hyperledger/fabric-peer:2.5.4
image: hyperledger/fabric-peer:2.5.9
name: peer0
ports:
- containerPort: 7051
Expand Down
2 changes: 1 addition & 1 deletion samples/deployment/k8s/org3/org3-cli-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
configMapKeyRef:
name: chaincode-config
key: FPC_MRENCLAVE
image: hyperledger/fabric-tools:2.5.4
image: hyperledger/fabric-tools:2.5.9
name: cli
tty: true
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion samples/deployment/k8s/org3/org3-peer0-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
value: 0.0.0.0:9443
- name: CORE_METRICS_PROVIDER
value: prometheus
image: hyperledger/fabric-peer:2.5.4
image: hyperledger/fabric-peer:2.5.9
name: peer0
ports:
- containerPort: 7051
Expand Down
2 changes: 1 addition & 1 deletion utils/docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FROM hyperledger/fabric-private-chaincode-base-dev:${FPC_VERSION}

# config/build params
ARG FABRIC_REPO=https://github.com/hyperledger/fabric.git
ARG FABRIC_VERSION=2.5.4
ARG FABRIC_VERSION=2.5.9

ARG FABRIC_REL_PATH=src/github.com/hyperledger/fabric
ARG FPC_REL_PATH=src/github.com/hyperledger/fabric-private-chaincode
Expand Down
2 changes: 1 addition & 1 deletion utils/docker/dev_peer_cc-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ARG SGX_MODE

# config/build params
ARG FABRIC_REPO=https://github.com/hyperledger/fabric.git
ARG FABRIC_VERSION=2.5.4
ARG FABRIC_VERSION=2.5.9
ARG FPC_REPO_URL=https://github.com/hyperledger/fabric-private-chaincode.git
ARG FPC_REPO_BRANCH_TAG_OR_COMMIT=main
ARG GIT_USER_NAME=tester
Expand Down

0 comments on commit 0bb029f

Please sign in to comment.