Hyperledger V1.0 Endorsement policies Failing for AND Condition -


i trying hyperledger fabric-samples/first-network sample. working 3 nodes. testing different endorsement policies while instantiating chaincode. instantiation successful. however, when invoke chaincode, failing. 1 or condition working.

here list of options tried output result.

  • -p "or ('org1msp.member', 'org2msp.member','org3msp.member'))" -response success
  • -p "or ('org1msp.member', and('org2msp.member','org3msp.member'))" -response failed
  • -p "and ('org1msp.member','org2msp.member','org3msp.member')" -response status failed
  • -p "or ('org1msp.member','org3msp.member'))" -response failed
  • -p "and ('org1msp.member','org3msp.member'))" -response failed

please me in solving endorsement policy issue.

for endorsement policies require signatures n peers, have first collect signatures peers , submit tx.

the hyperledger fabric sdks (at least node sdk) lets that. peer cli won't.

if are using 1 of hyperledger fabric sdks, we'll need details of environment , logs debug.

hope helps!


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -