Re: Editing default signature policy for chaincode triggers error while running transactions: received discovery error:failed constructing descriptor for chaincodes. Commercial paper on Test-network #fabric-questions #fabric-chaincode #policies #fabric-endorser


Nikhil Gupta
 

You may need to use the MSP ID's of the organizations, rather than the informal names.

Try this policy: "OR('Org1MSP.peer','Org2MSP.peer')"


On Mon, Mar 29, 2021 at 8:34 AM <sangieri@...> wrote:

Hi Community,

Still facing the same issue. 

Additional log from monitordocker.sh net_test: 

"peer0.org2.example.com|2021-03-29 12:22:25.948 UTC [discovery] chaincodeQuery -> ERRO 066 Failed constructing descriptor for chaincode chaincodes:<name:"papercontract" > ,: no peer combination can satisfy the endorsement policy" 

While having two peer should be more than enough for a test policy like this: "OR('Org1.peer', 'Org2.peer')" 

Any suggestions? 

Join fabric@lists.hyperledger.org to automatically receive all group messages.