From defb6bbbc0a9119da3653ef36aa5891f8e000620 Mon Sep 17 00:00:00 2001 From: GeonWoo Kim Date: Fri, 27 Mar 2020 22:38:29 +0900 Subject: [PATCH] [FAB-17656] echo Generating channel.tx (#139) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit echo Generating channel configuration transaction 'channel.tx' it will be output to the console "configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/channel.tx -channelID mychannel" Signed-off-by: KIM GEONWOO --- first-network/byfn.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/first-network/byfn.sh b/first-network/byfn.sh index 588c56b913..4b4a3bad30 100755 --- a/first-network/byfn.sh +++ b/first-network/byfn.sh @@ -371,8 +371,10 @@ function generateChannelArtifacts() { echo "##########################################################" # Note: For some unknown reason (at least for now) the block file can't be # named orderer.genesis.block or the orderer will fail to launch! + set -x configtxgen -profile SampleMultiNodeEtcdRaft -channelID byfn-sys-channel -outputBlock ./channel-artifacts/genesis.block res=$? + set +x if [ $res -ne 0 ]; then echo "Failed to generate orderer genesis block..." exit 1