diff --git a/weaver/tests/network-setups/fabric/dev/scripts/setupCC.sh b/weaver/tests/network-setups/fabric/dev/scripts/setupCC.sh index 6e0744688e..6ef0e0dca1 100755 --- a/weaver/tests/network-setups/fabric/dev/scripts/setupCC.sh +++ b/weaver/tests/network-setups/fabric/dev/scripts/setupCC.sh @@ -4,7 +4,8 @@ directory=$(dirname $0) -CACTI_VERSION=v2.0.0 +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +CACTI_VERSION="v$(head -n 1 $SCRIPT_DIR/../../../../../core/network/fabric-interop-cc/contracts/interop/VERSION)" TMP_PATH=$PWD/../shared/tmp CHAINCODE_PATH=$PWD/../shared/chaincode rm -rf $CHAINCODE_PATH/interop