Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FAB-18527] Discovery supports state based endorsement queries #2764

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

yacovm
Copy link
Contributor

@yacovm yacovm commented Jul 17, 2021

This commit adds support for state based endorsement queries to the discovery service.

When state based endorsement policies are passed in the chaincode call,
discovery now combines them and then requires their combinations to be satisfied as well
as the chaincode endorsement policies.

Support for chaincode calls with only state based endorsement is future work and not implemented
yet because of lack of a way to express this intent in the protobuf definition.

Change-Id: I005a6abca77061cd531888cdff544691b25d09ec
Signed-off-by: Yacov Manevich yacovm@il.ibm.com

@yacovm yacovm requested a review from a team as a code owner July 17, 2021 23:05
@yacovm yacovm force-pushed the FAB-18527 branch 5 times, most recently from 2485ca4 to 6cce177 Compare July 17, 2021 23:40
andrew-coleman
andrew-coleman previously approved these changes Jul 19, 2021
This commit adds support for state based endorsement queries to the discovery service.

When state based endorsement policies are passed in the chaincode call,
discovery now combines them and then requires their combinations to be satisfied as well
as the chaincode endorsement policies.

Support for chaincode calls with *only* state based endorsement is future work and not implemented
yet because of lack of a way to express this intent in the protobuf definition.

Change-Id: I005a6abca77061cd531888cdff544691b25d09ec
Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
@yacovm yacovm enabled auto-merge (squash) July 19, 2021 17:57
@yacovm yacovm merged commit 9a922fd into hyperledger:main Jul 19, 2021
@yacovm yacovm deleted the FAB-18527 branch July 20, 2021 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants