hyperledger/caliper-benchmarks

deployment of fixed asset should include collections config as well to support private data

davidkel opened this issue · 0 comments

The original collections-config.json file was incorrectly stored with the network and not the chaincode so it has been deleted.

  • create collections-config.json file at src/fabric-api/fixed-asset and src/fabric/api/fixed-asset-base
  • update readme file for new launching to include the option -cccg ../../caliper-benchmarks/src/fabric/api/fixed-asset/collections-config.json and -cccg ../../caliper-benchmarks/src/fabric/api/fixed-asset-base/collections-config.json

collections-config.json should contain

[
    {
      "name": "CollectionOne",
      "policy": "OR('Org1MSP.member')",
      "requiredPeerCount": 0,
      "maxPeerCount": 1,
      "blockToLive": 0,
      "memberOnlyRead": false
    }
]