-
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-1457 Change return value of chaincode
Replace return value of chaincode form ([]byte, error) to pb.Response. So that we can define different kinds of errors. More detail could be seen at https://jira.hyperledger.org/browse/FAB-1457. Now chaincode result will pass through shim/chaincode_spoort without converting. This commit define basic Status Code(200 for success and 500 for error). More code defination and handle logic will be added in following commit. Change chaincode examples interfaces and use basic code(200/500). Change-Id: I2ace7f4f654d343874274c26847f0dac91050d26 Signed-off-by: jiangyaoguo <jiangyaoguo@gmail.com>
- Loading branch information
1 parent
230f3cc
commit a5e2d2b
Showing
52 changed files
with
976 additions
and
771 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
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
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.
a5e2d2b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has the CreateTable method been removed from version 1.0?
a5e2d2b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@WillsonKuang - yes. BTW - we generally track issues is jira.hyperledger.org these days or over on chat.hyperledger.org