Chaincode注册失败

问题描述 投票:0回答:1

我尝试在多主机环境上实例化nodejs链码,并导致链码注册错误。 Golang智能合约可在多个主机环境中完美运行。

错误could not assemble transaction. err propseal response was not succesful, error code 500, msg chaincode registration failed: container exiter with 127

对等记录:

2019-11-05 06:03:09.941 UTC [endorser] SimulateProposal -> ERRO 04c [mychannel][6e8f647c] failed to invoke chaincode name:"lscc" , error: container exited with 127
github.com/hyperledger/fabric/core/chaincode.(*RuntimeLauncher).Launch.func1
    /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/runtime_launcher.go:63
runtime.goexit
    /opt/go/src/runtime/asm_amd64.s:1333
chaincode registration failed

是否需要更改环境变量?

hyperledger-fabric hyperledger-chaincode chaincode
1个回答
0
投票

您需要设置CC_SRC_PATH github / chaincode /。

© www.soinside.com 2019 - 2024. All rights reserved.