docker-compose-files/hyperledger_fabric/v1.4.7/scripts/test_cc_list.sh

17 lines
294 B
Bash
Raw Normal View History

2020-05-21 02:24:13 +08:00
#!/bin/bash
# Importing useful functions for cc testing
if [ -f ./func.sh ]; then
2021-03-23 13:19:04 +08:00
source ./func.sh
2020-05-21 02:24:13 +08:00
elif [ -f scripts/func.sh ]; then
source scripts/func.sh
fi
echo_b "=== List chaincode on all peer0.org1... ==="
chaincodeList 1 0 ${APP_CHANNEL}
echo_g "=== List chaincode done ==="
echo