mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
[FAB-17656] echo Generating channel.tx (#139)
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 <kgw8919@gmail.com>
This commit is contained in:
parent
4c7bab0c86
commit
defb6bbbc0
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue