Update chaincode path

pull/108/head
Baohua Yang 2017-11-29 20:20:01 +08:00
parent 85bbbf058a
commit 051e5d6bf5
3 changed files with 4 additions and 3 deletions

View File

@ -87,7 +87,7 @@ services:
- ./kafka/configtx.yaml:/etc/hyperledger/fabric/configtx.yaml
- ./kafka/crypto-config.yaml:/etc/hyperledger/fabric/crypto-config.yaml
- ./kafka/crypto-config:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto
- ./kafka/examples:/opt/gopath/src/github.com/hyperledger/fabric/examples
- ./kafka/examples:/opt/gopath/src/examples
## following are peer nodes ##

View File

@ -177,7 +177,8 @@ services:
- ./solo/configtx.yaml:/etc/hyperledger/fabric/configtx.yaml
- ./solo/crypto-config.yaml:/etc/hyperledger/fabric/crypto-config.yaml
- ./solo/crypto-config:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto
- ./solo/examples:/opt/gopath/src/github.com/hyperledger/fabric/examples
- ./solo/examples:/opt/gopath/src/examples
#- ./solo/examples:/opt/gopath/src/github.com/hyperledger/fabric/examples
event-listener:
extends:

View File

@ -34,7 +34,7 @@ ORG2_PEER1_URL="peer1.org2.example.com:7051"
# Chaincode related
CC_NAME="mycc"
#CC_PATH="github.com/hyperledger/fabric/examples/chaincode/go/foodchain"
CC_PATH="github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02"
CC_PATH="examples/chaincode/go/chaincode_example02"
CC_INIT_VERSION=1.0
CC_UPGRADE_VERSION=1.1