diff --git a/samples/deployment/fabric-smart-client/the-simple-testing-network/env.sh b/samples/deployment/fabric-smart-client/the-simple-testing-network/env.sh index 03874ef98..38df5deb1 100755 --- a/samples/deployment/fabric-smart-client/the-simple-testing-network/env.sh +++ b/samples/deployment/fabric-smart-client/the-simple-testing-network/env.sh @@ -44,6 +44,7 @@ echo "export ORDERER_PATH=\$CONF_PATH/ordererOrganizations/example.com" >> ${ORG echo "export CHANNEL_NAME=testchannel" >> ${ORG}.env echo "export CORE_PEER_ADDRESS=${ADDR}" >> ${ORG}.env echo "export CORE_PEER_ID=${PEER_ID}" >> ${ORG}.env +echo "export CORE_PEER_ORG_NAME=${ORG}" >> ${ORG}.env echo "export CORE_PEER_LOCALMSPID=${MSP_ID}" >> ${ORG}.env echo "export CORE_PEER_MSPCONFIGPATH=\$ORG_PATH/users/Admin@${ORG,,}.example.com/msp" >> ${ORG}.env echo "export CORE_PEER_TLS_CERT_FILE=\$ORG_PATH/peers/${PEER_ID}/tls/server.crt" >> ${ORG}.env diff --git a/samples/deployment/test-network/README.md b/samples/deployment/test-network/README.md index fbd999de5..4babf820c 100644 --- a/samples/deployment/test-network/README.md +++ b/samples/deployment/test-network/README.md @@ -160,6 +160,7 @@ export CC_NAME=echo-go export CHANNEL_NAME=mychannel export CORE_PEER_ADDRESS=localhost:7051 export CORE_PEER_ID=peer0.org1.example.com +export CORE_PEER_ORG_NAME=org1 export CORE_PEER_LOCALMSPID=Org1MSP export CORE_PEER_MSPCONFIGPATH=$FPC_PATH/samples/deployment/test-network/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp export CORE_PEER_TLS_CERT_FILE=$FPC_PATH/samples/deployment/test-network/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt