mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Switch microfab to hyperledger-labs version
full-stack-asset-transfer points to an old image that no longer exists. Point to the hyperledger-labs microfab image instead. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
parent
2fa83c957a
commit
81f3808689
1 changed files with 3 additions and 3 deletions
|
|
@ -175,7 +175,7 @@ microfab: microfab-down
|
|||
echo
|
||||
echo "Stating microfab...."
|
||||
|
||||
docker run --name microfab -p 8080:8080 --add-host host.docker.internal:host-gateway --rm -d -e MICROFAB_CONFIG="${MICROFAB_CONFIG}" ibmcom/ibp-microfab:0.0.16
|
||||
docker run --name microfab -p 8080:8080 --add-host host.docker.internal:host-gateway --rm -d -e MICROFAB_CONFIG="${MICROFAB_CONFIG}" ghcr.io/hyperledger-labs/microfab:latest
|
||||
sleep 5
|
||||
|
||||
curl -s http://console.127-0-0-1.nip.io:8080/ak/api/v1/components | weft microfab -w $CFG/_wallets -p $CFG/_gateways -m $CFG/_msp -f
|
||||
|
|
@ -225,9 +225,9 @@ debugcc:
|
|||
|
||||
set -x && peer lifecycle chaincode install asset-transfer.tgz && { set +x; } 2>/dev/null
|
||||
echo
|
||||
set -x && peer lifecycle chaincode approveformyorg --channelID mychannel --name asset-transfer -v 0 --package-id $CHAINCODE_ID --sequence 1 --connTimeout 15s && { set +x; } 2>/dev/null
|
||||
set -x && peer lifecycle chaincode approveformyorg --channelID mychannel -o orderer-api.127-0-0-1.nip.io:8080 --name asset-transfer -v 0 --package-id $CHAINCODE_ID --sequence 1 --connTimeout 15s && { set +x; } 2>/dev/null
|
||||
echo
|
||||
set -x && peer lifecycle chaincode commit --channelID mychannel --name asset-transfer -v 0 --sequence 1 --connTimeout 15s && { set +x; } 2>/dev/null
|
||||
set -x && peer lifecycle chaincode commit --channelID mychannel -o orderer-api.127-0-0-1.nip.io:8080 --name asset-transfer -v 0 --sequence 1 --connTimeout 15s && { set +x; } 2>/dev/null
|
||||
echo
|
||||
set -x && peer lifecycle chaincode querycommitted --channelID=mychannel && { set +x; } 2>/dev/null
|
||||
echo
|
||||
|
|
|
|||
Loading…
Reference in a new issue