-
Notifications
You must be signed in to change notification settings - Fork 42
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
Error starting fabcar chaincode: failed to parse client key pair when inititate chaincode #1
Comments
cc must dependent with chaincode-api that supports gm发自我的华为手机-------- 原始邮件 --------发件人: csquan <notifications@github.com>日期: 2020年11月26日周四 19:05收件人: VoneChain-CS/fabric-gm <fabric-gm@noreply.github.com>抄送: Subscribed <subscribed@noreply.github.com>主 题: [VoneChain-CS/fabric-gm] Error starting fabcar chaincode: failed to parse client key pair when inititate chaincode (#1)
Has anyone test it successful?
Error starting fabcar chaincode: failed to parse client key pair when deploy cc.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
what you mean is fabric-chaincode-go must use https://github.com/VoneChain-CS/fabric-chaincode-go-gm,is right? |
My test step: |
I just want to test gm-2.2.0,is there anyway to do it? |
you can try to write chaincode in the project fabric-chaincode-go-gm. The problem you said maybe result by dependency. 发自我的华为手机-------- 原始邮件 --------发件人: csquan <notifications@github.com>日期: 2020年11月27日周五 15:32收件人: VoneChain-CS/fabric-gm <fabric-gm@noreply.github.com>抄送: VoneChain <hui.xiao@vonechain.com>, Comment <comment@noreply.github.com>主 题: Re: [VoneChain-CS/fabric-gm] Error starting fabcar chaincode: failed to parse client key pair when inititate chaincode (#1)
what you mean is fabric-chaincode-go must use https://github.com/VoneChain-CS/fabric-chaincode-go-gm,is right?
I had done above,but error still exist,maybe something other wrong..
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Try to use this chaincode. 发自我的华为手机-------- 原始邮件 --------发件人: csquan <notifications@github.com>日期: 2020年11月27日周五 16:16收件人: VoneChain-CS/fabric-gm <fabric-gm@noreply.github.com>抄送: VoneChain <hui.xiao@vonechain.com>, Comment <comment@noreply.github.com>主 题: Re: [VoneChain-CS/fabric-gm] Error starting fabcar chaincode: failed to parse client key pair when inititate chaincode (#1)
I just want to test gm-2.2.0,is there anyway to do it?
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
where should I find chaincode as you said? |
I have checkout https://github.com/VoneChain-CS/fabric-chaincode-go-gm/blob/master/go/abstore.go and chaincode is same as normal, |
See attachment of the last email I reply发自我的华为手机-------- 原始邮件 --------发件人: csquan <notifications@github.com>日期: 2020年11月27日周五 16:44收件人: VoneChain-CS/fabric-gm <fabric-gm@noreply.github.com>抄送: VoneChain <hui.xiao@vonechain.com>, Comment <comment@noreply.github.com>主 题: Re: [VoneChain-CS/fabric-gm] Error starting fabcar chaincode: failed to parse client key pair when inititate chaincode (#1)
where should I find chaincode as you said?
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
sorry,there were no attachment of the email 45 minutes ago. |
hi csquan , ERROR! Peer binary and configuration files not found.. Follow the instructions in the Fabric docs to install the Fabric Binaries: |
hi csquan, then i see fabric bin under /fabric-gm/build/bin/: and i export /fabric-gm/build/bin/ to PATH |
sorry,I forget serveral points: |
And I have another question:does anyone who done upgrade fabric-gm before? |
1, run ./network.sh deployCC first: ERROR !!! Deploying chaincode failed 2, run ./network.sh deployCC again: |
you can type docker ps -a,find cc container and checkout it log. |
还有就是 我怎么知道 chaincode 跑在国密算法环境里,而不是原始的 ecdsa? |
peer and order is defined by code. |
hi csquan, |
https://github.com/VoneChain-CS/fabric-chaincode-go-gm, it is done. |
hi csquan, |
yes, the same error: /gm/fabric-samples/test-network# docker logs -f 851859461c1a /gm/fabric-samples/test-network# docker logs b8db1ce37e21 |
the chaincode which samples use is at dir fabric-samples/chaincode/fabcar/go,and I edit fabcar.go, |
all are ok: 2020-11-28 10:53:18.375 CST [msp] SetupBCCSPKeystoreConfig -> INFO 001 bccspConfig.ProviderName---,GM |
1, don't modify fabcar.go file; |
/fabric-samples/chaincode/fabcar/go# ls -al |
thanys a lot,i will try. |
Check the content of the certificate and find whether the public key algorithm uses ecdsa. Certificate: |
请直接在QQ上联系我,谢谢!
|
Has anyone test it successful?
Error starting fabcar chaincode: failed to parse client key pair when deploy cc.
The text was updated successfully, but these errors were encountered: