fabric-admin-sdk icon indicating copy to clipboard operation
fabric-admin-sdk copied to clipboard

chaincode package golang

Open channingduan opened this issue 3 years ago • 4 comments

channingduan avatar Feb 15 '23 03:02 channingduan

I don't think we should be spending time implementing support for the legacy (Fabric v1.x) chaincode packaging.

The Fabric v2.x chaincode packaging is a well-defined tar/gzip file structure. Tools and libraries already exist for creating tar/gzip files so I don't see a lot of value in providing explicit support for creating them in the admin SDK either.

bestbeforetoday avatar Feb 15 '23 11:02 bestbeforetoday

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 08 '23 03:06 stale[bot]

I don't think we should be spending time implementing support for the legacy (Fabric v1.x) chaincode packaging.

The Fabric v2.x chaincode packaging is a well-defined tar/gzip file structure. Tools and libraries already exist for creating tar/gzip files so I don't see a lot of value in providing explicit support for creating them in the admin SDK either.

Maybe we can consider 1 option if we really want to provide something here: A validator (func or binary) that make sure the provided tar/gzip is under well-defined file structure.

davidkhala avatar Sep 06 '23 02:09 davidkhala

Would local validation do anything different from the validation that gets done in the peer when installing a chaincode package?

bestbeforetoday avatar Sep 06 '23 15:09 bestbeforetoday

Closing this as we are not targeting the deprecated chaincode deployment mechanism, and there seems to be no end-user demand.

bestbeforetoday avatar Sep 17 '24 17:09 bestbeforetoday