Skip to content

Commit

Permalink
build(weaver-testnet): refactored script and reverted dependency vers…
Browse files Browse the repository at this point in the history
…ion change

Minor refactoring in Fabric testnet launch script.
Reverting unnecessary version downgrade in Weaver relay Cargo dependencies.

Signed-off-by: VRamakrishna <vramakr2@in.ibm.com>
  • Loading branch information
VRamakrishna authored and sandeepnRES committed Sep 12, 2023
1 parent 3a177c7 commit 9974c4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions weaver/core/relay/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions weaver/tests/network-setups/fabric/dev/scripts/setupCC.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
directory=$(dirname $0)

CACTI_VERSION=v2@v2.0.0-alpha.1
CACTI_VERSION=v2.0.0-alpha.1
TMP_PATH=$PWD/../shared/tmp
CHAINCODE_PATH=$PWD/../shared/chaincode
rm -rf $CHAINCODE_PATH/interop
Expand All @@ -15,7 +15,7 @@ export GOPATH=$TMP_PATH

# Download interopcc and copy it into correct folder
go install "${INTEROPCC_MOD}@latest"
cp -r $TMP_PATH/pkg/mod/github.com/hyperledger/cacti/weaver/core/network/fabric-interop-cc/contracts/interop/$CACTI_VERSION $CHAINCODE_PATH/interop
cp -r $TMP_PATH/pkg/mod/$INTEROPCC_MOD@$CACTI_VERSION $CHAINCODE_PATH/interop
chmod -R +w $CHAINCODE_PATH/interop

# Clean tmp and Undo gopath
Expand Down

0 comments on commit 9974c4b

Please sign in to comment.