Re: Function level Endorsement Support


One option is to have these functions as separate chaincode with respective endorsement policy.


On Saturday, February 18, 2023 at 12:11:57 PM GMT+5:30, Mayank Agrawal <agrawalmayank017@...> wrote:

Is there any way/approach/suggestions to have such implementation?

On Fri, 17 Feb, 2023, 8:47 am Baohua Yang, <yangbaohua@...> wrote:
There's a key based endorsement policy:

But no method based endorsement policy now.

On Thu, Feb 16, 2023 at 10:40 AM Mayank Agrawal <agrawalmayank017@...> wrote:
I would like to know does fabric support the functional level endorsement. 
Our network has 6 org. 
 A chaincode have 5 functions f1, f2, f3, f4, f5. 
For f1 we want endorsement policy 
AND (ORG1, Org2). 

For f2 : Endorsement policy : AND(org3) 

For f3 : Endorsement policy : AND(Org4, Org 5) 

For f4 : Endorsement  : AND(Org2 , Org3) 

For F5 : Endorsement:  AND(Org6) 

Is there any possibly that we have a feature like above. 

If yes. 
Can you please guide how it can be designed? 

If no.. Any other proposed solution. 


Best wishes!

Join { to automatically receive all group messages.