我正在尝试将智能合约部署到Hyperledger Fabric(通过以太坊智能合约)。当我部署合同时,它可以正确部署,但是当我与智能合同的功能交互时,会出现此错误:
Failed to execute transaction: Transaction processing for endorser
[localhost:7051]: Chaincode status Code: (500) UNKNOWN. Description:
failed to execute contract: call error: SHR not yet implemented at
Object.InvalidResponse
(/home/hyperledger/node_modules/web3/lib/web3/errors.js:38:16) at
RequestManager.send
(/home/hyperledger/node_modules/web3/lib/web3/requestmanager.js:61:22)
at Eth.send [as sendTransaction]
(/home/hyperledger/node_modules/web3/lib/web3/method.js:145:58) at
SolidityFunction.sendTransaction
(/home/hyperledger/node_modules/web3/lib/web3/function.js:170:26) at
SolidityFunction.execute
(/home/hyperledger/node_modules/web3/lib/web3/function.js:256:37)
可能是什么原因造成的?