hyperledger / hyperledger/fabric-samples
Cannot deploy index in java version chaincode.
- Dominant language
- Go
- Stars
- 3k
- Forks
- 3.5k
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 6
Description
When I deploy the java version asset-transfer-private-data chaincode in test-network, the index deployment was not successful. And the go version asset-transfer-private-data chaincode is OK.
Then, I want check the reason, but there are no java-version asset-transfer-ledger-quires chaincode. So I copied the index from go-version asset-transfer-ledger-quires chaincode to go-version asset-transfer-basic chaincode and java-version asset-transfer-basic chaincode. And I changed the field in the index.
The go-version asset-transfer-basic chaincode with index is OK. However, the java-version asset-transfer-basic chaincode with index was not successful as well.
There are some figs.:
The index in chaincode:

Deployment of chaincode is OK, but cannot find the index:

There are no index in db as well:

After I init the ledger, no index as well:

Contributor guide
Assessment
This issue has not been assessed yet.