最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Hyperledger Fabric 3.0 java gateway problem: Error Converting *policies.ImplicitMetaPolicy - Stack Overflow

programmeradmin2浏览0评论

I am getting this problem when trying to run transactions using Java Fabric Gateway:

[policies] Convert -> ==Error Converting *policies.ImplicitMetaPolicy Policy /Channel/Application/Endorsement, err 
subpolicy number 2 type policies.rejectPolicy of policy Endorsement is not convertible

[lifecycle] Metadata -> could not convert policy for chaincode 'u-lr-chaincode' on channel mychannel-channel', err 'error converting policy with reference '/Channel/Application/Endorsement' on channel 'mychannel-channel' to SignaturePolicyEnvelope: subpolicy number 2 type policies.rejectPolicy of policy Endorsement is not convertible'

And after that...

[gateway] endorsementPlan -> PeersForEndorsement failed. error="No metadata was found for chaincode u-lr-chaincode in channel command-and-control-lr-channel" errorVerbose="No metadata was found for chaincode u-lr-chaincode in channel command-and-control-lr-channel

The network works as i can query and run chaincode transactions using peer chaincode invoke command... but not through Fabric Gateway. I recently moved to HLF 3.0 to use PBFT while also updated fabric-gateway and fabric-chaincode-shim dependencies in gradle. Any suggestions?

发布评论

评论列表(0)

  1. 暂无评论