Я в настоящее время следую за hyperledger fabri c документом v1.4.6, чтобы построить первую сеть (https://hyperledger-fabric.readthedocs.io/en/release-1.4/build_network.html#manually -произвести артефакты )
Сначала я отключил сеть с ./byfn.sh и попытался создать сеть. Однако, когда я go в docker cli и выполняю
peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
, это создает ошибку, говорящую
InitCmd -> ERRO 001 Cannot run peer because cannot init crypto, folder "/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp" does not exist
Так что я попытался снова с сетью (./byfn.sh вверх) теперь с той же процедурой он создает другую ошибку, говоря
Error: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'mychannel': error authorizing update: error validating ReadSet: proposed update requires that key [Group] /Channel/Application/Org1MSP be at version 0, but it is currently at version 1
по той же команде
Во-первых, я не уверен, должна ли сеть работать или не работать и второе, как решить проблему. Спасибо