Re: Inconsistent Explicit Private Data Collection in Fabric 2.0 #fabric-sdk-node #fabric-chaincode #policies
David Enyeart
See the messages from yesterday: I started the network with an explicit collection-config file consisting of three collections as follows: [ { "name": "collectionCommon", "policy": "OR('Org1MSP.member', 'Org2MSP.member')", "requiredPeerCount": 0, "maxPeerCount": 2, "blockToLive": 1000000, "memberOnlyRead": true, "memberOnlyWrite": true }, { "name": "collectionOrg1", "policy": "OR('Org1MSP.member')", "requiredPeerCount": 1, "maxPeerCount": 2, "blockToLive": 0, "memberOnlyRead": true, "memberOnlyWrite": true }, { "name": "collectionOrg2", "policy": "OR('Org2MSP.member')", "requiredPeerCount": 1, "maxPeerCount": 2, "blockToLive": 0, "memberOnlyRead": true, "memberOnlyWrite": true } ] And I followed the tutorial as per the official documentation in terms of mentioning collection-config and signature policies while launching the network. When I try to invoke data using a rest API via Fabric-sdk-node client , the transaction becomes inconsistent sometimes with the error as follows:
Any suggestions on how to overcome this? |
|