-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-8329]Fix parameter in transaction proposal request
Some transaction proposal requests have unnecessary or missing parameters. 1. fabric-sdk-node/fabric-client/lib/Channel.js The following functions have “chainId” in request objects. However, “chainId” is not used to call sendTransactionProposal. This parameter should be removed. - queryInfo - queryBlockByHash - queryBlock - queryTransaction - queryInstantiatedChaincodes - queryByChaincode In addition, queryBlock doesn’t have the value of “signer” in ChaincodeInvokeRequest. Signer generated by previous step should be added to the request object. 2. fabric-sdk-node/test/integration/events.js fabric-sdk-node/test/integration/eventutil.js createRequest has unnecessary parameters - “channel” and “user”. These parameters should be removed. This CR fixes parameters in request objects correctly. Change-Id: I243984c7479d3a1e3a3cfdd2e1f8005983f5ab6f Signed-off-by: Yuki Kondo <[email protected]>
- Loading branch information
Showing
3 changed files
with
8 additions
and
17 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