Update user echo text in test network (#172)

Clarify config tx generation messages.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
denyeart 2020-05-04 04:18:29 -04:00 committed by GitHub
parent 6f853b56a4
commit 93c55c59cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,13 +35,13 @@ createAncorPeerTx() {
for orgmsp in Org1MSP Org2MSP; do
echo "####### Generating anchor peer update for ${orgmsp} ##########"
echo "####### Generating anchor peer update transaction for ${orgmsp} ##########"
set -x
configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/${orgmsp}anchors.tx -channelID $CHANNEL_NAME -asOrg ${orgmsp}
res=$?
set +x
if [ $res -ne 0 ]; then
echo "Failed to generate anchor peer update for ${orgmsp}..."
echo "Failed to generate anchor peer update transaction for ${orgmsp}..."
exit 1
fi
echo
@ -123,11 +123,11 @@ verifyResult() {
FABRIC_CFG_PATH=${PWD}/configtx
## Create channeltx
echo "### Generating channel configuration transaction '${CHANNEL_NAME}.tx' ###"
echo "### Generating channel create transaction '${CHANNEL_NAME}.tx' ###"
createChannelTx
## Create anchorpeertx
echo "### Generating channel configuration transaction '${CHANNEL_NAME}.tx' ###"
echo "### Generating anchor peer update transactions ###"
createAncorPeerTx
FABRIC_CFG_PATH=$PWD/../config/