-
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.
Use repeated bytes instead of repeated string for chaincode call args
This allows applications to easily pass arbitrary blobs without having to serialize them to strings. At the same time, we also consolidate the function argument to be part of the repeated bytes args. For convenience and to simplify porting of existing chaincode to the new argument format, we introduce helper functions in the shim which cast between ([][]byte) and (string, []string). Change-Id: I67562523a208727157c4767e86e1ef437e997f13 Signed-off-by: Gabor Hosszu <gabor@digitalasset.com>
- Loading branch information
Showing
34 changed files
with
361 additions
and
298 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
Oops, something went wrong.