mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
modified script calls
to enable multidestro support Signed-off-by: AadithyanRaju <aadithyan75@gmail.com>
This commit is contained in:
parent
aa0c9d3004
commit
fdb773449d
3 changed files with 5 additions and 5 deletions
|
|
@ -265,7 +265,7 @@ function createOrgs() {
|
|||
fi
|
||||
|
||||
infoln "Generating CCP files for Org1 and Org2"
|
||||
./organizations/ccp-generate.sh
|
||||
bash ./organizations/ccp-generate.sh
|
||||
}
|
||||
|
||||
# Once you create the organization crypto material, you need to create the
|
||||
|
|
@ -348,13 +348,13 @@ function createChannel() {
|
|||
|
||||
# now run the script that creates a channel. This script uses configtxgen once
|
||||
# to create the channel creation transaction and the anchor peer updates.
|
||||
scripts/createChannel.sh $CHANNEL_NAME $CLI_DELAY $MAX_RETRY $VERBOSE $bft_true
|
||||
bash scripts/createChannel.sh $CHANNEL_NAME $CLI_DELAY $MAX_RETRY $VERBOSE $bft_true
|
||||
}
|
||||
|
||||
|
||||
## Call the script to deploy a chaincode to the channel
|
||||
function deployCC() {
|
||||
scripts/deployCC.sh $CHANNEL_NAME $CC_NAME $CC_SRC_PATH $CC_SRC_LANGUAGE $CC_VERSION $CC_SEQUENCE $CC_INIT_FCN $CC_END_POLICY $CC_COLL_CONFIG $CLI_DELAY $MAX_RETRY $VERBOSE
|
||||
bash scripts/deployCC.sh $CHANNEL_NAME $CC_NAME $CC_SRC_PATH $CC_SRC_LANGUAGE $CC_VERSION $CC_SEQUENCE $CC_INIT_FCN $CC_END_POLICY $CC_COLL_CONFIG $CLI_DELAY $MAX_RETRY $VERBOSE
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
fatalln "Deploying chaincode failed"
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ function checkPrereqs() {
|
|||
checkPrereqs
|
||||
|
||||
## package the chaincode
|
||||
./scripts/packageCC.sh $CC_NAME $CC_SRC_PATH $CC_SRC_LANGUAGE $CC_VERSION
|
||||
bash ./scripts/packageCC.sh $CC_NAME $CC_SRC_PATH $CC_SRC_LANGUAGE $CC_VERSION
|
||||
|
||||
PACKAGE_ID=$(peer lifecycle chaincode calculatepackageid ${CC_NAME}.tar.gz)
|
||||
|
||||
|
|
|
|||
|
|
@ -224,7 +224,7 @@ function installPrereqs() {
|
|||
fi
|
||||
|
||||
cd ..
|
||||
./install-fabric.sh ${IMAGE_PARAMETER} ${CA_IMAGE_PARAMETER} docker binary
|
||||
bash ./install-fabric.sh ${IMAGE_PARAMETER} ${CA_IMAGE_PARAMETER} docker binary
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue