GetHistoryForKey() Returns Empty Result If Called Cross-Channel In OBPCS v 18.3.3
(Doc ID 2456504.1)
Last updated on MAY 07, 2020
Applies to:Blockchain Platform Cloud Service - Version N/A and later
Information in this document applies to any platform.
Chaincode is using invokechaincode() shim method to query ledger cross-channel.
If chaincode executed to query cross-channel using InvokeChaincode() with GetHistoryForKey() shim method passed as a function argument, then it does not query cross-channel.
With invokechaincode() response returned is empty, if query using a chaincode on different channel. Expected value is returned if both chaincodes are on same channel.
Below is the Code snippet and REST API results.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document