-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
In CCaaS setup eventually all chaincode requests end up calling the last CCaaS container, because the chaincode connection file (my-channel1_chaincode1_0.0.1.tar.gz) is overwritten. The chaincode connection file name should probably contain peer name.
More details: #644 (comment)
As a workaround in the current version you can use the following postGenerate hook:
"hooks": {
"postGenerate": "perl -i -pe 's/\\$CHAINCODE_LABEL\\.tar\\.gz/\\${CHAINCODE_LABEL}_\\${PEER_ADDRESS%:*}.tar.gz/g' \"./fablo-target/fabric-docker/scripts/chaincode-functions.sh\""
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels