Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Invalid: Works as Expected
-
None
-
None
-
None
-
(Please add steps to reproduce)
Description
I started looking at this issue: https://jira.hyperledger.org/browse/FAB-18409
Is there a reason why `peer lifecycle chaincode package` or `peer lifecycle chaincode install` does not have (chaincode) name as a flag?
I can install chaincodes with invalid names, and only get notified of the error, when executing - `peer lifecycle chaincode approveformyorg`. I think it makes sense to validate the name from the packaging stage, and tell the end user (will prevent invalid chaincode to be installed on the peers).
Attachments
Issue Links
- relates to
-
FAB-18409 Verify chaincode name user passes into service discovery endorsement query
-
- Backlog
-