mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 11:35:10 +00:00
bug(test-network): admin signatures added
This commit is contained in:
parent
3e4a90f01a
commit
bff88d5a48
2 changed files with 13 additions and 0 deletions
|
|
@ -44,8 +44,15 @@ infoln "Signing config transaction"
|
|||
signConfigtxAsPeerOrg 1 org5_update_in_envelope.pb
|
||||
|
||||
infoln "Submitting transaction from a different peer (peer0.org2) which also signs it"
|
||||
|
||||
setGlobals 2
|
||||
set -x
|
||||
signConfigtxAsPeerOrg 2 org5_update_in_envelope.pb
|
||||
peer channel update -f org5_update_in_envelope.pb -c ${CHANNEL_NAME} -o orderer.example.com:7050 --ordererTLSHostnameOverride orderer.example.com --tls --cafile "$ORDERER_CA"
|
||||
{ set +x; } 2>/dev/null
|
||||
|
||||
setGlobals 3
|
||||
set -x
|
||||
peer channel update -f org5_update_in_envelope.pb -c ${CHANNEL_NAME} -o orderer.example.com:7050 --ordererTLSHostnameOverride orderer.example.com --tls --cafile "$ORDERER_CA"
|
||||
{ set +x; } 2>/dev/null
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,12 @@ signConfigtxAsPeerOrg 1 org6_update_in_envelope.pb
|
|||
infoln "Submitting transaction from a different peer (peer0.org2) which also signs it"
|
||||
setGlobals 2
|
||||
set -x
|
||||
signConfigtxAsPeerOrg 2 org6_update_in_envelope.pb
|
||||
peer channel update -f org6_update_in_envelope.pb -c ${CHANNEL_NAME} -o orderer.example.com:7050 --ordererTLSHostnameOverride orderer.example.com --tls --cafile "$ORDERER_CA"
|
||||
{ set +x; } 2>/dev/null
|
||||
|
||||
setGlobals 3
|
||||
set -x
|
||||
peer channel update -f org6_update_in_envelope.pb -c ${CHANNEL_NAME} -o orderer.example.com:7050 --ordererTLSHostnameOverride orderer.example.com --tls --cafile "$ORDERER_CA"
|
||||
{ set +x; } 2>/dev/null
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue