fabric-private-chaincode icon indicating copy to clipboard operation
fabric-private-chaincode copied to clipboard

Incorrect range query readset creation and validation

Open mbrandenburger opened this issue 5 years ago • 1 comments

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.

mbrandenburger avatar Sep 17 '19 19:09 mbrandenburger

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

mbrandenburger avatar Sep 17 '19 19:09 mbrandenburger