File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ outDir="."
3131cryptoConfigDir=" ${outDir} /crypto-config"
3232channelArtifactsDir=" ${outDir} /channel-artifacts"
3333packageDir=" ${outDir} /packages"
34+ mkdir packageDir
3435
3536CHAINCODE_SERVER_PORT=9999
3637
@@ -99,7 +100,9 @@ METADATA-EOF
99100# PACKAGE_ID=$(peer lifecycle chaincode calculatepackageid ${CC_NAME}.tar.gz)
100101# commenting due to the network not yet being setup to calculate package_id
101102
102- successln " Chaincode is packaged ${address} "
103+ mv $CC_NAME .tar.gz packageDir
104+ successln " Chaincode is packaged ${address} and in ${packageDir} /$CC_NAME .tar.gz"
105+
103106}
104107
105108CC_TYPE=" ccaas"
133136 packageChaincode " ${peer} "
134137done
135138
136- # echo "Store mrenclave for fpccc"
137- # echo "FPC_MRENCLAVE=${FPC_MRENCLAVE}" >> ${packageDir}/chaincode-config.properties
139+
140+ echo " Store mrenclave for fpccc"
141+ echo " FPC_MRENCLAVE=${FPC_MRENCLAVE} " >> ${packageDir} /chaincode-config.properties
Original file line number Diff line number Diff line change 6767 - mountPath : /opt/gopath/src/github.com/hyperledger/fabric-private-chaincode/
6868 name : fpc-claim
6969 workingDir : /opt/gopath/src/github.com/hyperledger/fabric/peer
70+ # nodeSelector:
71+ # kubernetes.io/arch: amd64
72+ # test to see if minikube can start a docker amd64 image even though it is running arm64
7073 restartPolicy : Always
7174 volumes :
7275 - name : fpcclient-claim3
You can’t perform that action at this time.
0 commit comments