Add chaincode getinstalled cmd with latest images

pull/135/head
Baohua Yang 2019-11-06 14:45:46 -08:00
parent f1930d4480
commit d7bfb263db
44 changed files with 207540 additions and 218903 deletions

View File

@ -24,7 +24,6 @@ Fabric Release | Description
[Fabric v1.0.0](v1.0.0/) | fabric v1.0.0 release.
[Fabric v0.6.0](v0.6.0/) | fabric v0.6.0 release (too old, not recommend to use).
## Getting Started
### TLDR
@ -37,7 +36,7 @@ $ export RELEASE=v1.4.3
$ cd ${RELEASE}; make setup test
```
More details are releaved below.
More details are as below.
### Pick up a fabric version

View File

@ -84,7 +84,7 @@ ready: # create/join channel, install/instantiate cc
channel_test: test_channel_create test_channel_join test_channel_list test_channel_getinfo
# chaincode related operations
cc_test: test_cc_install test_cc_approveformyorg test_cc_checkcommitreadiness test_cc_commit test_cc_querycommitted test_cc_invoke_query
cc_test: test_cc_install test_cc_queryinstalled test_cc_approveformyorg test_cc_checkcommitreadiness test_cc_commit test_cc_querycommitted test_cc_invoke_query
restart: stop start
@ -151,6 +151,10 @@ test_cc_queryinstalled: # Query the installed chaincodes
@echo "Query the installed chaincode"
@docker exec -it fabric-cli bash -c "cd /tmp; bash scripts/test_cc_queryinstalled.sh"
test_cc_getinstalled: # Get the installed chaincodes package
@echo "Get the installed chaincode package"
@docker exec -it fabric-cli bash -c "cd /tmp; bash scripts/test_cc_getinstalled.sh"
test_cc_approveformyorg: # Approve the chaincode definition
@echo "Approve the chaincode by all orgs"
@docker exec -it fabric-cli bash -c "cd /tmp; bash scripts/test_cc_approveformyorg.sh"

View File

@ -953,13 +953,13 @@
},
"signatures": [
{
"signature": "MEQCIHGVy46je6nOLErcOW+s78bLoSwoP0yh8nQsUwokvHgdAiAGnf1PIspyjW3CGU7BUMMEx5gEWX5Gi6ScJjnOl5GO1w==",
"signature": "MEQCIAyF9GgWawF9IAjR12izUijsNBvZKsas4Io26BMWrlipAiB0RDyhgOc6arNknNeGeuAjmvmFkX0dKXZ26+DKmxAMdg==",
"signature_header": {
"creator": {
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WRnaGc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==",
"mspid": "Org2MSP"
},
"nonce": "q+jcFYK5TD53/CLN1loyhsNcjHtVdfwK"
"nonce": "b7THDkajf5DSq/j6wURbuJsU7kTyL0Kq"
}
}
]
@ -969,7 +969,7 @@
"channel_id": "businesschannel",
"epoch": "0",
"extension": null,
"timestamp": "2019-10-08T16:52:12Z",
"timestamp": "2019-11-06T22:42:44Z",
"tls_cert_hash": null,
"tx_id": "",
"type": 2,
@ -980,11 +980,11 @@
"id_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNLekNDQWRHZ0F3SUJBZ0lSQU5FdnZQQ1dnQjMyZHVZcjd6VHY5eUV3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpJdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaekl1WlhoaGJYQnNaUzVqYjIwd0hoY05NVGt3TkRBeE1EZ3hOREF3V2hjTk1qa3dNekk1TURneE5EQXcKV2pCc01Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFUE1BMEdBMVVFQ3hNR1kyeHBaVzUwTVI4d0hRWURWUVFEREJaQlpHMXBia0J2CmNtY3lMbVY0WVcxd2JHVXVZMjl0TUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFaUZySkJ2UmIKcjY5Z0pOb01lak1yc1Nza1VvNUJzdTd1YnFWbGx0VGg1VUg4K08wczhFMVU5N25lY3h2S2l1a2FUa2Z3TVpEawpSSkdoVTFNOVU4UjBucU5OTUVzd0RnWURWUjBQQVFIL0JBUURBZ2VBTUF3R0ExVWRFd0VCL3dRQ01BQXdLd1lEClZSMGpCQ1F3SW9BZ2ZCbktjRmFERS9uYkxLRmlkbGZZZ0NOTWVZeFN6NEgvSDREWWltYXE0ZUF3Q2dZSUtvWkkKemowRUF3SURTQUF3UlFJaEFJckRaOVltdEM1UXhGSGVjUFU0TmFKcmxvWENOdk5DN04yM0UrNmlHTjRJQWlCdwpUTjhOZ3lDU0o1dVFJR3Q3RDltUDhUbVpwV0hmWk9Xa0VMUnBiMWRnaGc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==",
"mspid": "Org2MSP"
},
"nonce": "AOJ/IFCP8MhGBJJ03JUFzcTk9HvQrM4P"
"nonce": "BRfnyUergk07i0kTrMJZY38V2O+MAAVL"
}
}
},
"signature": "MEUCIQDxb8tU2J2jWovAGi9ALnVvt6jpoafHt6aXoPv2WB53qQIgZFaHevOyvih2q8pI9syn5QtSyPOrxDRY8F7BYvHC+Xg="
"signature": "MEUCIQCGH4KgLTUxVjP1TnCc6CX7wWc4e2OBIECTtuXjV2E5XQIgRhFK7M0RTcvVfU+Hg6iSyBIVTex20sRmAN86t34MKOQ="
}
},
"header": {
@ -992,7 +992,7 @@
"channel_id": "businesschannel",
"epoch": "0",
"extension": null,
"timestamp": "2019-10-08T16:52:12Z",
"timestamp": "2019-11-06T22:42:44Z",
"tls_cert_hash": null,
"tx_id": "",
"type": 1,
@ -1003,22 +1003,22 @@
"id_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNEVENDQWJTZ0F3SUJBZ0lSQUpCRkZSREx6NlVuNy8wd0xVa0pkeE13Q2dZSUtvWkl6ajBFQXdJd2FURUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhGREFTQmdOVkJBb1RDMlY0WVcxd2JH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5cUdTTTQ5QWdFRwpDQ3FHU000OUF3RUhBMElBQklCTWlLeG4wTFdvVmxMdjhYeGJYMUQ0NmVWTDZhOHJwVlRjZGdQZWNxOGNEcHROCjRPZ3NhSk5qcDkwaktGT3BDUE84NVdLS0tCdm9oT28rQ0JvWjhwR2pUVEJMTUE0R0ExVWREd0VCL3dRRUF3SUgKZ0RBTUJnTlZIUk1CQWY4RUFqQUFNQ3NHQTFVZEl3UWtNQ0tBSU1kNjNTOVJ2TnV5Mlh2dDZFY1lvOHVrWGoyVQo0Vys0RnJWQ0pDL2Nnbm1PTUFvR0NDcUdTTTQ5QkFNQ0EwY0FNRVFDSUFzR3lHSitkRTRGNTZxOFlVZTBXTEs2Ck4rdnNYUkhEbFJzY01DQjd5eFhhQWlBc3lKR2QwcnRYbWFlOWIzUFYvZXZKTlllZ1JRUmNQd3grWHhqUURCeGgKUVE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tChIYK5WgK1KeOCRph+DKNgJyN+LEb0gHYtC3EkcwRQIhAOi2jghmQAgVFCkCiRdaraIRaUO5Bck26u/bkAOtPInEAiA7aoU6BzDChojC0vgrScUeDIasRxjL5ayWmBvFYFJGiA==",
"CgIIAg==",
"",
"",

View File

@ -343,38 +343,38 @@
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.groups.Application.version=1
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.mod_policy=
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.version=0
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature=MEQCIHGVy46je6nOLErcOW+s78bLoSwoP0yh8nQsUwokvHgdAiAGnf1PIspyjW3CGU7BUMMEx5gEWX5Gi6ScJjnOl5GO1w==
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature=MEQCIAyF9GgWawF9IAjR12izUijsNBvZKsas4Io26BMWrlipAiB0RDyhgOc6arNknNeGeuAjmvmFkX0dKXZ26+DKmxAMdg==
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICKzCCAdGgAwIBAgIRANEvvPCWgB32duYr7zTv9yEwCgYIKoZIzj0EAwIwczEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh\nLm9yZzIuZXhhbXBsZS5jb20wHhcNMTkwNDAxMDgxNDAwWhcNMjkwMzI5MDgxNDAw\nWjBsMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEPMA0GA1UECxMGY2xpZW50MR8wHQYDVQQDDBZBZG1pbkBv\ncmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEiFrJBvRb\nr69gJNoMejMrsSskUo5Bsu7ubqVlltTh5UH8+O0s8E1U97necxvKiukaTkfwMZDk\nRJGhU1M9U8R0nqNNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYD\nVR0jBCQwIoAgfBnKcFaDE/nbLKFidlfYgCNMeYxSz4H/H4DYimaq4eAwCgYIKoZI\nzj0EAwIDSAAwRQIhAIrDZ9YmtC5QxFHecPU4NaJrloXCNvNC7N23E+6iGN4IAiBw\nTN8NgyCSJ5uQIGt7D9mP8TmZpWHfZOWkELRpb1dghg==\n-----END CERTIFICATE-----\n')
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.creator.mspid=Org2MSP
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.nonce=q+jcFYK5TD53/CLN1loyhsNcjHtVdfwK
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.nonce=b7THDkajf5DSq/j6wURbuJsU7kTyL0Kq
.data.data[0].payload.data.last_update.payload.header.channel_header.channel_id=businesschannel
.data.data[0].payload.data.last_update.payload.header.channel_header.epoch=0
.data.data[0].payload.data.last_update.payload.header.channel_header.extension=None
.data.data[0].payload.data.last_update.payload.header.channel_header.timestamp=2019-10-08T16:52:12Z
.data.data[0].payload.data.last_update.payload.header.channel_header.timestamp=2019-11-06T22:42:44Z
.data.data[0].payload.data.last_update.payload.header.channel_header.tls_cert_hash=None
.data.data[0].payload.data.last_update.payload.header.channel_header.tx_id=
.data.data[0].payload.data.last_update.payload.header.channel_header.type=2
.data.data[0].payload.data.last_update.payload.header.channel_header.version=0
.data.data[0].payload.data.last_update.payload.header.signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICKzCCAdGgAwIBAgIRANEvvPCWgB32duYr7zTv9yEwCgYIKoZIzj0EAwIwczEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh\nLm9yZzIuZXhhbXBsZS5jb20wHhcNMTkwNDAxMDgxNDAwWhcNMjkwMzI5MDgxNDAw\nWjBsMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEPMA0GA1UECxMGY2xpZW50MR8wHQYDVQQDDBZBZG1pbkBv\ncmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEiFrJBvRb\nr69gJNoMejMrsSskUo5Bsu7ubqVlltTh5UH8+O0s8E1U97necxvKiukaTkfwMZDk\nRJGhU1M9U8R0nqNNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYD\nVR0jBCQwIoAgfBnKcFaDE/nbLKFidlfYgCNMeYxSz4H/H4DYimaq4eAwCgYIKoZI\nzj0EAwIDSAAwRQIhAIrDZ9YmtC5QxFHecPU4NaJrloXCNvNC7N23E+6iGN4IAiBw\nTN8NgyCSJ5uQIGt7D9mP8TmZpWHfZOWkELRpb1dghg==\n-----END CERTIFICATE-----\n')
.data.data[0].payload.data.last_update.payload.header.signature_header.creator.mspid=Org2MSP
.data.data[0].payload.data.last_update.payload.header.signature_header.nonce=AOJ/IFCP8MhGBJJ03JUFzcTk9HvQrM4P
.data.data[0].payload.data.last_update.signature=MEUCIQDxb8tU2J2jWovAGi9ALnVvt6jpoafHt6aXoPv2WB53qQIgZFaHevOyvih2q8pI9syn5QtSyPOrxDRY8F7BYvHC+Xg=
.data.data[0].payload.data.last_update.payload.header.signature_header.nonce=BRfnyUergk07i0kTrMJZY38V2O+MAAVL
.data.data[0].payload.data.last_update.signature=MEUCIQCGH4KgLTUxVjP1TnCc6CX7wWc4e2OBIECTtuXjV2E5XQIgRhFK7M0RTcvVfU+Hg6iSyBIVTex20sRmAN86t34MKOQ=
.data.data[0].payload.header.channel_header.channel_id=businesschannel
.data.data[0].payload.header.channel_header.epoch=0
.data.data[0].payload.header.channel_header.extension=None
.data.data[0].payload.header.channel_header.timestamp=2019-10-08T16:52:12Z
.data.data[0].payload.header.channel_header.timestamp=2019-11-06T22:42:44Z
.data.data[0].payload.header.channel_header.tls_cert_hash=None
.data.data[0].payload.header.channel_header.tx_id=
.data.data[0].payload.header.channel_header.type=1
.data.data[0].payload.header.channel_header.version=0
.data.data[0].payload.header.signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICDTCCAbSgAwIBAgIRAJBFFRDLz6Un7/0wLUkJdxMwCgYIKoZIzj0EAwIwaTEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt\ncGxlLmNvbTAeFw0xOTA0MDEwODE0MDBaFw0yOTAzMjkwODE0MDBaMFkxCzAJBgNV\nBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp\nc2NvMR0wGwYDVQQDExRvcmRlcmVyMC5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEG\nCCqGSM49AwEHA0IABIBMiKxn0LWoVlLv8XxbX1D46eVL6a8rpVTcdgPecq8cDptN\n4OgsaJNjp90jKFOpCPO85WKKKBvohOo+CBoZ8pGjTTBLMA4GA1UdDwEB/wQEAwIH\ngDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIMd63S9RvNuy2Xvt6EcYo8ukXj2U\n4W+4FrVCJC/cgnmOMAoGCCqGSM49BAMCA0cAMEQCIAsGyGJ+dE4F56q8YUe0WLK6\nN+vsXRHDlRscMCB7yxXaAiAsyJGd0rtXmae9b3PV/evJNYegRQRcPwx+XxjQDBxh\nQQ==\n-----END CERTIFICATE-----\n')
.data.data[0].payload.header.signature_header.creator.mspid=OrdererMSP
.data.data[0].payload.header.signature_header.nonce=gEcfBPuhDmOM71zFdciZTyJoaBb7FroI
.data.data[0].signature=MEUCIQDg0tit7wve5gDj/V2yOHkKAYPb52Q62b1SWd9LrYHB+AIga0C0u8kni1VINZyB4vRqCWi5BOZt/iubtqOrVydU8VY=
.header.data_hash=mGS3Ct+txDxQ4x3g9ekBgfQiiz20YRHlGfJk4ghQu88=
.data.data[0].payload.header.signature_header.nonce=ALKzc3Otsgd86k1vvcEWz4wVGsL/YHvI
.data.data[0].signature=MEQCIF+J5+GtpkXasMx8+iDWSQSJWVj0u7SyRHY5Hbh+n/DYAiAgxMOaQRODP22xT5Ri/GievDliIrYhsrYHehpZhxN84A==
.header.data_hash=XQBLPyAWt7pKMLP9ue2jwutaqUOT8PFMUt9fnv55ueg=
.header.number=2
.header.previous_hash=1JmwICHH7PCw7v1ABIvxnY+oK2rPvpD7tI5cR6My1ZM=
.metadata.metadata[0]=ChEKAggCEgsKCQoDAQIDEAQYBhL9BgqyBgqVBgoKT3JkZXJlck1TUBKGBi0tLS0tQkVH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HVrWGoyVQo0Vys0RnJWQ0pDL2Nnbm1PTUFvR0NDcUdTTTQ5QkFNQ0EwY0FNRVFDSUFzR3lHSitkRTRGNTZxOFlVZTBXTEs2Ck4rdnNYUkhEbFJzY01DQjd5eFhhQWlBc3lKR2QwcnRYbWFlOWIzUFYvZXZKTlllZ1JRUmNQd3grWHhqUURCeGgKUVE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tChIYK5WgK1KeOCRph+DKNgJyN+LEb0gHYtC3EkcwRQIhAOi2jghmQAgVFCkCiRdaraIRaUO5Bck26u/bkAOtPInEAiA7aoU6BzDChojC0vgrScUeDIasRxjL5ayWmBvFYFJGiA==
.metadata.metadata[1]=CgIIAg==
.metadata.metadata[2]=
.metadata.metadata[3]=

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -62,6 +62,8 @@ done
# Hence we need to build the image locally and tag it manually
docker tag hyperledger/fabric-ccenv:$FABRIC_IMG_TAG hyperledger/fabric-ccenv:${PROJECT_VERSION}
echo "Sometimes if there's no available hyperledger/fabric-ccenv, then just retag the yeasy/hyperledger-fabric-base image to it"
pull_image hyperledger/fabric-javaenv:latest # core.yaml requires a latest tag
# fabric-baseos does not have 1.4 tag yet, but core.yaml requires a PROJECT_VERSION tag for golang run time

View File

@ -420,6 +420,40 @@ chaincodeQueryInstalled () {
verifyResult $rc "ChaincodeQueryInstalled Failed: org ${org}/peer$peer"
}
# Get the installed chaincode packages
# chaincodeGetCommitted org peer peer_url peer_tls_root_cert cc_name
chaincodeGetInstalled () {
if [ "$#" -ne 5 ]; then
echo_r "Wrong param number for chaincode get installed"
exit -1
fi
local org=$1
local peer=$2
local peer_url=$3
local peer_tls_root_cert=$4
local cc_name=$5
setEnvs $org $peer
echo "querying installed chaincode and get its package id"
peer lifecycle chaincode queryinstalled >&query.log
local label=${cc_name}
#package_id=$(grep -o "${name}_${version}:[a-z0-9]*" query.log|cut -d ":" -f 2)
package_id=$(grep -o "${label}:[a-z0-9]*" query.log)
echo "Get the installed chaincode package with id= ${package_id} on peer $peer at $peer_url "
peer lifecycle chaincode getinstalledpackage \
--peerAddresses ${peer_url} \
--tlsRootCertFiles ${peer_tls_root_cert} \
--package-id ${package_id} \
--output-directory ./ \
--connTimeout "3s"
rc=$?
[ $rc -ne 0 ] && cat log.txt
cat log.txt
verifyResult $rc "ChaincodeGetInstalled Failed: org ${org}/peer$peer"
}
# Approve the chaincode definition
# chaincodeApproveForMyOrg channel org peer peer_url peer_tls_root_cert orderer_url orderer_tls_rootcert channel name version
chaincodeApproveForMyOrg () {
@ -709,7 +743,7 @@ chaincodeInit () {
--channelID ${channel} \
--name ${name} \
--peerAddresses ${peer_url} \
--tlsRootCertFiles ${peer_org_tlsca} \
--tlsRootCertFiles ${peer_org_tlsca} \
--isInit \
-c ${args} \
>&log.txt
@ -719,7 +753,7 @@ chaincodeInit () {
--channelID ${channel} \
--name ${name} \
--peerAddresses ${peer_url} \
--tlsRootCertFiles ${peer_org_tlsca} \
--tlsRootCertFiles ${peer_org_tlsca} \
--isInit \
-c ${args} \
--tls \

View File

@ -0,0 +1,24 @@
#!/bin/bash
# Importing useful functions for cc testing
if [ -f ./func.sh ]; then
source ./func.sh
elif [ -f scripts/func.sh ]; then
source scripts/func.sh
fi
CC_NAME=${CC_NAME:-$CC_02_NAME}
## Query the installed chaincode on all peers
echo_b "=== Get Chaincode packages installed on all organizations ... ==="
for org in "${ORGS[@]}"
do
t="\${ORG${org}_PEER0_URL}" && peer_url=`eval echo $t`
t="\${ORG${org}_PEER0_TLS_ROOTCERT}" && peer_tls_rootcert=`eval echo $t`
chaincodeGetInstalled "$org" 0 ${peer_url} ${peer_tls_rootcert} ${CC_NAME}
done
echo_g "=== Get Chaincode installed packages done ==="
echo

View File

@ -893,13 +893,13 @@
},
"signatures": [
{
"signature": "MEQCIEjjl4fwkD/2Wo+W1753/XM8jZBUDW2vmcmSlCw3yjoDAiBOxnvXKcTE7cyetOJukmP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FFRREFnTklBREJGQWlFQXp2SU9RN2tWYVJ4anVjbmZEOVBCaWkyc3lHaElwc2FXNURWVXZ5ekRUNllDSUhzbgpWZGxVSzNqQnFkTVJhRTRyRTBadWZrdFIzT0F5RDM1Q1pJdWdKNzl0Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
"mspid": "Org2MSP"
},
"nonce": "84ngODfIixb7Cz0gnwkksdcz6wbyQU6k"
"nonce": "dS8CuFgZx6S2Ti/4O3xcMG9r6c8/Z3Qu"
}
}
]
@ -909,7 +909,7 @@
"channel_id": "businesschannel",
"epoch": "0",
"extension": null,
"timestamp": "2019-10-08T19:10:18Z",
"timestamp": "2019-10-22T18:16:55Z",
"tls_cert_hash": null,
"tx_id": "",
"type": 2,
@ -920,11 +920,11 @@
"id_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNLakNDQWRDZ0F3SUJBZ0lSQUlTU0RXSXpvOHlPbDd6SWo2dFFYOXd3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpJdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaekl1WlhoaGJYQnNaUzVqYjIwd0hoY05NVGt3T1RJME1EQTFPVEF3V2hjTk1qa3dPVEl4TURBMU9UQXcKV2pCck1Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFT01Bd0dBMVVFQ3hNRllXUnRhVzR4SHpBZEJnTlZCQU1NRmtGa2JXbHVRRzl5Clp6SXVaWGhoYlhCc1pTNWpiMjB3V1RBVEJnY3Foa2pPUFFJQkJnZ3Foa2pPUFFNQkJ3TkNBQVQvbG1rN2tiUG8KOFhOZjZ0bU1YY2VMV2Y3akNPeml6RFcyTDRVMC96Tko0aEtJS2hkbTY4WitzS21XeUlJVHB2TWhWd2xXdFVISgpudkFpOUpLRG5uZzZvMDB3U3pBT0JnTlZIUThCQWY4RUJBTUNCNEF3REFZRFZSMFRBUUgvQkFJd0FEQXJCZ05WCkhTTUVKREFpZ0NDT2E1WFFmOTlqVGNwZmlHL09lZUZCbFFnM0IxM2pUU0owZ1oxMXdzeTAxREFLQmdncWhrak8KUFFRREFnTklBREJGQWlFQXp2SU9RN2tWYVJ4anVjbmZEOVBCaWkyc3lHaElwc2FXNURWVXZ5ekRUNllDSUhzbgpWZGxVSzNqQnFkTVJhRTRyRTBadWZrdFIzT0F5RDM1Q1pJdWdKNzl0Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
"mspid": "Org2MSP"
},
"nonce": "zA0qsGC4wf1XuGrmI6mDQEAEAsgLCNy8"
"nonce": "H4oy/ReHe3FGsq+NUfmoq7hWpxfqOsbs"
}
}
},
"signature": "MEUCIQCdc6d1vXKShf+M4E1WBiyw1puxxtVMT/ZOtVtdUF4FUAIgf0qeF8UQshDZqKkzRdOMxF/FWzl2vfAJ/zyLUDVtwkk="
"signature": "MEUCIQCUE8Eal08DiSOHq9z1eBdCgcR68RVQ9Y7H/OQiAVLBzwIgZJUQ2HwmqwoS0Z/ObXCoCOF0ir4kvJF9CymqPG21P8E="
}
},
"header": {
@ -932,7 +932,7 @@
"channel_id": "businesschannel",
"epoch": "0",
"extension": null,
"timestamp": "2019-10-08T19:10:18Z",
"timestamp": "2019-10-22T18:16:55Z",
"tls_cert_hash": null,
"tx_id": "",
"type": 1,
@ -943,22 +943,22 @@
"id_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNEVENDQWJPZ0F3SUJBZ0lRYnRRRmtWVWtra0syNk9VSEdyVndqekFLQmdncWhrak9QUVFEQWpCcE1Rc3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H2xp7juU1cGo/2J+e9OMLPM5QIgNhxabifYCiubAmFXM5H/IMi87ozuQMWpBqPLPPJpth8="
"signature": "MEQCIBShcB/ZCDOcX/oPswud8HajPHYkbjc/+xs+4CS/ZmcDAiAyf2Rv6HTspYBi2Bhz7gVPiYc+tUClFKa1hkGvIgl0Qg=="
}
]
},
"header": {
"data_hash": "Y4vnHRXxAXULVGeHJWfgKNLyCmWQ9zhzaRdMT1m6SrY=",
"data_hash": "pHWaqIAGhi+Wx59QlyJ6TqrwNbXBUeEiXvmwoIzQxTk=",
"number": "2",
"previous_hash": "R1YtSUoB1ujodHiAQW7GF8T6aCL3/+vKRDkURKsuXUo="
"previous_hash": "6zvaNnJbz3tOI/l8EO638DWZa0sMLr/6u/rCHzlc3HA="
},
"metadata": {
"metadata": [
"ChEKAggCEgsKCQoDAQIDEAQYBhL+BgqyBgqVBgoKT3JkZXJlck1TUBKGBi0tLS0tQkVHSU4gQ0VSVElGSUNBVEUtLS0tLQpNSUlDRFRDQ0FiT2dBd0lCQWdJUWJ0UUZrVlVra2tLMjZPVUhHclZ3anpBS0JnZ3Foa2pPUFFRREFqQnBNUXN3CkNRWURWUVFHRXdKVlV6RVRNQkVHQTFVRUNCTUtRMkZzYVdadmNtNXBZVEVXTUJRR0ExVUVCeE1OVTJGdUlFWnkKWVc1amFYTmpiekVVTUJJR0ExVUVDaE1MWlhoaGJYQnNaUzVqYjIweEZ6QVZCZ05WQkFNVERtTmhMbVY0WVcxdwpiR1V1WTI5dE1CNFhEVEU1TURreU5EQXdOVGt3TUZvWERUSTVNRGt5TVRBd05Ua3dNRm93V1RFTE1Ba0dBMVVFCkJoTUNWVk14RXpBUkJnTlZCQWdUQ2tOaGJHbG1iM0p1YVdFeEZqQVVCZ05WQkFjVERWTmhiaUJHY21GdVkybHoKWTI4eEhUQWJCZ05WQkFNVEZHOXlaR1Z5WlhJd0xtVjRZVzF3YkdVdVkyOXRNRmt3RXdZSEtvWkl6ajBDQVFZSQpLb1pJemowREF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kJnTlZCQWdUQ2tOaGJHbG1iM0p1YVdFeEZqQVVCZ05WQkFjVERWTmhiaUJHY21GdVkybHoKWTI4eEhUQWJCZ05WQkFNVEZHOXlaR1Z5WlhJd0xtVjRZVzF3YkdVdVkyOXRNRmt3RXdZSEtvWkl6ajBDQVFZSQpLb1pJemowREFRY0RRZ0FFT1htb2RFVWZBRUxMMUk4QWNOdXNLek0wVWx6Y2ZnVGpIVXEyaDN5RmU4dEpDaVZzCllHTXR5d0J2NlFyaE1rQXBFeURRZ0RlVmNUWTNEZ0JXdDZsdDJLTk5NRXN3RGdZRFZSMFBBUUgvQkFRREFnZUEKTUF3R0ExVWRFd0VCL3dRQ01BQXdLd1lEVlIwakJDUXdJb0FnZzF3aExabzcrUUM0aVl0YVhxRUprTUoyUjRRWgpvWHJ2QWxSNEtTY0lvS0l3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUloQU9iVXZIakxDbWJoVXhhaXVydExBVHZVClBvRnkyL054UEFpd0VvRlpPYTdzQWlBYkJ3MEhVNm5EUUR0ZmQrTTZ4QVdqdnpjdFRYV051ZklRTnBiZnQra3IKZlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tChIYxItdq+OAjwuCxV3GQCUPONMIlTwwTHY2EkcwRQIhAKEJOw0P2UwjD3uVjstQ02Qt1eNMbJjzA/7YVqkAdS3LAiBJanazCqvkWvoN/bu54yKWRTPyRpgAfBT3BiA5O1WkfA==",
"CgIIAg==",
"",
"CgkKAwECAxAEGAY=",

View File

@ -321,38 +321,38 @@
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.groups.Application.version=1
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.mod_policy=
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.version=0
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature=MEQCIEjjl4fwkD/2Wo+W1753/XM8jZBUDW2vmcmSlCw3yjoDAiBOxnvXKcTE7cyetOJukmPlAYRAag0pITwuBldfyM2How==
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature=MEQCIHZ1W3611I1P1a7FYdsfrazbOtovT+RexZtuRRdid8YQAiBfnag+OXCmU4Oh+0JCDuHMb2iRvsgmuIolpK96OMbMOA==
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICKjCCAdCgAwIBAgIRAISSDWIzo8yOl7zIj6tQX9wwCgYIKoZIzj0EAwIwczEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh\nLm9yZzIuZXhhbXBsZS5jb20wHhcNMTkwOTI0MDA1OTAwWhcNMjkwOTIxMDA1OTAw\nWjBrMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEOMAwGA1UECxMFYWRtaW4xHzAdBgNVBAMMFkFkbWluQG9y\nZzIuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAT/lmk7kbPo\n8XNf6tmMXceLWf7jCOzizDW2L4U0/zNJ4hKIKhdm68Z+sKmWyIITpvMhVwlWtUHJ\nnvAi9JKDnng6o00wSzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADArBgNV\nHSMEJDAigCCOa5XQf99jTcpfiG/OeeFBlQg3B13jTSJ0gZ11wsy01DAKBggqhkjO\nPQQDAgNIADBFAiEAzvIOQ7kVaRxjucnfD9PBii2syGhIpsaW5DVUvyzDT6YCIHsn\nVdlUK3jBqdMRaE4rE0ZufktR3OAyD35CZIugJ79t\n-----END CERTIFICATE-----\n')
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.creator.mspid=Org2MSP
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.nonce=84ngODfIixb7Cz0gnwkksdcz6wbyQU6k
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.nonce=dS8CuFgZx6S2Ti/4O3xcMG9r6c8/Z3Qu
.data.data[0].payload.data.last_update.payload.header.channel_header.channel_id=businesschannel
.data.data[0].payload.data.last_update.payload.header.channel_header.epoch=0
.data.data[0].payload.data.last_update.payload.header.channel_header.extension=None
.data.data[0].payload.data.last_update.payload.header.channel_header.timestamp=2019-10-08T19:10:18Z
.data.data[0].payload.data.last_update.payload.header.channel_header.timestamp=2019-10-22T18:16:55Z
.data.data[0].payload.data.last_update.payload.header.channel_header.tls_cert_hash=None
.data.data[0].payload.data.last_update.payload.header.channel_header.tx_id=
.data.data[0].payload.data.last_update.payload.header.channel_header.type=2
.data.data[0].payload.data.last_update.payload.header.channel_header.version=0
.data.data[0].payload.data.last_update.payload.header.signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICKjCCAdCgAwIBAgIRAISSDWIzo8yOl7zIj6tQX9wwCgYIKoZIzj0EAwIwczEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh\nLm9yZzIuZXhhbXBsZS5jb20wHhcNMTkwOTI0MDA1OTAwWhcNMjkwOTIxMDA1OTAw\nWjBrMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEOMAwGA1UECxMFYWRtaW4xHzAdBgNVBAMMFkFkbWluQG9y\nZzIuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAT/lmk7kbPo\n8XNf6tmMXceLWf7jCOzizDW2L4U0/zNJ4hKIKhdm68Z+sKmWyIITpvMhVwlWtUHJ\nnvAi9JKDnng6o00wSzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADArBgNV\nHSMEJDAigCCOa5XQf99jTcpfiG/OeeFBlQg3B13jTSJ0gZ11wsy01DAKBggqhkjO\nPQQDAgNIADBFAiEAzvIOQ7kVaRxjucnfD9PBii2syGhIpsaW5DVUvyzDT6YCIHsn\nVdlUK3jBqdMRaE4rE0ZufktR3OAyD35CZIugJ79t\n-----END CERTIFICATE-----\n')
.data.data[0].payload.data.last_update.payload.header.signature_header.creator.mspid=Org2MSP
.data.data[0].payload.data.last_update.payload.header.signature_header.nonce=zA0qsGC4wf1XuGrmI6mDQEAEAsgLCNy8
.data.data[0].payload.data.last_update.signature=MEUCIQCdc6d1vXKShf+M4E1WBiyw1puxxtVMT/ZOtVtdUF4FUAIgf0qeF8UQshDZqKkzRdOMxF/FWzl2vfAJ/zyLUDVtwkk=
.data.data[0].payload.data.last_update.payload.header.signature_header.nonce=H4oy/ReHe3FGsq+NUfmoq7hWpxfqOsbs
.data.data[0].payload.data.last_update.signature=MEUCIQCUE8Eal08DiSOHq9z1eBdCgcR68RVQ9Y7H/OQiAVLBzwIgZJUQ2HwmqwoS0Z/ObXCoCOF0ir4kvJF9CymqPG21P8E=
.data.data[0].payload.header.channel_header.channel_id=businesschannel
.data.data[0].payload.header.channel_header.epoch=0
.data.data[0].payload.header.channel_header.extension=None
.data.data[0].payload.header.channel_header.timestamp=2019-10-08T19:10:18Z
.data.data[0].payload.header.channel_header.timestamp=2019-10-22T18:16:55Z
.data.data[0].payload.header.channel_header.tls_cert_hash=None
.data.data[0].payload.header.channel_header.tx_id=
.data.data[0].payload.header.channel_header.type=1
.data.data[0].payload.header.channel_header.version=0
.data.data[0].payload.header.signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICDTCCAbOgAwIBAgIQbtQFkVUkkkK26OUHGrVwjzAKBggqhkjOPQQDAjBpMQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xFzAVBgNVBAMTDmNhLmV4YW1w\nbGUuY29tMB4XDTE5MDkyNDAwNTkwMFoXDTI5MDkyMTAwNTkwMFowWTELMAkGA1UE\nBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lz\nY28xHTAbBgNVBAMTFG9yZGVyZXIwLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYI\nKoZIzj0DAQcDQgAEOXmodEUfAELL1I8AcNusKzM0UlzcfgTjHUq2h3yFe8tJCiVs\nYGMtywBv6QrhMkApEyDQgDeVcTY3DgBWt6lt2KNNMEswDgYDVR0PAQH/BAQDAgeA\nMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgg1whLZo7+QC4iYtaXqEJkMJ2R4QZ\noXrvAlR4KScIoKIwCgYIKoZIzj0EAwIDSAAwRQIhAObUvHjLCmbhUxaiurtLATvU\nPoFy2/NxPAiwEoFZOa7sAiAbBw0HU6nDQDtfd+M6xAWjvzctTXWNufIQNpbft+kr\nfQ==\n-----END CERTIFICATE-----\n')
.data.data[0].payload.header.signature_header.creator.mspid=OrdererMSP
.data.data[0].payload.header.signature_header.nonce=use02pDPt1bv5FgOHUyfQGSOfNJbThDt
.data.data[0].signature=MEUCIQCNkp3NCQ/7ih8kNzTVQH2xp7juU1cGo/2J+e9OMLPM5QIgNhxabifYCiubAmFXM5H/IMi87ozuQMWpBqPLPPJpth8=
.header.data_hash=Y4vnHRXxAXULVGeHJWfgKNLyCmWQ9zhzaRdMT1m6SrY=
.data.data[0].payload.header.signature_header.nonce=G30/J4UBPc343/5z27tKciWsGDuNU6ZV
.data.data[0].signature=MEQCIBShcB/ZCDOcX/oPswud8HajPHYkbjc/+xs+4CS/ZmcDAiAyf2Rv6HTspYBi2Bhz7gVPiYc+tUClFKa1hkGvIgl0Qg==
.header.data_hash=pHWaqIAGhi+Wx59QlyJ6Tqrw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rQXBFeURRZ0RlVmNUWTNEZ0JXdDZsdDJLTk5NRXN3RGdZRFZSMFBBUUgvQkFRREFnZUEKTUF3R0ExVWRFd0VCL3dRQ01BQXdLd1lEVlIwakJDUXdJb0FnZzF3aExabzcrUUM0aVl0YVhxRUprTUoyUjRRWgpvWHJ2QWxSNEtTY0lvS0l3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUloQU9iVXZIakxDbWJoVXhhaXVydExBVHZVClBvRnkyL054UEFpd0VvRlpPYTdzQWlBYkJ3MEhVNm5EUUR0ZmQrTTZ4QVdqdnpjdFRYV051ZklRTnBiZnQra3IKZlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tChIYxItdq+OAjwuCxV3GQCUPONMIlTwwTHY2EkcwRQIhAKEJOw0P2UwjD3uVjstQ02Qt1eNMbJjzA/7YVqkAdS3LAiBJanazCqvkWvoN/bu54yKWRTPyRpgAfBT3BiA5O1WkfA==
.metadata.metadata[1]=CgIIAg==
.metadata.metadata[2]=
.metadata.metadata[3]=CgkKAwECAxAEGAY=

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long