mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 17:15:10 +00:00
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:
parent
6f853b56a4
commit
93c55c59cc
1 changed files with 4 additions and 4 deletions
|
|
@ -35,13 +35,13 @@ createAncorPeerTx() {
|
||||||
|
|
||||||
for orgmsp in Org1MSP Org2MSP; do
|
for orgmsp in Org1MSP Org2MSP; do
|
||||||
|
|
||||||
echo "####### Generating anchor peer update for ${orgmsp} ##########"
|
echo "####### Generating anchor peer update transaction for ${orgmsp} ##########"
|
||||||
set -x
|
set -x
|
||||||
configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/${orgmsp}anchors.tx -channelID $CHANNEL_NAME -asOrg ${orgmsp}
|
configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/${orgmsp}anchors.tx -channelID $CHANNEL_NAME -asOrg ${orgmsp}
|
||||||
res=$?
|
res=$?
|
||||||
set +x
|
set +x
|
||||||
if [ $res -ne 0 ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
|
|
@ -123,11 +123,11 @@ verifyResult() {
|
||||||
FABRIC_CFG_PATH=${PWD}/configtx
|
FABRIC_CFG_PATH=${PWD}/configtx
|
||||||
|
|
||||||
## Create channeltx
|
## Create channeltx
|
||||||
echo "### Generating channel configuration transaction '${CHANNEL_NAME}.tx' ###"
|
echo "### Generating channel create transaction '${CHANNEL_NAME}.tx' ###"
|
||||||
createChannelTx
|
createChannelTx
|
||||||
|
|
||||||
## Create anchorpeertx
|
## Create anchorpeertx
|
||||||
echo "### Generating channel configuration transaction '${CHANNEL_NAME}.tx' ###"
|
echo "### Generating anchor peer update transactions ###"
|
||||||
createAncorPeerTx
|
createAncorPeerTx
|
||||||
|
|
||||||
FABRIC_CFG_PATH=$PWD/../config/
|
FABRIC_CFG_PATH=$PWD/../config/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue