From 541cebe1545b0f1898d181f4d55ed81c108c875d Mon Sep 17 00:00:00 2001 From: The Coder X Tea Date: Fri, 11 Dec 2020 20:44:57 +0700 Subject: [PATCH 1/3] correct typing (#391) Signed-off-by: tuyendev --- test-network/scripts/createChannel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-network/scripts/createChannel.sh b/test-network/scripts/createChannel.sh index 22707937..28d23e02 100755 --- a/test-network/scripts/createChannel.sh +++ b/test-network/scripts/createChannel.sh @@ -30,7 +30,7 @@ createChannelTx() { } -createAncorPeerTx() { +createAnchorPeerTx() { for orgmsp in Org1MSP Org2MSP; do @@ -119,7 +119,7 @@ createChannelTx ## Create anchorpeertx infoln "Generating anchor peer update transactions" -createAncorPeerTx +createAnchorPeerTx FABRIC_CFG_PATH=$PWD/../config/ From 2e4a3275ce6833c3d182713bc1e8421a8fe31b17 Mon Sep 17 00:00:00 2001 From: Nikhil Gupta Date: Sun, 13 Dec 2020 19:12:58 -0500 Subject: [PATCH 2/3] add full path to off chain data sample Signed-off-by: Nikhil Gupta --- off_chain_data/startFabric.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/off_chain_data/startFabric.sh b/off_chain_data/startFabric.sh index fa2dedcf..e340bed5 100755 --- a/off_chain_data/startFabric.sh +++ b/off_chain_data/startFabric.sh @@ -13,7 +13,7 @@ starttime=$(date +%s) pushd ../test-network ./network.sh down ./network.sh up createChannel -ca -s couchdb -./network.sh deployCC +./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go/ -ccl go popd From 377ccb0b59d5d940d9254c8f0bc29c2942c9186e Mon Sep 17 00:00:00 2001 From: nikhil550 Date: Fri, 18 Dec 2020 08:57:26 -0500 Subject: [PATCH 3/3] Add go smart contract language to deploy commands (#393) Signed-off-by: Nikhil Gupta Co-authored-by: Nikhil Gupta --- auction/README.md | 2 +- high-throughput/startFabric.sh | 2 +- token-erc-20/README.md | 2 +- token-utxo/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/auction/README.md b/auction/README.md index 1ab0cfc9..b0fef6fb 100644 --- a/auction/README.md +++ b/auction/README.md @@ -29,7 +29,7 @@ Note that we use the `-ca` flag to deploy the network using certificate authorit Run the following command to deploy the auction smart contract. We will override the default endorsement policy to allow any channel member to create an auction without requiring an endorsement from another organization. ``` -./network.sh deployCC -ccn auction -ccp ../auction/chaincode-go/ -ccep "OR('Org1MSP.peer','Org2MSP.peer')" +./network.sh deployCC -ccn auction -ccp ../auction/chaincode-go/ -ccep "OR('Org1MSP.peer','Org2MSP.peer')" -ccl go ``` ## Install the application dependencies diff --git a/high-throughput/startFabric.sh b/high-throughput/startFabric.sh index 50fe2324..a28fe3de 100755 --- a/high-throughput/startFabric.sh +++ b/high-throughput/startFabric.sh @@ -19,7 +19,7 @@ pushd ../test-network echo "Bring up test network" ./network.sh up createChannel -ca -./network.sh deployCC -ccn bigdatacc -ccp ../high-throughput/chaincode-go/ -ccep "OR('Org1MSP.peer','Org2MSP.peer')" -cci Init +./network.sh deployCC -ccn bigdatacc -ccp ../high-throughput/chaincode-go/ -ccep "OR('Org1MSP.peer','Org2MSP.peer')" -ccl go -cci Init popd cat <