我已按照composer / tutorials / developer-guide.html的说明操作,在操场上测试我的业务网络后,当我尝试在Fabric上部署业务网络时,收到以下错误消息。
composer network deploy -a my-network.bna -p hlfv1 -i PeerAdmin -s randomString
:: output
Deploying business network from archive: my-network.bna
Business network definition:
Identifier: my-network@0.0.1
Description: My very first Hyperledger Composer Network
events.js:160
throw er; // Unhandled 'error' event
^
Error: event message must be properly signed by an identity from the same organization as the peer: [failed deserializing event creator: [Expected MSP ID Org1MSP, received ]]
at ClientDuplexStream._emitStatusIfDone (/Users/reza/.nvm/versions/node/v6.10.3/lib/node_modules/composer-cli/node_modules/fabric-client/node_modules/grpc/src/node/src/client.js:201:19)
at ClientDuplexStream._receiveStatus (/Users/reza/.nvm/versions/node/v6.10.3/lib/node_modules/composer-cli/node_modules/fabric-client/node_modules/grpc/src/node/src/client.js:180:8)
at /Users/reza/.nvm/versions/node/v6.10.3/lib/node_modules/composer-cli/[enter image description here][1]node_modules/fabric-client/node_modules/grpc/src/node/src/client.js:649:14
我不能超越这个。
我的环境设置为:
node -v
v6.10.3
npm -v
3.10.10
composer -v
composer-cli v0.7.5
composer-admin v0.7.5
composer-client v0.7.5
composer-common v0.7.5
composer-runtime-hlfv1 v0.7.5
docker -v
Docker version 17.06.0-ce-rc4, build 29fcd5d
请让我知道我错过了什么?
答案 0 :(得分:2)
正如david_k所说,这是一个副本:
Could not deploy business network to hyperledger fabric beta using composer
您必须将Hyperledger Composer级别升级到v0.8.0或更高版本才能使用Hyperledger Fabric v1.0 beta。