fabric-private-chaincode
fabric-private-chaincode copied to clipboard
Incorrect range query readset creation and validation
The current code for creating range query readsets inside shim.cpp
collects the result of a range query and add them. In case the result of the query is empty, nothing is added to the readset. However, this is an issue as we still need some information that the query has been performed.
See comments for more details:
https://github.com/hyperledger-labs/fabric-private-chaincode/issues/42#issuecomment-532292072
and
https://github.com/hyperledger-labs/fabric-private-chaincode/pull/159#pullrequestreview-289468144