-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-10577 User supplied code-package has priority
There is still cruft from v0.5/v0.6 in the chaincode package. If a user supplies a code-package with an instantiate (deploy or upgrade), this could cause the chaincode package to erroneously ignore the package on the local filesystem. This CR addresses the problem by retrieving the CDS from the filesystem first, nils out the code-package, then copies the user-init-args into it. The correct fix is to remove the notion of CDS from the chaincode package, but, that is a much longer road which should be done in the future. Change-Id: Icd418f8974c1afc07730b727775f6783763feb9d Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
- Loading branch information
Jason Yellick
committed
Jun 8, 2018
1 parent
d7656e2
commit db83887
Showing
5 changed files
with
1,280 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.