Skip to content

Commit

Permalink
fix: add the org name for scripts
Browse files Browse the repository at this point in the history
Signed-off-by: osamamagdy <[email protected]>
  • Loading branch information
osamamagdy committed Jan 17, 2025
1 parent 266287c commit d3dee26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ echo "export ORDERER_PATH=\$CONF_PATH/ordererOrganizations/example.com" >> ${ORG
echo "export CHANNEL_NAME=testchannel" >> ${ORG}.env
echo "export CORE_PEER_ADDRESS=${ADDR}" >> ${ORG}.env
echo "export CORE_PEER_ID=${PEER_ID}" >> ${ORG}.env
echo "export CORE_PEER_ORG_NAME=${ORG}" >> ${ORG}.env
echo "export CORE_PEER_LOCALMSPID=${MSP_ID}" >> ${ORG}.env
echo "export CORE_PEER_MSPCONFIGPATH=\$ORG_PATH/users/Admin@${ORG,,}.example.com/msp" >> ${ORG}.env
echo "export CORE_PEER_TLS_CERT_FILE=\$ORG_PATH/peers/${PEER_ID}/tls/server.crt" >> ${ORG}.env
Expand Down
1 change: 1 addition & 0 deletions samples/deployment/test-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export CC_NAME=echo-go
export CHANNEL_NAME=mychannel
export CORE_PEER_ADDRESS=localhost:7051
export CORE_PEER_ID=peer0.org1.example.com
export CORE_PEER_ORG_NAME=org1
export CORE_PEER_LOCALMSPID=Org1MSP
export CORE_PEER_MSPCONFIGPATH=$FPC_PATH/samples/deployment/test-network/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
export CORE_PEER_TLS_CERT_FILE=$FPC_PATH/samples/deployment/test-network/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt
Expand Down

0 comments on commit d3dee26

Please sign in to comment.