Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chaincode 开发手册2号终端部分运行chaincode命令和英文原文不对应 #27

Open
alexanderhawl opened this issue Dec 11, 2018 · 3 comments

Comments

@alexanderhawl
Copy link

中文版为:CORE_PEER_ADDRESS=peer:7051 CORE_CHAINCODE_ID_NAME=mycc:0 ./sacc
英文版为:CORE_PEER_ADDRESS=peer:7052 CORE_CHAINCODE_ID_NAME=mycc:0 ./sacc
经个人实验,英文版命令正确,中文版报错如下:
2018-12-11 14:30:51.307 UTC [shim] setupChaincodeLogging -> INFO 001 Chaincode log level not provided; defaulting to: INF O
2018-12-11 14:30:51.308 UTC [shim] setupChaincodeLogging -> INFO 002 Chaincode (build level: ) starting up ...
2018-12-11 14:30:51.317 UTC [shim] chatWithPeer -> ERRO 003 Received error from server, ending chaincode stream: rpc erro r: code = Unimplemented desc = unknown service protos.ChaincodeSupport
receive failed
github.com/hyperledger/fabric/core/chaincode/shim.chatWithPeer
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:362
github.com/hyperledger/fabric/core/chaincode/shim.Start
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:156
main.main
/opt/gopath/src/chaincode/sacc/sacc.go:94
runtime.main
/opt/go/src/runtime/proc.go:198
runtime.goexit
/opt/go/src/runtime/asm_amd64.s:2361
Error starting SimpleAsset chaincode: receive failed: rpc error: code = Unimplemented desc = unknown service protos.Chain

@JulienGuo
Copy link
Contributor

请在https://github.com/hyperledger-labs/fabric-docs-cn
提交issues

@JulienGuo
Copy link
Contributor

@alexanderhawl

@alexanderhawl
Copy link
Author

alexanderhawl commented Dec 12, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants