Skip to content

Commit 8ce969b

Browse files
committed
Review cc-tools-demo, cc-api and simple-testing-network
Signed-off-by: munapower <mmunaro@hotmail.com>
1 parent 4ba48d3 commit 8ce969b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

samples/application/ccapi/common/fpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func InitFpcConfig() {
5050
CorePeerTLSKeyFile: getStrEnv("CORE_PEER_TLS_KEY_FILE"),
5151
CorePeerTLSRootCertFile: getStrEnv("CORE_PEER_TLS_ROOTCERT_FILE"),
5252
OrdererCA: getStrEnv("ORDERER_CA"),
53-
ChaincodeId: getStrEnv("CCID"),
53+
ChaincodeId: getStrEnv("CCNAME"),
5454
ChannelId: getStrEnv("CHANNEL"),
5555
GatewayConfigPath: getStrEnv("GATEWAY_CONFIG"),
5656
}

samples/application/ccapi/fpc-docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
- ORG=org1
2020
- DOMAIN=example.com
2121
- CHANNEL=mychannel
22-
- CCID=cc-tools-demo
22+
- CCNAME=cc-tools-demo
2323
- FABRIC_GATEWAY_ENDPOINT=peer0.org1.example.com:7051
2424
- FABRIC_GATEWAY_NAME=peer0.org1.example.com
2525
- GOLANG_PROTOBUF_REGISTRATION_CONFLICT=warn
@@ -59,7 +59,7 @@ services:
5959
- ORG=org2
6060
- DOMAIN=example.com
6161
- CHANNEL=mychannel
62-
- CCID=cc-tools-demo
62+
- CCNAME=cc-tools-demo
6363
- FABRIC_GATEWAY_ENDPOINT=peer0.org2.example.com:9051
6464
- FABRIC_GATEWAY_NAME=peer0.org2.example.com
6565
- GOLANG_PROTOBUF_REGISTRATION_CONFLICT=warn

samples/deployment/fabric-smart-client/the-simple-testing-network/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Build the kv-test-go chaincode:
1919
export CC_NAME=fpc-kv-test-go
2020
export CC_PATH=$FPC_PATH/samples/chaincode/kv-test-go
2121
make -C $CC_PATH build docker
22-
export FPC_CHAINCODE_IMAGE=fpc/kv-test-go
22+
export FPC_CHAINCODE_IMAGE=fpc/fpc-kv-test-go
2323
```
2424

2525
To run the Fabric network we need the Fabric binaries. Additionally, we want to use the Hyperledger blockchain explorer to visualize the network activity so we need to get the docker images.

0 commit comments

Comments
 (0)