Skip to content

Instantly share code, notes, and snippets.

@siddjain
Created November 16, 2018 01:12
Show Gist options
  • Save siddjain/e03b2da33b033d44e5b25deec3d58147 to your computer and use it in GitHub Desktop.
Save siddjain/e03b2da33b033d44e5b25deec3d58147 to your computer and use it in GitHub Desktop.
[2018-11-16 01:09:21.453] [DEBUG] SampleWebApp - ------>>>>>> new request for /channels/mychannel/chaincodes/mycc
[2018-11-16 01:09:21.453] [DEBUG] SampleWebApp - Decoded from JWT token: username - Jim, orgname - Org1
[2018-11-16 01:09:21.454] [DEBUG] SampleWebApp - ==================== INVOKE ON CHAINCODE ==================
[2018-11-16 01:09:21.454] [DEBUG] SampleWebApp - channelName : mychannel
[2018-11-16 01:09:21.455] [DEBUG] SampleWebApp - chaincodeName : mycc
[2018-11-16 01:09:21.455] [DEBUG] SampleWebApp - fcn : move
[2018-11-16 01:09:21.455] [DEBUG] SampleWebApp - args : a,b,10
[2018-11-16 01:09:21.456] [DEBUG] invoke-chaincode -
============ invoke transaction on channel mychannel ============
[2018-11-16 01:09:21.456] [DEBUG] Helper - getClientForOrg - ****** START Org1 Jim
[2018-11-16 01:09:21.458] [DEBUG] Helper - [NetworkConfig101.js]: constructor, network_config: {"name":"balance-transfer","x-type":"hlfv1","description":"Balance Transfer Network","version":"1.0","channels":{"mychannel":{"orderers":["orderer.example.com"],"peers":{"peer0.org1.example.com":{"endorsingPeer":true,"chaincodeQuery":true,"ledgerQuery":true,"eventSource":true},"peer1.org1.example.com":{"endorsingPeer":false,"chaincodeQuery":true,"ledgerQuery":true,"eventSource":false},"peer0.org2.example.com":{"endorsingPeer":true,"chaincodeQuery":true,"ledgerQuery":true,"eventSource":true},"peer1.org2.example.com":{"endorsingPeer":false,"chaincodeQuery":true,"ledgerQuery":true,"eventSource":false}},"chaincodes":["mycc:v0"]}},"organizations":{"Org1":{"mspid":"Org1MSP","peers":["peer0.org1.example.com","peer1.org1.example.com"],"certificateAuthorities":["ca-org1"],"adminPrivateKey":{"path":"artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8_sk"},"signedCert":{"path":"artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/[email protected]"}},"Org2":{"mspid":"Org2MSP","peers":["peer0.org2.example.com","peer1.org2.example.com"],"certificateAuthorities":["ca-org2"],"adminPrivateKey":{"path":"artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore/1995b11d6573ed3be52fcd7a5fa477bc0f183e1f5f398c8281d0ce7c2c75a076_sk"},"signedCert":{"path":"artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts/[email protected]"}}},"orderers":{"orderer.example.com":{"url":"grpcs://localhost:7050","grpcOptions":{"ssl-target-name-override":"orderer.example.com"},"tlsCACerts":{"path":"artifacts/channel/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt"}}},"peers":{"peer0.org1.example.com":{"url":"grpcs://localhost:7051","grpcOptions":{"ssl-target-name-override":"peer0.org1.example.com"},"tlsCACerts":{"path":"artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt"}},"peer1.org1.example.com":{"url":"grpcs://localhost:7056","grpcOptions":{"ssl-target-name-override":"peer1.org1.example.com"},"tlsCACerts":{"path":"artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt"}},"peer0.org2.example.com":{"url":"grpcs://localhost:8051","grpcOptions":{"ssl-target-name-override":"peer0.org2.example.com"},"tlsCACerts":{"path":"artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt"}},"peer1.org2.example.com":{"url":"grpcs://localhost:8056","eventUrl":"grpcs://localhost:8058","grpcOptions":{"ssl-target-name-override":"peer1.org2.example.com"},"tlsCACerts":{"path":"artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt"}}},"certificateAuthorities":{"ca-org1":{"url":"https://localhost:7054","httpOptions":{"verify":false},"tlsCACerts":{"path":"artifacts/channel/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem"},"registrar":[{"enrollId":"admin","enrollSecret":"adminpw"}],"caName":"ca-org1"},"ca-org2":{"url":"https://localhost:8054","httpOptions":{"verify":false},"tlsCACerts":{"path":"artifacts/channel/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem"},"registrar":[{"enrollId":"admin","enrollSecret":"adminpw"}],"caName":"ca-org2"}}}
[2018-11-16 01:09:21.461] [DEBUG] Helper - [NetworkConfig101.js]: constructor, network_config: {"name":"balance-transfer-org1","x-type":"hlfv1","description":"Balance Transfer Network - client definition for Org1","version":"1.0","client":{"organization":"Org1","credentialStore":{"path":"./fabric-client-kv-org1","cryptoStore":{"path":"/tmp/fabric-client-kv-org1"},"wallet":"wallet-name"}}}
[2018-11-16 01:09:21.461] [DEBUG] Helper - [NetworkConfig101.js]: mergeSettings - additions start
[2018-11-16 01:09:21.461] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org1
[2018-11-16 01:09:21.461] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.461] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org1
[2018-11-16 01:09:21.461] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.461] [DEBUG] Helper - [crypto_ecdsa_aes]: Hash algorithm: SHA2, hash output size: 256
[2018-11-16 01:09:21.461] [DEBUG] Helper - [crypto_ecdsa_aes]: importKey - start
[2018-11-16 01:09:21.462] [DEBUG] Helper - [crypto_ecdsa_aes]: importKey - have the key [Circular]
[2018-11-16 01:09:21.462] [DEBUG] Helper - [crypto_ecdsa_aes]: importKey - start
[2018-11-16 01:09:21.462] [DEBUG] Helper - [crypto_ecdsa_aes]: importKey - have the key [Circular]
[2018-11-16 01:09:21.462] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org1
[2018-11-16 01:09:21.462] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.463] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org1
[2018-11-16 01:09:21.463] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.463] [DEBUG] Helper - [FileKeyValueStore.js]: constructor { options:
{ path: '/home/siddjain/fabric-samples-v13/balance-transfer/fabric-client-kv-org1',
wallet: 'wallet-name',
cryptoStore: { path: '/tmp/fabric-client-kv-org1' } } }
[2018-11-16 01:09:21.463] [DEBUG] Helper - [crypto_ecdsa_aes]: Hash algorithm: SHA2, hash output size: 256
[2018-11-16 01:09:21.463] [DEBUG] Helper - [utils.CryptoKeyStore]: CryptoKeyStore, constructor - start
[2018-11-16 01:09:21.463] [DEBUG] Helper - [utils.CryptoKeyStore]: constructor, no super class specified, using config: fabric-client/lib/impl/FileKeyValueStore.js
[2018-11-16 01:09:21.464] [DEBUG] Helper - [FileKeyValueStore.js]: getValue { key: 'Jim' }
[2018-11-16 01:09:21.464] [DEBUG] Helper - [crypto_ecdsa_aes]: importKey - start
[2018-11-16 01:09:21.465] [DEBUG] Helper - [crypto_ecdsa_aes]: importKey - have the key [Circular]
[2018-11-16 01:09:21.465] [DEBUG] Helper - [utils.CryptoKeyStore]: This class requires a CryptoKeyStore to save keys, using the store: {"opts":{"path":"/tmp/fabric-client-kv-org1"}}
[2018-11-16 01:09:21.465] [DEBUG] Helper - [FileKeyValueStore.js]: constructor { options: { path: '/tmp/fabric-client-kv-org1' } }
[2018-11-16 01:09:21.465] [DEBUG] Helper - [utils.CryptoKeyStore]: _getKeyStore returning ks
[2018-11-16 01:09:21.465] [DEBUG] Helper - [FileKeyValueStore.js]: getValue { key: 'e563ed671f93d32027c0df9db382cbba9bdd91a725a431b883b37dd558b8ea81-priv' }
[2018-11-16 01:09:21.466] [DEBUG] Helper - [ecdsa/key.js]: ECDSA curve param X: df5a83620c63749a14664a90c2b6809223a7a59c7cce7c76a3ecd0e412ec80b2
[2018-11-16 01:09:21.466] [DEBUG] Helper - [ecdsa/key.js]: ECDSA curve param Y: 585e5dc91bb8977d694a60369023c4fa4e583ba976887b19dc9c226738117da2
[2018-11-16 01:09:21.466] [DEBUG] Helper - User Jim was found to be registered and enrolled
[2018-11-16 01:09:21.466] [DEBUG] Helper - getClientForOrg - ****** END Org1 Jim
[2018-11-16 01:09:21.466] [DEBUG] invoke-chaincode - Successfully got the fabric client for the organization "Org1"
[2018-11-16 01:09:21.466] [DEBUG] Helper - [NetworkConfig101.js]: getChannel - name mychannel
[2018-11-16 01:09:21.466] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.467] [DEBUG] Helper - [crypto_ecdsa_aes]: Hash algorithm: SHA2, hash output size: 256
[2018-11-16 01:09:21.542] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org1
[2018-11-16 01:09:21.542] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.543] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.543] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.544] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org1
[2018-11-16 01:09:21.545] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.545] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org1
[2018-11-16 01:09:21.546] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.546] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.546] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.547] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org1
[2018-11-16 01:09:21.547] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.547] [DEBUG] Helper - [NetworkConfig101.js]: _addPeersToChannel - peer0.org1.example.com - grpcs://localhost:7051
[2018-11-16 01:09:21.548] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.548] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org1
[2018-11-16 01:09:21.549] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.549] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.550] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.550] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org1
[2018-11-16 01:09:21.550] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.551] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org1
[2018-11-16 01:09:21.551] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.552] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.552] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.552] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org1
[2018-11-16 01:09:21.553] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.553] [DEBUG] Helper - [NetworkConfig101.js]: _addPeersToChannel - peer1.org1.example.com - grpcs://localhost:7056
[2018-11-16 01:09:21.554] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org2.example.com, channel_org: undefined
[2018-11-16 01:09:21.555] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org1
[2018-11-16 01:09:21.555] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.555] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.556] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.556] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org1
[2018-11-16 01:09:21.557] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.558] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org2
[2018-11-16 01:09:21.558] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.558] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org2.example.com, channel_org: undefined
[2018-11-16 01:09:21.559] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org2.example.com, channel_org: undefined
[2018-11-16 01:09:21.560] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org2
[2018-11-16 01:09:21.560] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.561] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org2
[2018-11-16 01:09:21.561] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.561] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org2.example.com, channel_org: undefined
[2018-11-16 01:09:21.562] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org2.example.com, channel_org: undefined
[2018-11-16 01:09:21.562] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org2
[2018-11-16 01:09:21.562] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.563] [DEBUG] Helper - [NetworkConfig101.js]: _addPeersToChannel - peer0.org2.example.com - grpcs://localhost:8051
[2018-11-16 01:09:21.563] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org2.example.com, channel_org: undefined
[2018-11-16 01:09:21.564] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org1
[2018-11-16 01:09:21.564] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.564] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.565] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org1.example.com, channel_org: undefined
[2018-11-16 01:09:21.565] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org1
[2018-11-16 01:09:21.566] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.566] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org2
[2018-11-16 01:09:21.566] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.567] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org2.example.com, channel_org: undefined
[2018-11-16 01:09:21.567] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org2.example.com, channel_org: undefined
[2018-11-16 01:09:21.567] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org2
[2018-11-16 01:09:21.568] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.568] [DEBUG] Helper - [NetworkConfig101.js]: getOrganization - name Org2
[2018-11-16 01:09:21.569] [DEBUG] Helper - [Organization.js]: Organization.const
[2018-11-16 01:09:21.569] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer0.org2.example.com, channel_org: undefined
[2018-11-16 01:09:21.569] [DEBUG] Helper - [NetworkConfig101.js]: getPeer - name peer1.org2.example.com, channel_org: undefined
[2018-11-16 01:09:21.570] [DEBUG] Helper - [NetworkConfig101.js]: getCertificateAuthority - name ca-org2
[2018-11-16 01:09:21.570] [DEBUG] Helper - [CertificateAuthority.js]: CertificateAuthority.const
[2018-11-16 01:09:21.571] [DEBUG] Helper - [NetworkConfig101.js]: _addPeersToChannel - peer1.org2.example.com - grpcs://localhost:8056
[2018-11-16 01:09:21.571] [DEBUG] Helper - [NetworkConfig101.js]: getOrderer - name orderer.example.com
[2018-11-16 01:09:21.577] [DEBUG] Helper - [crypto_ecdsa_aes]: ecdsa signature: Signature {
r: <BN: d642838cfd19c57e14d2d23d6f17858df4c6ac3920ff0f4f0afeddf96620bcad>,
s: <BN: 30d2bc58185392d6577a4d9d26f3a1aa7844a666b95782d754ed743c927205cb>,
recoveryParam: 1 }
[2018-11-16 01:10:00.789] [INFO] invoke-chaincode - invoke chaincode proposal was good
[2018-11-16 01:10:00.789] [INFO] invoke-chaincode - invoke chaincode proposal was good
[2018-11-16 01:10:00.789] [INFO] invoke-chaincode - Successfully sent Proposal and received ProposalResponse: Status - 200, message - "", metadata - "", endorsement signature: 0E!�I�
�_!m��X�"̹�&� N���4�tʿ~-�.S�u8�k{,
�-
[2018-11-16 01:10:00.790] [DEBUG] invoke-chaincode - invokeEventPromise - setting up event
[2018-11-16 01:10:00.796] [DEBUG] Helper - [crypto_ecdsa_aes]: ecdsa signature: Signature {
r: <BN: be488d492ed828c29462de4afd507b782b28cd10d6b478998bac225f856ca363>,
s: <BN: 3774f1f4be6fd12bab9685675ce90bc5bcade4932ccd1cc8aef989d660358912>,
recoveryParam: 0 }
[2018-11-16 01:10:00.802] [DEBUG] Helper - [crypto_ecdsa_aes]: ecdsa signature: Signature {
r: <BN: 5b69c76053c10920c7f8bc6b0de070554bf9478d33b4c35c7693434bf7b7ed3e>,
s: <BN: 15815a3fa48483bcdc1c0b853e539f9f54a199bebc1ee7198186bfaf0ed4c169>,
recoveryParam: 1 }
[2018-11-16 01:10:03.148] [INFO] invoke-chaincode - The chaincode invoke chaincode transaction has been committed on peer localhost:7051
[2018-11-16 01:10:03.148] [INFO] invoke-chaincode - Transaction e7a9392f9095e5792bbaf40b2cdd6785f03dbb4b0ca43cb4fd45391c3992e534 has status of VALID in blocl 2
[2018-11-16 01:10:03.148] [INFO] invoke-chaincode - The invoke chaincode transaction was valid.
[2018-11-16 01:10:03.149] [DEBUG] invoke-chaincode - ------->>> R E S P O N S E : ["The invoke chaincode transaction was valid.",{"status":"SUCCESS","info":""}]
[2018-11-16 01:10:03.149] [INFO] invoke-chaincode - Successfully sent transaction to the orderer.
[2018-11-16 01:10:03.149] [DEBUG] invoke-chaincode - Event results for event hub :localhost:7051
[2018-11-16 01:10:03.149] [DEBUG] invoke-chaincode - The invoke chaincode transaction was valid.
[2018-11-16 01:10:03.149] [INFO] invoke-chaincode - Successfully invoked the chaincode Org1 to the channel 'mychannel' for transaction ID: e7a9392f9095e5792bbaf40b2cdd6785f03dbb4b0ca43cb4fd45391c3992e534
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment