Hyperledger Fabric: Error: could not assemble transaction: ProposalResponsePayloads do not match
自己这里的情况是在chaincode里用了加密,AES RSA等有随机数,每次对同一message加密结果会不一样(为了更加安全)。而hyperledger fabric里每个peer会执行一下chaincode,导致得到的结果不同,不deterministic,就导致proposal response do not match。smart contracts需要deterministic的output。
https://stackoverflow.com/questions/55289283/hyperledger-fabric-error-could-not-assemble-transaction-proposalresponsepaylo
https://stackoverflow.com/questions/72022612/encrypting-data-using-hyperledger-fabric-chaincode-smart-contract
https://stackoverflow.com/questions/72016916/deterministic-rsa-encryption-in-golang-how-to-get-same-result-for-a-given-mess
https://www.skcript.com/svr/end-to-end-encryption-hyperledger-fabric/

浙公网安备 33010602011771号