docker-compose-files/hyperledger_fabric/v1.4.0/scripts/test_channel_create.sh

18 lines
390 B
Bash
Raw Normal View History

2018-01-03 21:19:09 +08:00
#!/bin/bash
# Importing useful functions for cc testing
if [ -f ./func.sh ]; then
source ./func.sh
elif [ -f scripts/func.sh ]; then
source scripts/func.sh
fi
## Create channel
2018-01-18 13:31:00 +08:00
echo_b "=== Creating channel ${APP_CHANNEL} with ${APP_CHANNEL_TX}... ==="
2018-01-03 21:19:09 +08:00
channelCreate "${APP_CHANNEL}" "${APP_CHANNEL_TX}" 1 0
2018-01-18 13:31:00 +08:00
echo_g "=== Created channel ${APP_CHANNEL} with ${APP_CHANNEL_TX} ==="
echo