Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot deploy index in java version chaincode. #1148

Open
csb123452010 opened this issue Dec 14, 2023 · 0 comments
Open

Cannot deploy index in java version chaincode. #1148

csb123452010 opened this issue Dec 14, 2023 · 0 comments

Comments

@csb123452010
Copy link

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:
The index in chaincode
Deployment of chaincode is OK, but cannot find the index:
索引_basic_java_4
There are no index in db as well:
索引_basic_java_1
After I init the ledger, no index as well:
索引_basic_java_2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant