-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reject re-defining identical uncommitted cc def
When user attempts to update an uncommitted chaincode definition with identical content as before, endorser should fail the invocation. Otherwise, it results in an empty wset, which would be validated against LifecycleEndorsement policy by default, instead of the policy of org's own implicit collection. FAB-17371 Signed-off-by: Jay Guo <guojiannan1101@gmail.com>
- Loading branch information
Showing
2 changed files
with
48 additions
and
2 deletions.
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